176
How can I select an item using on its full part, not only on its icon or caption

/*
with (this.EXPLORERBARACTIVEXCONTROL1.nativeObject)
	Click = class::nativeObject_Click
endwith
*/
// Occurs when the user presses and then releases the left mouse button over the control.
function nativeObject_Click()
	oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
	? Str(oExplorerBar.ItemFromPoint(-1,-1)) 
return

local oExplorerBar,var_Group,var_Item,var_Item1

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.HighlightItemType = 19 /*exFull | exUnion*/
var_Group = oExplorerBar.Groups.Add("Group 1")
	// var_Group.AddItem("Item <b>1</b>").CaptionFormat = 1
	var_Item = var_Group.AddItem("Item <b>1</b>")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	// var_Group.AddItem("Item <b>2</b>").CaptionFormat = 1
	var_Item1 = var_Group.AddItem("Item <b>2</b>")
	with (oExplorerBar)
		TemplateDef = [dim var_Item1]
		TemplateDef = var_Item1
		Template = [var_Item1.CaptionFormat = 1]
	endwith
	var_Group.Expanded = true

175
How can I change the group's color
local oExplorerBar,var_Groups

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.BackColorGroup = 0xff
oExplorerBar.BackColorGroup2 = oExplorerBar.BackColorGroup
oExplorerBar.GroupAppearance = 0
var_Groups = oExplorerBar.Groups
	var_Groups.Add("Group 1")
	var_Groups.Add("Group 2")

174
How can remove the group's appearance
local oExplorerBar,var_Groups

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.BackColorGroup = oExplorerBar.BackColor
oExplorerBar.BackColorGroup2 = oExplorerBar.BackColor
oExplorerBar.GroupAppearance = 1
var_Groups = oExplorerBar.Groups
	var_Groups.Add("Group 1")
	var_Groups.Add("Group 2")

173
How can I align the group/item
local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.BeginUpdate()
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.Alignment = 0
	// var_Group.AddItem("Item 1").Alignment = 0
	var_Item = var_Group.AddItem("Item 1")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Alignment = 0]
	endwith
	var_Group.Expanded = true
oExplorerBar.EndUpdate()

172
Just seen the BackgroundExt property. Not sure what I can do with that

/*
with (this.EXPLORERBARACTIVEXCONTROL1.nativeObject)
	AddGroup = class::nativeObject_AddGroup
endwith
*/
// Occurs when a new group is added to collection.
function nativeObject_AddGroup(Group)
	oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
return

/*
with (this.EXPLORERBARACTIVEXCONTROL1.nativeObject)
	AddItem = class::nativeObject_AddItem
endwith
*/
// Occurs when a new item is added to a group.
function nativeObject_AddItem(Item)
	oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
return

local oExplorerBar,var_Appearance,var_Group,var_Group1,var_Group2

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.BeginUpdate()
oExplorerBar.Appearance = 0
var_Appearance = oExplorerBar.VisualAppearance
	var_Appearance.Add(1,"c:\exontrol\images\normal.ebn")
	var_Appearance.Add(2,"CP:1 48 12 -24 0")
	var_Appearance.Add(3,"c:\exontrol\images\pushed.ebn")
oExplorerBar.Template = [HTMLPicture("uk") = "c:\exontrol\images\zipdisk.gif"] // oExplorerBar.HTMLPicture("uk") = "c:\exontrol\images\zipdisk.gif"
oExplorerBar.Template = [HTMLPicture("brazil") = "c:\exontrol\images\auction.gif"] // oExplorerBar.HTMLPicture("brazil") = "c:\exontrol\images\auction.gif"
oExplorerBar.Template = [HTMLPicture("sweden") = "c:\exontrol\images\colorize.gif"] // oExplorerBar.HTMLPicture("sweden") = "c:\exontrol\images\colorize.gif"
oExplorerBar.BackColorGroup = 0x2000000
oExplorerBar.BackColorGroup2 = oExplorerBar.BackColorGroup
oExplorerBar.GroupHeight = 40
var_Group = oExplorerBar.Groups.Add("<b><font ;18><fgcolor FFFFFF><sha 0;;0>United Kingdom")
	// var_Group.BackgroundExtValue(2,4) = "<img>uk:44</img>"
	with (oExplorerBar)
		TemplateDef = [dim var_Group]
		TemplateDef = var_Group
		Template = [var_Group.BackgroundExtValue(2,4) = "<img>uk:44</img>"]
	endwith
	var_Group.AddItem("London Eye")
	var_Group.AddItem("Tower of London")
	var_Group.AddItem("Buckingham Palace")
	var_Group.AddItem("River Thames")
	var_Group.AddItem("Stonehenge")
var_Group1 = oExplorerBar.Groups.Add("<b><font ;18><fgcolor FFFFFF><sha 0;;0>Brazil")
	// var_Group1.BackgroundExtValue(2,4) = "<img>brazil:44</img>"
	with (oExplorerBar)
		TemplateDef = [dim var_Group1]
		TemplateDef = var_Group1
		Template = [var_Group1.BackgroundExtValue(2,4) = "<img>brazil:44</img>"]
	endwith
	var_Group1.AddItem("Cristo Redentor")
	var_Group1.AddItem("Copacabana")
	var_Group1.AddItem("Ipanema, Rio de Janeiro")
	var_Group1.AddItem("Iguazu Falls")
	var_Group1.AddItem("Sugarloaf Mountain")
	var_Group1.Expanded = true
var_Group2 = oExplorerBar.Groups.Add("<b><font ;18><fgcolor FFFFFF><sha 0;;0>Sweden")
	// var_Group2.BackgroundExtValue(2,4) = "<img>sweden:44</img>"
	with (oExplorerBar)
		TemplateDef = [dim var_Group2]
		TemplateDef = var_Group2
		Template = [var_Group2.BackgroundExtValue(2,4) = "<img>sweden:44</img>"]
	endwith
	var_Group2.AddItem("Gamla stan")
	var_Group2.AddItem("Vasa Museum")
	var_Group2.AddItem("Stockholm Palace")
	var_Group2.AddItem("Skansen")
	var_Group2.AddItem("Djurgården")
oExplorerBar.EndUpdate()

171
Can I specify a different colors for groups using your EBN files

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oExplorerBar.BackColorGroup = 0x1000000
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").BackColor = 0x100aabb
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.BackColor = 16820923]
endwith

170
Can I change the color of the control's border (EBN files)

local oExplorerBar

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oExplorerBar.Appearance = 27966412 /*0x1aabbc8 | exDrop*/

169
How can I make the items visible automatically, or how can I ensure an item is visible or it is shown in the control's client area
local oExplorerBar,var_Group,var_Groups

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.BeginUpdate()
oExplorerBar.GroupHeight = 48
var_Groups = oExplorerBar.Groups
	var_Groups.Add("Group 1")
	var_Groups.Add("Group 2")
	var_Groups.Add("Group 3")
	var_Groups.Add("Group 4")
	var_Groups.Add("Group 5")
	var_Groups.Add("Group 6")
	var_Groups.Add("Group 7")
	var_Groups.Add("Group 8")
	var_Groups.Add("Group 9")
	var_Groups.Add("Group 10")
	var_Groups.Add("Group 11")
	var_Group = var_Groups.Add("Group 12")
		var_Group.AddItem(Str(0))
		var_Group.AddItem(Str(1))
		var_Group.AddItem(Str(2))
oExplorerBar.EnsureVisible(11,2)
oExplorerBar.EndUpdate()

168
How can I scroll to the end of the groups

local oExplorerBar,var_Groups

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.BeginUpdate()
oExplorerBar.GroupHeight = 48
var_Groups = oExplorerBar.Groups
	var_Groups.Add("Group 1")
	var_Groups.Add("Group 2")
	var_Groups.Add("Group 3")
	var_Groups.Add("Group 4")
	var_Groups.Add("Group 5")
	var_Groups.Add("Group 6")
	var_Groups.Add("Group 7")
	var_Groups.Add("Group 8")
	var_Groups.Add("Group 9")
	var_Groups.Add("Group 10")
	var_Groups.Add("Group 11")
	var_Groups.Add("Group 12")
oExplorerBar.EnsureVisible(11)
oExplorerBar.EndUpdate()

167
How can I display an item by multiple lines

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("SingleLine")
	var_Item = var_Group.AddItem("This is bit of text that should break the lines, and so <b>multiple</b> lines are displayed")
		var_Item.Alignment = 0
		var_Item.CaptionFormat = 1
		var_Item.SingleLine = false
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

166
How can I indent an item

local oExplorerBar,var_Group,var_Item,var_Item1,var_Item2,var_Item3,var_Item4,var_Item5

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	// var_Group.AddItem("Item 1").Alignment = 0
	var_Item = var_Group.AddItem("Item 1")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Alignment = 0]
	endwith
	var_Item1 = var_Group.AddItem("Sub Item <b>1</b>")
		var_Item1.CaptionFormat = 1
		var_Item1.Alignment = 0
		var_Item1.Indent = 12
	var_Item2 = var_Group.AddItem("Sub Item <b>2</b>")
		var_Item2.CaptionFormat = 1
		var_Item2.Alignment = 0
		var_Item2.Indent = 12
	var_Item3 = var_Group.AddItem("Sub Item <b>3</b>")
		var_Item3.CaptionFormat = 1
		var_Item3.Alignment = 0
		var_Item3.Indent = 12
	var_Item4 = var_Group.AddItem("Sub Sub Item <b>3</b>")
		var_Item4.CaptionFormat = 1
		var_Item4.Alignment = 0
		var_Item4.Indent = 24
	var_Item5 = var_Group.AddItem("Item 2")
		var_Item5.Alignment = 0
	var_Group.Expanded = true

165
How can I use HTML format to display my item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("<font Tahoma;11>T</font>his is an HTML <b>item</b> assigned to a <fgcolor=FF0000>group</fgcolor>").CaptionFormat = 1
	var_Item = var_Group.AddItem("<font Tahoma;11>T</font>his is an HTML <b>item</b> assigned to a <fgcolor=FF0000>group</fgcolor>")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

164
How can I assign a tooltip to an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("ToolTip").ToolTip = "This is bit of text that should appear when the cursor hovers the <b>item</b>."
	var_Item = var_Group.AddItem("ToolTip")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.ToolTip = "This is bit of text that should appear when the cursor hovers the <b>item</b>."]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

163
How can I show or hide an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").Visible = false
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Visible = False]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

162
How can I align an icon for an item

local oExplorerBar,var_Group,var_Item,var_Item1

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Item = var_Group.AddItem("Item 1")
		var_Item.Image = 1
		var_Item.ImageAlignment = 0
	var_Item1 = var_Group.AddItem("Item 2")
		var_Item1.Image = 2
		var_Item1.ImageAlignment = 2
	var_Group.Expanded = true

161
How can I stop highlighting an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2 - no ").AllowHighLight = false
	var_Item = var_Group.AddItem("Item 2 - no ")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.AllowHighLight = False]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

160
How can I change the item's background color

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	var_Item = var_Group.AddItem("Item 2")
		var_Item.BackColor = 0xff
		var_Item.BackColor2 = 0xffffff
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

159
How can I change the item's background color

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("<bgcolor=FF0000>Item</bgcolor> 2").CaptionFormat = 1
	var_Item = var_Group.AddItem("<bgcolor=FF0000>Item</bgcolor> 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

158
How can I change the item's foreground color

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").ForeColor = 0xff
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.ForeColor = 255]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

157
How can I change the visual appearance of the item using your EBN files

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").BackColor = 0x1000000
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.BackColor = 16777216]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

156
How can I change the item's background color

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").BackColor = 0xff
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.BackColor = 255]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

155
How can I get the group of the item

local oExplorerBar,var_Group,var_Group1

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").Group.Bold = true
	var_Group1 = var_Group.AddItem("Item 2").Group
	with (oExplorerBar)
		TemplateDef = [dim var_Group1]
		TemplateDef = var_Group1
		Template = [var_Group1.Bold = True]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

154
How can I get the index of the item

local oExplorerBar,var_Group,var_Item,var_Item1,var_Item2

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Item = var_Group.AddItem("Item 1")
		var_Item.Caption = Str(var_Item.Index)
	var_Item1 = var_Group.AddItem("Item 2")
		var_Item1.Caption = Str(var_Item1.Index)
	var_Item2 = var_Group.AddItem("Item 3")
		var_Item2.Caption = Str(var_Item2.Index)
	var_Group.Expanded = true

153
How can I draw underlined an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("<u>Item</u> 2").CaptionFormat = 1
	var_Item = var_Group.AddItem("<u>Item</u> 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

152
How can I draw underlined an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").Underline = true
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Underline = True]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

151
How can I draw as strikeout an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("<s>Item</s> 2").CaptionFormat = 1
	var_Item = var_Group.AddItem("<s>Item</s> 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

150
How can I draw as strikeout an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").StrikeOut = true
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.StrikeOut = True]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

149
How can I draw as italic an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("<i>Item</i> 2").CaptionFormat = 1
	var_Item = var_Group.AddItem("<i>Item</i> 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

148
How can I draw as italic an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").Italic = true
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Italic = True]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

147
How can I add a anchor or a hyperlink

local oExplorerBar,var_Group,var_Item,var_Item1

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.HighlightItemType = 0
oExplorerBar.HandCursor = false
var_Group = oExplorerBar.Groups.Add("Group 1")
	// var_Group.AddItem("Link <a1><b>1</b></a>").CaptionFormat = 1
	var_Item = var_Group.AddItem("Link <a1><b>1</b></a>")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	// var_Group.AddItem("Link <a2><b>2</b></a>").CaptionFormat = 1
	var_Item1 = var_Group.AddItem("Link <a2><b>2</b></a>")
	with (oExplorerBar)
		TemplateDef = [dim var_Item1]
		TemplateDef = var_Item1
		Template = [var_Item1.CaptionFormat = 1]
	endwith
	var_Group.Expanded = true

146
How do I bold an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("<b>Item</a> 2").CaptionFormat = 1
	var_Item = var_Group.AddItem("<b>Item</a> 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

145
How do I bold an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").Bold = true
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Bold = True]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

144
How can I align an item

local oExplorerBar,var_Group,var_Item,var_Item1,var_Item2,var_Item3

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.ItemHeight = 28
	// var_Group.AddItem("Left",1).Alignment = 0
	var_Item = var_Group.AddItem("Left",1)
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Alignment = 0]
	endwith
	// var_Group.AddItem("Center",2).Alignment = 1
	var_Item1 = var_Group.AddItem("Center",2)
	with (oExplorerBar)
		TemplateDef = [dim var_Item1]
		TemplateDef = var_Item1
		Template = [var_Item1.Alignment = 1]
	endwith
	// var_Group.AddItem("Right",3).Alignment = 2
	var_Item2 = var_Group.AddItem("Right",3)
	with (oExplorerBar)
		TemplateDef = [dim var_Item2]
		TemplateDef = var_Item2
		Template = [var_Item2.Alignment = 2]
	endwith
	// var_Group.AddItem("Middle",1).Alignment = 4
	var_Item3 = var_Group.AddItem("Middle",1)
	with (oExplorerBar)
		TemplateDef = [dim var_Item3]
		TemplateDef = var_Item3
		Template = [var_Item3.Alignment = 4]
	endwith
	var_Group.Expanded = true

143
How can I assign some extra data to an item

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	// var_Group.AddItem("Item 1").UserData = "your data"
	var_Item = var_Group.AddItem("Item 1")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.UserData = "your data"]
	endwith
	var_Group.AddItem("Item 2")
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

142
How can I assign or display an icon for an item

local oExplorerBar,var_Group,var_Item,var_Item1,var_Item2

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Group = oExplorerBar.Groups.Add("Group 1")
	// var_Group.AddItem("Item <img>1</img> text <img>2</img>").CaptionFormat = 1
	var_Item = var_Group.AddItem("Item <img>1</img> text <img>2</img>")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.CaptionFormat = 1]
	endwith
	// var_Group.AddItem("Item 2").Image = 2
	var_Item1 = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item1]
		TemplateDef = var_Item1
		Template = [var_Item1.Image = 2]
	endwith
	// var_Group.AddItem("Item 3").Image = 3
	var_Item2 = var_Group.AddItem("Item 3")
	with (oExplorerBar)
		TemplateDef = [dim var_Item2]
		TemplateDef = var_Item2
		Template = [var_Item2.Image = 3]
	endwith
	var_Group.Expanded = true

141
How can I assign or display an icon for an item

local oExplorerBar,var_Group,var_Item,var_Item1,var_Item2

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Group = oExplorerBar.Groups.Add("Group 1")
	// var_Group.AddItem("Item 1").Image = 1
	var_Item = var_Group.AddItem("Item 1")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Image = 1]
	endwith
	// var_Group.AddItem("Item 2").Image = 2
	var_Item1 = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item1]
		TemplateDef = var_Item1
		Template = [var_Item1.Image = 2]
	endwith
	// var_Group.AddItem("Item 3").Image = 3
	var_Item2 = var_Group.AddItem("Item 3")
	with (oExplorerBar)
		TemplateDef = [dim var_Item2]
		TemplateDef = var_Item2
		Template = [var_Item2.Image = 3]
	endwith
	var_Group.Expanded = true

140
How can I assign or display an icon for an item

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1",1)
	var_Group.AddItem("Item 2",2)
	var_Group.AddItem("Item 3",3)
	var_Group.Expanded = true

139
How can I change the item's position

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	// var_Group.AddItem("Item 3").Position = 0
	var_Item = var_Group.AddItem("Item 3")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Position = 0]
	endwith
	var_Group.Expanded = true

138
How can I change the item's caption

local oExplorerBar,var_Group,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	// var_Group.AddItem("Item 2").Caption = "new caption"
	var_Item = var_Group.AddItem("Item 2")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Caption = "new caption"]
	endwith
	var_Group.AddItem("Item 3")
	var_Group.Expanded = true

137
How do I add new items

local oExplorerBar,var_Item

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("Group 1").AddItem("Item 1").Bold = true
var_Item = oExplorerBar.Groups.Add("Group 1").AddItem("Item 1")
with (oExplorerBar)
	TemplateDef = [dim var_Item]
	TemplateDef = var_Item
	Template = [var_Item.Bold = True]
endwith

136
How do I assign a group to a set in the shortcut bar

local oExplorerBar,var_Group,var_Group1,var_Group2,var_Group3

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oExplorerBar.ShowShortcutBar = true
// oExplorerBar.Groups.Add("Group 1").Shortcut = "Set <img>1</img>"
var_Group = oExplorerBar.Groups.Add("Group 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Shortcut = "Set <img>1</img>"]
endwith
// oExplorerBar.Groups.Add("Group 2").Shortcut = "Set <img>1</img>"
var_Group1 = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group1]
	TemplateDef = var_Group1
	Template = [var_Group1.Shortcut = "Set <img>1</img>"]
endwith
// oExplorerBar.Groups.Add("Group 3").Shortcut = "Set <img>2</img>"
var_Group2 = oExplorerBar.Groups.Add("Group 3")
with (oExplorerBar)
	TemplateDef = [dim var_Group2]
	TemplateDef = var_Group2
	Template = [var_Group2.Shortcut = "Set <img>2</img>"]
endwith
// oExplorerBar.Groups.Add("Group 4").Shortcut = "Set <img>2</img>"
var_Group3 = oExplorerBar.Groups.Add("Group 4")
with (oExplorerBar)
	TemplateDef = [dim var_Group3]
	TemplateDef = var_Group3
	Template = [var_Group3.Shortcut = "Set <img>2</img>"]
endwith

135
How can I show or hide the expanding or collapsing button

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1").AddItem("Item 1")
var_Group = oExplorerBar.Groups.Add("Group 2, expanding/collapsing button is missing ")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.Expanded = true
	var_Group.AllowExpand = false
oExplorerBar.Groups.Add("Group 3").AddItem("Item 1")

134
How can I avoid expanding or collapsing a group

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1").AddItem("Item 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.Expanded = true
	var_Group.AllowExpand = false
oExplorerBar.Groups.Add("Group 3").AddItem("Item 1")

133
How can I assign a tooltip to a group

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.ToolTipDelay = 1
// oExplorerBar.Groups.Add("ToolTip").ToolTip = "This is a bit of text that's shown when the cursor hovers the <b>group</b>."
var_Group = oExplorerBar.Groups.Add("ToolTip")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.ToolTip = "This is a bit of text that's shown when the cursor hovers the <b>group</b>."]
endwith

132
How can I display HTML text in the group's caption

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.GroupHeight = 44
oExplorerBar.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oExplorerBar.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oExplorerBar.Groups.Add("<img>pic1</img> <s>HTML</s> <img>1</img> <b>format</b>").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<img>pic1</img> <s>HTML</s> <img>1</img> <b>format</b>")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith

131
How can I disable scrolling the group's list when it is expanded or collapsed

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.Expanded = true
	var_Group.AllowScroll = false
oExplorerBar.Groups.Add("Group 3")

130
How can I change the group's background color ( gradient )

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.BackColor = 0xff
	var_Group.BackColor2 = 0xffffff
oExplorerBar.Groups.Add("Group 3")

129
How can I access the bounding rectangle of the group's area

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.AddItem(Str(var_Group.Top))
	var_Group.AddItem(Str(var_Group.Left))
	var_Group.AddItem(Str(var_Group.Width))
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

128
How can I expand or collapse a group

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

127
How can I specify the height of the items

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.ItemHeight = 13
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

126
How do I put a picture on the group's background
local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.Picture = oExplorerBar.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	var_Group.PictureDisplay = 2
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

125
How do I put a picture on the group's background
local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.Picture = oExplorerBar.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

124
How can I change the foreground color for items

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.ForeColorList = 0xff
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

123
How can I change the background color for the items

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
var_Group = oExplorerBar.Groups.Add("Group 2")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	var_Group.BackColorList = 0xff
	var_Group.Expanded = true
oExplorerBar.Groups.Add("Group 3")

122
How can I change the group's foreground color

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("<fgcolor=FF0000>Group</fgcolor> 2").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<fgcolor=FF0000>Group</fgcolor> 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith
oExplorerBar.Groups.Add("Group 3")

121
How can I change the group's foreground color

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").ForeColor = 0xff
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.ForeColor = 255]
endwith
oExplorerBar.Groups.Add("Group 3")

120
How can I change the group's background color

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("<bgcolor=FF0000>Group</bgcolor> 2").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<bgcolor=FF0000>Group</bgcolor> 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith
oExplorerBar.Groups.Add("Group 3")

119
How can I change the visual appearance of the group, using EBN files

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oExplorerBar.GroupAppearance = 1
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").BackColor = 0x1000000
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.BackColor = 16777216]
endwith
oExplorerBar.Groups.Add("Group 3")

118
How can I change the group's background color

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").BackColor = 0xff
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.BackColor = 255]
endwith
oExplorerBar.Groups.Add("Group 3")

117
How do I get the index of the group

local oExplorerBar,var_Group,var_Group1,var_Group2

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.Caption = Str(var_Group.Index)
var_Group1 = oExplorerBar.Groups.Add("Group 2")
	var_Group1.Caption = Str(var_Group1.Index)
var_Group2 = oExplorerBar.Groups.Add("Group 3")
	var_Group2.Caption = Str(var_Group2.Index)

116
How can I underline the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("<u>Group</u> 1").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<u>Group</u> 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith

115
How can I underline the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").Underline = true
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Underline = True]
endwith
oExplorerBar.Groups.Add("Group 3")

114
How can I show the group's name as strikeout

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("<s>Group</s> 1").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<s>Group</s> 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith

113
How can I show the group's name as strikeout

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").StrikeOut = true
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.StrikeOut = True]
endwith
oExplorerBar.Groups.Add("Group 3")

112
How can I draw as italic the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("<i>Group</i> 1").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<i>Group</i> 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith

111
How do I draw italic the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").Italic = true
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Italic = True]
endwith
oExplorerBar.Groups.Add("Group 3")

110
How do I bold the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("<b>Group</b> 1").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("<b>Group</b> 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith

109
How do I bold the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
// oExplorerBar.Groups.Add("Group 2").Bold = true
var_Group = oExplorerBar.Groups.Add("Group 2")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Bold = True]
endwith
oExplorerBar.Groups.Add("Group 3")

108
How can I align the icon in the group's caption

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.Image = 1
	var_Group.ImageAlignment = 2
	var_Group.Alignment = 2

107
How can I align the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("Group 1").Alignment = 2
var_Group = oExplorerBar.Groups.Add("Group 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Alignment = 2]
endwith

106
How can I align the group's name

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("Group 1").Alignment = 0
var_Group = oExplorerBar.Groups.Add("Group 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Alignment = 0]
endwith

105
How can I assign some extra data to a group

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
// oExplorerBar.Groups.Add("Group 1").UserData = "your data"
var_Group = oExplorerBar.Groups.Add("Group 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.UserData = "your data"]
endwith

104
How can I display an icon in the group's caption

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oExplorerBar.Groups.Add("Group <img>1</img> text <img>2</img>").CaptionFormat = 1
var_Group = oExplorerBar.Groups.Add("Group <img>1</img> text <img>2</img>")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.CaptionFormat = 1]
endwith

103
How can I display an icon in the group's caption

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oExplorerBar.Groups.Add("Group 1").Image = 1
var_Group = oExplorerBar.Groups.Add("Group 1")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Image = 1]
endwith

102
How can I access an item by its position

local oExplorerBar,var_Group,var_Item,var_Item1

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
var_Group = oExplorerBar.Groups.Add("Group 1")
	var_Group.AddItem("Item 1")
	var_Group.AddItem("Item 2")
	// var_Group.AddItem("Item 3").Position = 0
	var_Item = var_Group.AddItem("Item 3")
	with (oExplorerBar)
		TemplateDef = [dim var_Item]
		TemplateDef = var_Item
		Template = [var_Item.Position = 0]
	endwith
	// var_Group.ItemByPos(1).Bold = true
	var_Item1 = var_Group.ItemByPos(1)
	with (oExplorerBar)
		TemplateDef = [dim var_Item1]
		TemplateDef = var_Item1
		Template = [var_Item1.Bold = True]
	endwith
	var_Group.Expanded = true

101
How can I change the position of a group

local oExplorerBar,var_Group

oExplorerBar = form.EXPLORERBARACTIVEXCONTROL1.nativeObject
oExplorerBar.Groups.Add("Group 1")
oExplorerBar.Groups.Add("Group 2")
// oExplorerBar.Groups.Add("Group 3").Position = 0
var_Group = oExplorerBar.Groups.Add("Group 3")
with (oExplorerBar)
	TemplateDef = [dim var_Group]
	TemplateDef = var_Group
	Template = [var_Group.Position = 0]
endwith