17:
How can I display the caption in mirror


oDCOCX_Exontrol1:Alignment := exCenter
oDCOCX_Exontrol1:VAlignment := exMiddle
oDCOCX_Exontrol1:Caption := "Command"
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Rotate := exHTMLMirror

16:
How can I display vertically the caption


oDCOCX_Exontrol1:Alignment := exCenter
oDCOCX_Exontrol1:VAlignment := exMiddle
oDCOCX_Exontrol1:Caption := "Command"
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Rotate := exHTMLVertical

15:
How can I display a picture on the button's face to be scaled automatically once the button is resized


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:PictureDisplay := Stretch

14:
How can I display an & ( ampersand ) in the button's caption


oDCOCX_Exontrol1:Caption := "Briana && Iasmina && Rares"

13:
How can I define my own visual appearance / style for my button


oDCOCX_Exontrol1:Style := exCustom1
oDCOCX_Exontrol1:AllowHotState := true
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Skin(exNormal,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Skin(exPushed,"c:\exontrol\images\pushed.ebn")
oDCOCX_Exontrol1:Skin(exHot,"c:\exontrol\images\hot.ebn")
oDCOCX_Exontrol1:Skin(exDisabled,"c:\exontrol\images\border.ebn")

12:
How can I display a percent bar over the control

METHOD OCX_Exontrol1Click() CLASS MainDialog
	// Click event - Occurs when the user presses and then releases the left mouse button over the control.
	oDCOCX_Exontrol1:[BackgroundExtValue,exIndexExt5,exClientExt] := "25%"
	oDCOCX_Exontrol1:[BackgroundExtValue,exIndexExt5,exTextExt] := oDCOCX_Exontrol1:[BackgroundExtValue,exIndexExt5,exClientExt]
RETURN NIL


oDCOCX_Exontrol1:Caption := "Command"
oDCOCX_Exontrol1:VAlignment := exTop
oDCOCX_Exontrol1:BackgroundExt := "bottom[4],left[4],right[4],bottom[16,pattern=0x000,frame=RGB(0,0,0)](left[50%,back=RGB(0,255,0),text=`<font ;6><sha ;;0>50%`,align=0x11,pattern=0x006,patterncolor=RGB(0,128,0),frame=RGB(0,128,0)])"
oDCOCX_Exontrol1:[BackgroundExtValue,exIndexExt5,exClientExt] := "75%"
oDCOCX_Exontrol1:[BackgroundExtValue,exIndexExt5,exTextExt] := oDCOCX_Exontrol1:[BackgroundExtValue,exIndexExt5,exClientExt]

11:
Is it possible to display an additional caption on the control's background


oDCOCX_Exontrol1:BackgroundExt := "root[text=`<font ;6>additional`,align=0x21]"
oDCOCX_Exontrol1:Caption := "Command"

10:
How can I display a pattern over the button


oDCOCX_Exontrol1:BackgroundExt := "root[pattern=0x006,patterncolor=RGB(128,128,128)]"
oDCOCX_Exontrol1:Caption := "Command"

9:
Does your control support subscript or superscript, in HTML captions


oDCOCX_Exontrol1:Caption := "Text with <font ;7><off 6><sha ;;0>subscript</off></font></sha> and <font ;7><off -6><sha ;;0>superscript</off></font></sha> support"

8:
How can I change the caption


oDCOCX_Exontrol1:Caption := "Mühle"

7:
Is it possible to specify the control's background color when disabled


oDCOCX_Exontrol1:Caption := "<fgcolor=808080>Disabled"
oDCOCX_Exontrol1:Enabled := false
oDCOCX_Exontrol1:[ForeColorState,exDisabled] := RGB(0,255,0)

6:
How can I disable the control


oDCOCX_Exontrol1:Caption := "just the button's caption"
oDCOCX_Exontrol1:Enabled := false

5:
How do I put/resize/stretch a picture on the control's background


// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")

4:
How can I change the control's font

local f as stdFont

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
f := stdFont{"StdFont"}
	f:Name := "Verdana"
	f:Size := 12
oDCOCX_Exontrol1:Font := f
oDCOCX_Exontrol1:Caption := "just the button's caption"

3:
How do I change the control's foreground color


oDCOCX_Exontrol1:Caption := "<font ;16><fgcolor=FF0000>just</fgcolor></font> the button's caption"

2:
How do I change the control's foreground color


oDCOCX_Exontrol1:ForeColor := RGB(255,0,0)
oDCOCX_Exontrol1:Caption := "just the button's caption"

1:
How do I change the control's background color


oDCOCX_Exontrol1:BackColor := RGB(255,0,0)
oDCOCX_Exontrol1:BorderWidth := 8
oDCOCX_Exontrol1:BorderHeight := 8