198
Is it possible to change the header's visual appearance (EBN)


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:BackColorHeader := 0x1000000
oDCOCX_Exontrol1:HeaderHeight := 22
oDCOCX_Exontrol1:EndUpdate()

197
Is it possible to change the header's visual appearance


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:HeaderAppearance := Etched
oDCOCX_Exontrol1:HeaderHeight := 22
oDCOCX_Exontrol1:EndUpdate()

196
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)

local var_Appearance as IAppearance

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ImageSize := 32
oDCOCX_Exontrol1:DefaultItemHeight := 36
oDCOCX_Exontrol1:HeaderHeight := oDCOCX_Exontrol1:DefaultItemHeight
oDCOCX_Exontrol1:Font:Size := 16
oDCOCX_Exontrol1:ToolTipFont:Size := oDCOCX_Exontrol1:Font:Size
oDCOCX_Exontrol1:FilterBarFont:Size := oDCOCX_Exontrol1:Font:Size
oDCOCX_Exontrol1:Indent := 26
oDCOCX_Exontrol1:DescriptionHeight := 96
oDCOCX_Exontrol1:DisplayBoolAs := exBoolCheck
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:Images("gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqNUqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwyV21cuxugwkt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TGID2XaYaxWK4oZjsVSc4KDHbETbHFi9Fo3NaaxGisew+GYc4HlCR5NAAAIIEkQJSGMOgdE4RhYDwJJsAaAYQgmPpolCWgSCiBJzjcEIAkQXIBm8d5UhOQgCDUIBDDJDhgggJgKgKYJIDSVoDk8KBFF4OohEMZgWDsYYDj4GoGmGSB2B6B5iAiBgYDsYRjGSbIJo4RgqDuIpIAoLoLmMCJGDKDJjJiLA7xqUAAgGTwYnYPoPmQCQGEKEJkEkFg9gGY44BoRoSmSSQ2EKEggHgRhShSZRJFYVoVmWCRmFKFAgGOTheheZgJgYYoYmYSYWGaF4lkMMJ0hqZpJjYbobmcCZGHKHJmjmJh0h2Z4JmYcIaE8WZ2H6H5oAoBoCiCaBKBYfdjGoJoKiKaJKDaDojmkChGgmIgpCoVoWiWaJZiSd4mmmSh2h6J5qAqBoiiiaY5iSeIpmqComiqKpqkqNouiuah6hqMIsmsSpWiuGhP1kOoumuSp2j6L5sAsBo54gKwWkaMZsgsJpKjKbJLDaRYxYWRpSjSbIZiSe41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbhFCcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA==")
oDCOCX_Exontrol1:BackColorHeader := 0x4c6c6c6
oDCOCX_Exontrol1:SelBackColor := 0x4000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,1)
oDCOCX_Exontrol1:[Background,exCursorHoverColumn] := -1
oDCOCX_Exontrol1:[Background,exHeaderFilterBarButton] := 0x4000000
oDCOCX_Exontrol1:[Background,exFooterFilterBarButton] := 0x40000ff
oDCOCX_Exontrol1:[Background,exCheckBoxState0] := 0x1000000
oDCOCX_Exontrol1:[Background,exCheckBoxState1] := 0x2000000
oDCOCX_Exontrol1:[Background,exCheckBoxState2] := 0x3000000
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(nil,nil)
oDCOCX_Exontrol1:EndUpdate()

195
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)

local var_Appearance as IAppearance

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ImageSize := 16
oDCOCX_Exontrol1:DisplayBoolAs := exBoolCheck
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:Images("gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqNUqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwyV21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+CMPo9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/kPxC0sEQfErKQK96+w28UWRI8UGvO8sTLS9r2PWmsMJTDTask3CsIbIEQRA3shOXEEAO/GclJ9FEKrrA8FRbKMXRIlb0JxCkjS1LMswhCcvuel0cv26cSMa8Ufx+2sQwhEUoSXOCjSbLcnxjKc7sdKUVyq28NtVI71P9P7JxtQEapjQ6fzfM8zPfNE2PhIsLL63E40slk5y7N89LcyU9SvMb3SdUc6VJLj5VLVLfO/PS9KzNFHUa/0XyBD0dxlS9cxhMlTRSoNXypPErWDPyfNS+MwprRNO0FD8wVVZ1AI08URwVRjtJ1WCn21QkkUrXVLVPQS/X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6H5oAoBoCiCaBKBYfdjGoJoKiKaJKDaDojmkChGgmIgpCoVoWiWaJZiSd4mmmSh2h6J5qAqBoiiiaY5iSeIpmqComiqKpqkqNouiuah6hqMIsmsSpWiuGhP1kOoumuSp2j6L5sAsBo54gKwWkaMZsgsJpKjKbJLDaRYxYWRpSjSbIZiSe41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbhFCcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA==")
oDCOCX_Exontrol1:BackColorHeader := 0x4c6c6c6
oDCOCX_Exontrol1:SelBackColor := 0x4000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,1)
oDCOCX_Exontrol1:[Background,exCursorHoverColumn] := -1
oDCOCX_Exontrol1:[Background,exHeaderFilterBarButton] := 0x4000000
oDCOCX_Exontrol1:[Background,exFooterFilterBarButton] := 0x40000ff
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(nil,nil)
oDCOCX_Exontrol1:EndUpdate()

194
How can I add property of button type

METHOD OCX_Exontrol1ModalPropertyChange(Property,Value,Cancel) CLASS MainDialog
	// ModalPropertyChange event - Fired when the properties browser is about to change a property's value using a modal dialog.
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:[Property,nil]) ))
RETURN NIL


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Button","the button is always shown",Button,nil,nil,nil)
oDCOCX_Exontrol1:Add("EditButton","show on focus only",EditButton,nil,nil,nil)
oDCOCX_Exontrol1:Add("EditPage","show on focus only",EditPage,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()

193
Is it possible to decode/view the control's Layout property
local var_Print as IExPrint

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
// Generate Source for 'ExPrint 1.0 Control Library(ExPrint.dll)' server from Tools\Automation Server...
var_Print := IExPrint{"Exontrol.Print"}
	OutputDebugString(String2Psz( var_Print:[Decode64TextW,oDCOCX_Exontrol1:Layout] ))
oDCOCX_Exontrol1:EndUpdate()

192
Does your control supports scrolling by touching the screen


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:AutoDrag := exAutoDragScrollOnShortTouch | exAutoDragScroll
oDCOCX_Exontrol1:EndUpdate()

191
If I enabled the list filter on runtime, the user can click on [x] and close the filter text. Can I disabled this action


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowMultipleValuesOnEnum := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarAlwaysVisible
oDCOCX_Exontrol1:EndUpdate()

190
Is it possible to specify a different background/foreground color for the property from the cursor, aka hot item


oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:HotBackColor := RGB(0,0,255)
oDCOCX_Exontrol1:HotForeColor := RGB(255,255,255)
oDCOCX_Exontrol1:SelBackColor := RGB(0,0,128)
oDCOCX_Exontrol1:SelForeColor := RGB(255,255,255)

189
My development environment does not have any Object,GetOcx,DefaultDispatch,GetControlUnknown,nativeObject, ... property, is there any alternative I can pass the component to PrintExt so I can get printed


oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Template := "Dim p;p = CreateObject(`Exontrol.Print`);p.PrintExt = Me;p.AutoRelease = False;p.Preview();"

188
How can I display checkboxes for flags values only

local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowMultipleValuesOnEnum := true
var_Property := oDCOCX_Exontrol1:Add("Nextevent",81,EditEnum,nil,nil,nil)
	var_Property:AddValue(1,"Option A")
	var_Property:AddValue(2,"Option B")
	var_Property:AddValue(3,"Option C")
	var_Property:AddValue(4,"Option D")
	var_Property:AddValue(16,"Flag A")
	var_Property:AddValue(32,"Flag B")
	var_Property:AddValue(64,"Flag C")
	var_Property:AddValue(128,"Flag D")
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:EndUpdate()

187
Is is possible to display a checkbox on ENUM types

local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowMultipleValuesOnEnum := true
var_Property := oDCOCX_Exontrol1:Add("Nextevent",5,EditEnum,nil,nil,nil)
	var_Property:AddValue(1,"Flag A")
	var_Property:AddValue(2,"Flag B")
	var_Property:AddValue(4,"Flag C")
	var_Property:AddValue(8,"Flag D")
	var_Property:AddValue(16,"Flag E")
oDCOCX_Exontrol1:Refresh()
oDCOCX_Exontrol1:EndUpdate()

186
Is it possible to display the full path in the EditFolder editor

local var_Property as IProperty

var_Property := oDCOCX_Exontrol1:Add("Folder","c:\",EditFolder,nil,nil,nil)
	var_Property:[Option,exEditFolderTitle] := "Current Folder"
	var_Property:[Option,exEditFolderShowEditBox] := false
	var_Property:[Option,exEditFolderShowPath] := true

185
How can I include a "New Folder" button so user can create new folders when using the EditFolder form


oDCOCX_Exontrol1:Add("Folder","",EditFolder,nil,nil,nil):[Option,exEditFolderAllowNewFolder] := true

184
Is it possible to show always the selection in the files/folders list in the EditFolder dialog

oDCOCX_Exontrol1:Add("Folder","",EditFolder,nil,nil,nil):[Option,exEditFolderNewUI] := true

183
How can I hide the editbox in the EditFolder editor


oDCOCX_Exontrol1:Add("Folder","",EditFolder,nil,nil,nil):[Option,exEditFolderShowEditBox] := false

182
How can I include the files in the in the EditFolder editor


oDCOCX_Exontrol1:Add("Folder","",EditFolder,nil,nil,nil):[Option,exEditFolderIncludeFiles] := true

181
Is it possible to change the caption in the EditFolder editor


oDCOCX_Exontrol1:Add("Folder","",EditFolder,nil,nil,nil):[Option,exEditFolderTitle] := "Select a directory..."

180
Is it possible to filter for properties that contains a specified text


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:FilterBarPrompt := "<font ;7><fgcolor=FF0000><c>Start Filtering..."
oDCOCX_Exontrol1:FilterBarPromptPattern := "back"
oDCOCX_Exontrol1:IncrementalSearch := exContains
oDCOCX_Exontrol1:EndUpdate()

179
How can I filter the properties at runtime


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:FilterBarPrompt := "<font ;7><fgcolor=FF0000><c>Start Filtering..."
oDCOCX_Exontrol1:FilterBarPromptPattern := "Back"
oDCOCX_Exontrol1:EndUpdate()

178
Is it possible to change the caption being displayed in the filter bar


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:FilterBarPrompt := "<font ;7><fgcolor=FF0000><c>Start Filtering..."
oDCOCX_Exontrol1:EndUpdate()

177
How can I enable the filter-prompt feature


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:EndUpdate()

176
How do I specify the height of the control's header bar


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:HeaderVisible := true
oDCOCX_Exontrol1:HeaderHeight := 36
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:EndUpdate()

175
Is it possible to display a checkbox for ENUM types that allow BIT combinations


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowMultipleValuesOnEnum := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Sort(true,nil)
oDCOCX_Exontrol1:FilterBarPromptVisible := exFilterBarVisible
oDCOCX_Exontrol1:FilterBarPromptPattern := "Inc"
oDCOCX_Exontrol1:EndUpdate()

174
Can I add different EditFile entries with different filters


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Text File","text.txt",EditFile,nil,nil,nil):[Option,exEditFileFilter] := "Text Files (*.txt)|*.txt"
oDCOCX_Exontrol1:Add("INI File","text.ini",EditFile,nil,nil,nil):[Option,exEditFileFilter] := "INI Files (*.ini)|*.ini"
oDCOCX_Exontrol1:EndUpdate()

173
Is it possible to expand items/entries when user types for searching properties


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:ExpandOnSearch := true
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:EndUpdate()

172
Is it possible to show ticks on the slider control

local var_Property as IProperty

oDCOCX_Exontrol1:Add("Slider",50,EditSlider,nil,nil,nil)
var_Property := oDCOCX_Exontrol1:Add("Slider w/h ticks",50,EditSlider,nil,nil,nil)
	var_Property:SliderStep := 10
	var_Property:SliderTickFrequency := 10
oDCOCX_Exontrol1:Refresh()

171
How can I edit a number between a range or interval
local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
var_Property := oDCOCX_Exontrol1:Add("Slider",50,EditSlider,nil,nil,nil)
	var_Property:Numeric := true
	var_Property:SpinStep := 0
	var_Property:SliderWidth := 0
	var_Property:SliderStep := 0
	var_Property:SliderMin := 0
	var_Property:SliderMax := 100

170
How can I edit a number between a range or interval
local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
var_Property := oDCOCX_Exontrol1:Add("Slider","0.5",EditSlider,nil,nil,nil)
	var_Property:NumericFloat := true
	var_Property:SpinStep := 0
	var_Property:SliderWidth := 0
	var_Property:SliderStep := 0
	var_Property:SliderMin := 0
	var_Property:SliderMax := 1

169
How can I add a slider or track bar editor, with a fixed size


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Slider","0.5",EditSlider,nil,nil,nil):SliderWidth := 48
oDCOCX_Exontrol1:EndUpdate()

168
How can I add a slider or track bar editor, so it covers half of the cell

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Slider","0.5",EditSlider,nil,nil,nil):SliderWidth := -50
oDCOCX_Exontrol1:EndUpdate()

167
How can I add a slider or track bar editor, so it covers the full cell


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Slider","0.5",EditSlider,nil,nil,nil):SliderWidth := -100
oDCOCX_Exontrol1:EndUpdate()

166
How can I add a spin editor within a range or interval of float numbers

local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowSpin := true
var_Property := oDCOCX_Exontrol1:Add("Slider","0.5",EditSlider,nil,nil,nil)
	var_Property:NumericFloat := true
	var_Property:SpinStep := ".01"
	var_Property:SliderWidth := 0
	var_Property:SliderMin := 0
	var_Property:SliderMax := 1
oDCOCX_Exontrol1:EndUpdate()

165
How can I add a spin editor within a range or interval of numbers

local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowSpin := true
var_Property := oDCOCX_Exontrol1:Add("Slider",10,EditSlider,nil,nil,nil)
	var_Property:Numeric := true
	var_Property:SliderWidth := 0
	var_Property:SliderMin := 5
	var_Property:SliderMax := 15
oDCOCX_Exontrol1:EndUpdate()

164
Can I use your HTML format to display a property

local var_Property,var_Property1 as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:SelBackColor := 0x1000000
oDCOCX_Exontrol1:SelForeColor := RGB(0,0,0)
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:[ColumnWidth,0] := 304
var_Property := oDCOCX_Exontrol1:Add("I1","link1",Edit,nil,nil,nil)
	var_Property:HTMLName := "<br>text<off 4>subscript</off><off -4>sup<off -4>ers</off>cript</off> icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor>"
	var_Property:Height := 128
var_Property1 := oDCOCX_Exontrol1:Add("I2","link1",Edit,nil,nil,nil)
	var_Property1:HTMLName := "<sha ;;0>antialiasing</sha> format"
oDCOCX_Exontrol1:EndUpdate()

163
How can I display I picture to a property

local var_Property,var_Property1 as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:[HTMLPicture,"pic2"] := "c:\exontrol\images\auction.gif"
var_Property := oDCOCX_Exontrol1:Add("Picture 1","link1",Edit,nil,nil,nil)
	var_Property:HTMLName := "<img>pic1</img> <b>1</b>"
	var_Property:Height := 48
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil)
var_Property1 := oDCOCX_Exontrol1:Add("Picture 2","link2",Edit,nil,nil,nil)
	var_Property1:HTMLName := "<img>pic2</img> <b>2</b>"
	var_Property1:Height := 32
oDCOCX_Exontrol1:EndUpdate()

162
How do I display an icon to a property


oDCOCX_Exontrol1:DefaultItemHeight := 18
oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:Add("I1","link1",Edit,nil,nil,nil):HTMLName := "<img>1</img> <b>1</b>"
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add("I2","link1",Edit,nil,nil,nil):HTMLName := "<img>2</img> <b>2</b>"
oDCOCX_Exontrol1:EndUpdate()

161
How do I specify the height of a property

local var_Property,var_Property1 as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:[HTMLPicture,"pic2"] := "c:\exontrol\images\auction.gif"
var_Property := oDCOCX_Exontrol1:Add("Picture 1","link1",Edit,nil,nil,nil)
	var_Property:HTMLName := "<img>pic1</img> <b>1</b>"
	var_Property:Height := 48
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil)
var_Property1 := oDCOCX_Exontrol1:Add("Picture 2","link2",Edit,nil,nil,nil)
	var_Property1:HTMLName := "<img>pic2</img> <b>2</b>"
	var_Property1:Height := 48
oDCOCX_Exontrol1:EndUpdate()

160
How do I edit a float number

local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowSpin := true
var_Property := oDCOCX_Exontrol1:Add("Edit","0.5",Edit,nil,nil,nil)
	var_Property:NumericFloat := true
	var_Property:SpinStep := "0.1"
oDCOCX_Exontrol1:EndUpdate()

159
How do I change the step for a spin


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowSpin := true
oDCOCX_Exontrol1:Add("Edit",10,Edit,nil,nil,nil):SpinStep := 10
oDCOCX_Exontrol1:EndUpdate()

158
How do I sort the items in a drop down editor

local var_Property as IProperty

var_Property := oDCOCX_Exontrol1:Add("Enum",1,EditEnum,nil,nil,nil)
	var_Property:DropDownItems := 1
	var_Property:AddValue(1,"First choice")
	var_Property:AddValue(2,"Second choice")
	var_Property:AddValue(3,"Third choice")
	var_Property:SortItems(nil,nil)
oDCOCX_Exontrol1:Refresh()

157
How do I specify the number of visible items in a drop down editor

local var_Property as IProperty

var_Property := oDCOCX_Exontrol1:Add("Enum",1,EditEnum,nil,nil,nil)
	var_Property:DropDownItems := 1
	var_Property:AddValue(1,"First choice")
	var_Property:AddValue(2,"Second choice")
	var_Property:AddValue(3,"Third choice")
oDCOCX_Exontrol1:Refresh()

156
How do I bold a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:EndUpdate()

155
How do I disable or enable a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):Enabled := false
oDCOCX_Exontrol1:EndUpdate()

154
How do I specify a tooltip for a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowTooltip := true
oDCOCX_Exontrol1:Add("ToolTip","",Edit,nil,nil,nil):ToolTip := "This is a bit of text that shows up when the user hovers the cursor"
oDCOCX_Exontrol1:EndUpdate()

153
How do I specify the masking character

local var_Property as IProperty

oDCOCX_Exontrol1:BeginUpdate()
var_Property := oDCOCX_Exontrol1:Add("Edit",12,Edit,nil,nil,nil)
	var_Property:Mask := "##"
	var_Property:MaskChar := 48
oDCOCX_Exontrol1:EndUpdate()

152
How do I specify a mask


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit",12,Edit,nil,nil,nil):Mask := "##"
oDCOCX_Exontrol1:EndUpdate()

151
How do I edit a number


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:AllowSpin := true
oDCOCX_Exontrol1:Add("Edit",15,Edit,nil,nil,nil):Numeric := true
oDCOCX_Exontrol1:EndUpdate()

150
How do I change the foreground color for a cell


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):[CellForeColor,0] := RGB(255,0,0)
oDCOCX_Exontrol1:EndUpdate()

149
How do I change the foreground color for a cell


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):[CellForeColor,1] := RGB(255,0,0)
oDCOCX_Exontrol1:EndUpdate()

148
How do I change the background color for a cell


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):[CellBackColor,0] := RGB(255,0,0)
oDCOCX_Exontrol1:EndUpdate()

147
How do I change the background color for a cell


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):[CellBackColor,1] := RGB(255,0,0)
oDCOCX_Exontrol1:EndUpdate()

146
How do I change the background color for a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):BackColor := RGB(255,0,0)
oDCOCX_Exontrol1:EndUpdate()

145
How do I change the foreground color for a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):ForeColor := RGB(255,0,0)
oDCOCX_Exontrol1:EndUpdate()

144
How do I associate an extra data to a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Color",255,EditColor,nil,nil,nil):UserData := "your data"
oDCOCX_Exontrol1:EndUpdate()

143
How do I get the caption of the property, as it is displayed in the browser


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Color",255,EditColor,nil,nil,nil):ID := 12345
oDCOCX_Exontrol1:Add(oDCOCX_Exontrol1:[Property,"Color"]:DisplayValue,"",Label,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:EndUpdate()

142
How do I get the value of the property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):ID := 12345
oDCOCX_Exontrol1:Add(oDCOCX_Exontrol1:[Property,"Edit"]:Value,"",Label,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:EndUpdate()

141
How do I make a property read only

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):Locked := true
oDCOCX_Exontrol1:EndUpdate()

140
How do I specify a description for a property


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):Description := "This is just a description"
oDCOCX_Exontrol1:SelectedProperty := IProperty{oDCOCX_Exontrol1:[Property,"Edit"]}
oDCOCX_Exontrol1:EndUpdate()

139
How do I get the identifer of the property


oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil):ID := 12345
oDCOCX_Exontrol1:Add(oDCOCX_Exontrol1:[Property,"Edit"]:ID,"",Label,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:Refresh()

138
How do I get the type of the property

oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add(oDCOCX_Exontrol1:[Property,"Edit"]:Type,"",Label,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:Refresh()

137
How do I get the name of the property


oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Add(oDCOCX_Exontrol1:[Property,"Edit"]:Name,"",Label,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:Refresh()

136
How do I select a folder


oDCOCX_Exontrol1:Add("Folder","",EditFolder,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

135
How do I select a file


oDCOCX_Exontrol1:Add("File","",EditFile,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

134
How do I slider or trackbar editor


oDCOCX_Exontrol1:Add("Slider",50,EditSlider,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

133
How do I add a button


oDCOCX_Exontrol1:Add("Button","Aaa",EditButton,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

132
How do I add a check box editor


oDCOCX_Exontrol1:Add("Check",true,EditCheck,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

131
How do I add a color editor


oDCOCX_Exontrol1:Add("Color",255,EditColorPage,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

130
How do I add a new object properties inside the control


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("MySelf 1",oDCOCX_Exontrol1,EditObject,nil,nil,nil)
oDCOCX_Exontrol1:Add("MySelf 2",oDCOCX_Exontrol1,EditObject,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()

129
How do I add a new objects inside the control


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Add("MySelf",oDCOCX_Exontrol1,EditObject,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()

128
How do I add a drop down editor with some predefined values

local var_Property as IProperty

var_Property := oDCOCX_Exontrol1:Add("DropDown","Aaa",EditDropDown,nil,nil,nil)
	var_Property:AddValue(1,"First choice")
	var_Property:AddValue(2,"Second choice")
	var_Property:AddValue(3,"Third choice")
oDCOCX_Exontrol1:Refresh()

127
How do I add a password editor


oDCOCX_Exontrol1:Add("Password","pass",EditPassword,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

126
How do I add a date picker editor


oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

125
How do I add a drop down editor with some predefined values

local var_Property as IProperty

var_Property := oDCOCX_Exontrol1:Add("Enum",1,EditEnum,nil,nil,nil)
	var_Property:AddValue(1,"First choice")
	var_Property:AddValue(2,"Second choice")
	var_Property:AddValue(3,"Third choice")
oDCOCX_Exontrol1:Refresh()

124
How do I add a boolean editor


oDCOCX_Exontrol1:Add("Boolean",true,EditBoolean,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

123
How do I add a button or a page editor


oDCOCX_Exontrol1:Add("Page","",EditPage,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

122
How do I add a picture editor


oDCOCX_Exontrol1:Add("Picture",nil,EditPicture,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

121
How do I add a font editor


oDCOCX_Exontrol1:Add("Font","Arial",EditFontName,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

120
How do I add a font editor


oDCOCX_Exontrol1:Add("Font","Arial",EditFont,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

119
How do I add a color editor


oDCOCX_Exontrol1:Add("Color",255,EditColor,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

118
How do I add an edit


oDCOCX_Exontrol1:Add("Edit","text",Edit,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

117
How do I specify the character sets being included in the font editor


oDCOCX_Exontrol1:[Option,exFontCharSet] := "0"
oDCOCX_Exontrol1:Add("Font","Arial",EditFontName,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

116
How do I show or hide the bottom scroll bar in the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateShowScroll] := false
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

115
How do highlight the "Today" date is the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateMarkToday] := true
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

114
How do I show or hide the "Today" button is the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateShowTodayButton] := false
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

113
How to specify the first day of the week in the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateFirstWeekDay] := 1
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

112
How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateWeekDays] := "Du Lu Ma Mi Jo Vi Si"
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

111
How can I change the name of the months in the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateMonths] := "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

110
Can I change the "Today" caption being displayed in the drop down date picker calendar editor


oDCOCX_Exontrol1:[Option,exDateTodayCaption] := "Azi"
oDCOCX_Exontrol1:Add("Date","1/1/2001",EditDate,nil,nil,nil)
oDCOCX_Exontrol1:Refresh()

109
How can I open the drop down editors, using a different than F4 key

oDCOCX_Exontrol1:EditOnSelect := false
oDCOCX_Exontrol1:EditOnKey := 113
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)

108
How do I display the color properties as RGB


oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:DisplayColorAs := exRGB
oDCOCX_Exontrol1:Add("Red",255,EditColor,nil,nil,nil)
oDCOCX_Exontrol1:Add("Blue",16711680,EditColor,nil,nil,nil)
oDCOCX_Exontrol1:EndUpdate()

107
How do I get the list of properties being listed as a string


oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:Add(" _ toString _ ",oDCOCX_Exontrol1:[ToString,exLiterals],EditButton,nil,nil,nil):Bold := true
oDCOCX_Exontrol1:Sort(true,nil)

106
How can I display a picture to a property


oDCOCX_Exontrol1:DefaultItemHeight := 48
oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:[HTMLPicture,"pic2"] := "c:\exontrol\images\auction.gif"
oDCOCX_Exontrol1:Add("Picture 1","link1",Edit,nil,nil,nil):HTMLName := "Pic <img>pic1</img> or <img>pic2</img>"
oDCOCX_Exontrol1:Refresh()

105
How do I show or hide the properties with multiple parameters


oDCOCX_Exontrol1:ShowMultipleParams := false
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)

104
How can I add a hyperlink or anchor element


oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:SelBackColor := oDCOCX_Exontrol1:BackColor
oDCOCX_Exontrol1:SelForeColor := oDCOCX_Exontrol1:ForeColor
oDCOCX_Exontrol1:Add("Link 1","link1",Edit,nil,nil,nil):HTMLName := "Link <a1>one</s>"
oDCOCX_Exontrol1:Refresh()

103
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it


oDCOCX_Exontrol1:SelBackColor := RGB(255,128,255)
oDCOCX_Exontrol1:[FormatAnchor,false] := "<b><u><fgcolor=880000> </fgcolor></u></b>"
oDCOCX_Exontrol1:Add("Link 1","link1",Edit,nil,nil,nil):HTMLName := "Link <a1>one</s>"
oDCOCX_Exontrol1:Refresh()

102
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions


oDCOCX_Exontrol1:SelBackColor := RGB(255,128,255)
oDCOCX_Exontrol1:[FormatAnchor,true] := "<b><u> </u></b>"
oDCOCX_Exontrol1:Add("Link 1","link1",Edit,nil,nil,nil):HTMLName := "Link <a1>one</s>"
oDCOCX_Exontrol1:Refresh()

101
How do I specify the indentation of the child items relative to their parents


oDCOCX_Exontrol1:AutoIndent := false
oDCOCX_Exontrol1:Indent := 8
oDCOCX_Exontrol1:Select(oDCOCX_Exontrol1)
oDCOCX_Exontrol1:ExpandAll()