13:
Can I display items one below to other


oDCOCX_Exontrol1:Format := "(1/2):64,(3/4):64"
oDCOCX_Exontrol1:[Item,1]:Caption := "Item <off 4><b>A"
oDCOCX_Exontrol1:[Item,2]:Caption := "Item <off 4><b>B"
oDCOCX_Exontrol1:[Item,3]:Caption := "Item <off 4><b>C"
oDCOCX_Exontrol1:[Item,4]:Caption := "Item <off 4><b>D"

12:
How can I add a separator item


oDCOCX_Exontrol1:Format := "1,2,-1,3,4"

11:
Is it possible to disable an item

local var_Item as IItem

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Format := "1,2,3"
oDCOCX_Exontrol1:[Item,1]:Caption := "<img>1</img>"
oDCOCX_Exontrol1:[Item,2]:Caption := "<img>2</img>"
var_Item := oDCOCX_Exontrol1:[Item,3]
	var_Item:Caption := "<img>3</img>Disabled"
	var_Item:Enabled := false

10:
Is it possible to change the item's caption/image when user hovers the cursor

METHOD OCX_Exontrol1MouseIn(ID) CLASS MainDialog
	// MouseIn event - Occurs when the mouse enters the part.
	oDCOCX_Exontrol1:[Item,ID]:Caption := "hover"
RETURN NIL

METHOD OCX_Exontrol1MouseOut(ID) CLASS MainDialog
	// MouseOut event - Occurs when the mouse exists the part.
	oDCOCX_Exontrol1:[Item,ID]:Caption := AsString(ID)
RETURN NIL


oDCOCX_Exontrol1:Format := "1,2,3,4"

9:
Does your control support tooltip for items

local var_Item as IItem

oDCOCX_Exontrol1:Format := "(1/2),3"
var_Item := oDCOCX_Exontrol1:[Item,1]
	var_Item:Caption := "Item <b>1"
	var_Item:ToolTip := "This is a bit of text that's shown when cursor hovers the item"
oDCOCX_Exontrol1:[Item,2]:Caption := "Item <b>2"
oDCOCX_Exontrol1:[Item,3]:Caption := "Item <b>3"

8:
Is it possible to add an anchor element, similar to a link into a webpage

METHOD OCX_Exontrol1AnchorClick(AnchorID,Options) CLASS MainDialog
	// AnchorClick event - Occurs when an anchor element is clicked.
	OutputDebugString(String2Psz( AsString(AnchorID) ))
RETURN NIL


oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Format := "" + CHR(34) + "<a a1>link</a>" + CHR(34) + ":32,1,2,3"

7:
How can I change the background of the hovering item


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:[Background,exToolBarButtonHotBackColor] := 0x1000000
oDCOCX_Exontrol1:Format := "1,2,3,4"

6:
Can I display an item aligned to the right


oDCOCX_Exontrol1:Format := "1,2,|,3:64"
oDCOCX_Exontrol1:[Item,3]:Caption := "< <b>right</b> >"

5:
Can I display pictures in the toolbar


oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\card.png"
oDCOCX_Exontrol1:[HTMLPicture,"pic2"] := "c:\exontrol\images\diary.png"
oDCOCX_Exontrol1:Format := "1,2,3"
oDCOCX_Exontrol1:[Item,1]:Caption := "<img>pic1:48</img>"
oDCOCX_Exontrol1:[Item,2]:Caption := "<img>pic2:30</img>"
oDCOCX_Exontrol1:[Item,3]:Caption := "<img>pic1:24</img> Picture"

4:
Can I display icons in the toolbar


oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Format := "1,2,3"
oDCOCX_Exontrol1:[Item,1]:Caption := "<img>1</img>"
oDCOCX_Exontrol1:[Item,2]:Caption := "<img>2</img>"
oDCOCX_Exontrol1:[Item,3]:Caption := "<img>3</img>Icon"

3:
How can I get ride of the top-bottom lines


oDCOCX_Exontrol1:Appearance := Etched
oDCOCX_Exontrol1:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Format := "1,-1,2"
oDCOCX_Exontrol1:[Item,1]:Caption := "Exit"
oDCOCX_Exontrol1:[Item,2]:Caption := "Item <b>A\r\nItem <b>A#1\r\nItem <b>B#2\r\nItem <b>C#3"

2:
How can I display a drop-down panel

METHOD OCX_Exontrol1Select(ID,SelectedID) CLASS MainDialog
	// Select event - Notifies once the user clicks the item.
	OutputDebugString(String2Psz( "Select" ))
	OutputDebugString(String2Psz( AsString(SelectedID) ))
RETURN NIL


oDCOCX_Exontrol1:Format := "1,-1,2"
oDCOCX_Exontrol1:[Item,1]:Caption := "Exit"
oDCOCX_Exontrol1:[Item,2]:Caption := "Item <b>A\r\nItem <b>A#1\r\nItem <b>B#2\r\nItem <b>C#3"

1:
How can I add / display items with the toolbar

METHOD OCX_Exontrol1Select(ID,SelectedID) CLASS MainDialog
	// Select event - Notifies once the user clicks the item.
	OutputDebugString(String2Psz( "Select" ))
	OutputDebugString(String2Psz( oDCOCX_Exontrol1:[Item,ID]:Caption ))
RETURN NIL


oDCOCX_Exontrol1:Format := "1,-1,2,3"
oDCOCX_Exontrol1:[Item,1]:Caption := "Exit"
oDCOCX_Exontrol1:[Item,2]:Caption := "Item <b>A"
oDCOCX_Exontrol1:[Item,3]:Caption := "Item <b>B"