property Schedule.Appearance as AppearanceEnum

Retrieves or sets the control's appearance.

TypeDescription
AppearanceEnum An AppearanceEnum expression that indicates the control's appearance, or a color expression whose last 7 bits in the high significant byte of the value indicates the index of the skin in the Appearance collection, being displayed as control's borders. For instance, if the Appearance = 0x1000000, indicates that the first skin object in the Appearance collection defines the control's border.  The Client object in the skin, defines the client area of the control. The list/hierarchy/chart, scrollbars are always shown in the control's client area. The skin may contain transparent objects, and so you can define round corners. The hot.ebn file contains such of objects. Use the eXButton's Skin builder to view or change this file
Use the Appearance property to specify the control's border. Use the Add method to add new skins to the control. Use the BackColor property to specify the control's background color. Use the Background(exToolTipAppearance) property indicates the visual appearance of the borders of the tooltips.

The following samples shows the control's borders using the hot.ebn file:

VBA (MS Access, Excell...)

With Schedule1
	.VisualAppearance.Add 1,"c:\exontrol\images\hot.ebn"
	.Appearance = 16777216
End With

VB6

With Schedule1
	.VisualAppearance.Add 1,"c:\exontrol\images\hot.ebn"
	.Appearance = &H1000000
End With

VB.NET

With Exschedule1
	.VisualAppearance.Add(1,"c:\exontrol\images\hot.ebn")
	.Appearance = &H1000000
End With

VB.NET for /COM

With AxSchedule1
	.VisualAppearance.Add(1,"c:\exontrol\images\hot.ebn")
	.Appearance = &H1000000
End With

C++

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSCHEDULELib' for the library: 'ExSchedule 1.0 Control Library'

	#import <ExSchedule.dll>
	using namespace EXSCHEDULELib;
*/
EXSCHEDULELib::ISchedulePtr spSchedule1 = GetDlgItem(IDC_SCHEDULE1)->GetControlUnknown();
spSchedule1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\hot.ebn");
spSchedule1->PutAppearance(EXSCHEDULELib::AppearanceEnum(0x1000000));

C++ Builder

Schedule1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\hot.ebn"));
Schedule1->Appearance = Exschedulelib_tlb::AppearanceEnum(0x1000000);

C#

exschedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\hot.ebn");
exschedule1.Appearance = (exontrol.EXSCHEDULELib.AppearanceEnum)0x1000000;

JavaScript

<OBJECT classid="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
	Schedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\hot.ebn");
	Schedule1.Appearance = 16777216;
</SCRIPT>

C# for /COM

axSchedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\hot.ebn");
axSchedule1.Appearance = (EXSCHEDULELib.AppearanceEnum)0x1000000;

X++ (Dynamics Ax 2009)

public void init()
{
	;

	super();

	exschedule1.VisualAppearance().Add(1,"c:\\exontrol\\images\\hot.ebn");
	exschedule1.Appearance(16777216);
}

Delphi 8 (.NET only)

with AxSchedule1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\hot.ebn');
	Appearance := EXSCHEDULELib.AppearanceEnum($1000000);
end

Delphi (standard)

with Schedule1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\hot.ebn');
	Appearance := EXSCHEDULELib_TLB.AppearanceEnum($1000000);
end

VFP

with thisform.Schedule1
	.VisualAppearance.Add(1,"c:\exontrol\images\hot.ebn")
	.Appearance = 16777216
endwith

dBASE Plus

local oSchedule

oSchedule = form.Activex1.nativeObject
oSchedule.VisualAppearance.Add(1,"c:\exontrol\images\hot.ebn")
oSchedule.Appearance = 16777216 /*0x1000000 | */

XBasic (Alpha Five)

Dim oSchedule as P

oSchedule = topparent:CONTROL_ACTIVEX1.activex
oSchedule.VisualAppearance.Add(1,"c:\exontrol\images\hot.ebn")
oSchedule.Appearance = 16777216 '16777216 + 

Visual Objects


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:Appearance := 0x1000000 | 

PowerBuilder

OleObject oSchedule

oSchedule = ole_1.Object
oSchedule.VisualAppearance.Add(1,"c:\exontrol\images\hot.ebn")
oSchedule.Appearance = 16777216 /*16777216 /*0x1000000*/ | */