112:
How can I display a chart/organigram view inside

with thisform.ExMenu1
	with .Items
		.Add("File")
		with .Add("OrgChart",3).SubControl
			.ControlID = "Exontrol.ChartView"
			.Width = 128
			.Height = 164
			.Create
			with .Object
				.IndentSiblingY = 30
				.ShowLinksDir = .T.
				.PenWidthLink = 2
				.LinkColor = RGB(0,0,0)
				.AntiAliasing = .T.
				with .Nodes
					.Add("L1_A",Null,"LA").ShowLinkDir = .F.
					.Add("L1_B",Null,"LB")
					.Add("L2_A","LA","LA2")
					.Add("L2_B","LB","LB2")
				endwith
			endwith
		endwith
		.Add("Close")
	endwith
	.Refresh
endwith
111:
How do I uncheck the item

*** Select event - Occurs when an item is selected by clicking or by pressing RETURN key. ***
LPARAMETERS ID
	*** Item(ID).Check = False

with thisform.ExMenu1
	with .Items
		with .Add("Horizontal View",Null,210)
			.Check = .T.
			.CheckEffect = .F.
		endwith
	endwith
	.Refresh
endwith
110:
How do I get the identifier of the item being clicked / selected

*** Select event - Occurs when an item is selected by clicking or by pressing RETURN key. ***
LPARAMETERS ID
	with thisform.ExMenu1
		DEBUGOUT( "Using ID parameter:" )
		DEBUGOUT( ID )
		DEBUGOUT( "Using the EventParam property: " )
		DEBUGOUT( .EventParam(0) )
		DEBUGOUT( "Using the ExecuteTemplate property: " )
		DEBUGOUT( .ExecuteTemplate("EventParam(0)") )
		.Template = "EventParam(0)"
		DEBUGOUT( "Using TemplateResult property:" )
		DEBUGOUT( .TemplateResult )
		DEBUGOUT( "Using TemplateResultN property:" )
		DEBUGOUT( .TemplateResultN )
		DEBUGOUT( "Using TemplateResultS property:" )
		DEBUGOUT( .TemplateResultS )
	endwith

with thisform.ExMenu1
	.Items.ToString = "A[id=10](B[id=20],C[id=30](D[id=40],E[id=50]),F[id=60])"
endwith
109:
How can I assign an icon to an item using an external ICO file

with thisform.ExMenu1
	.Object.HTMLPicture("ico1") = "C:\Program Files\Exontrol\ExMenu\Sample\VC\Sample\res\sample.ico"
	.Items.Add("<img>ico1:16</img> Caption")
	.Refresh
endwith
108:
How can I assign an icon to an item using an external ICO file

with thisform.ExMenu1
	.ReplaceIcon(thisform.ExMenu1.ExecuteTemplate("loadpicture(`C:\Program Files\Exontrol\ExMenu\Sample\VC\Sample\res\sample.ico`)"))
	.Items.Add("Caption",0).Image = 0
	.Refresh
endwith
107:
How can I assign a tooltip for an item

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		with .Add("ToolTip     CTRL + <b>F</b>")
			.Tooltip = "This is a bit of text that should be displayed when the cursor hovers the item"
			.TooltipTitle = "Title"
		endwith
	endwith
	.Refresh
endwith
106:
How can I specify some keys on the right of the item

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("File     CTRL + <b>F</b>")
		.Add("Left should be a long text")
	endwith
	.Refresh
endwith
105:
How do I specify the item's alignment

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Left<r>Right")
		.Add("Left should be a long text")
	endwith
	.Refresh
endwith
104:
How do I specify the item's alignment

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Center").Alignment = 1
		.Add("Right").Alignment = 2
		.Add("Left should be a long text")
	endwith
	.Refresh
endwith
103:
How can I remove the border of the item's text box or an edit control

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		with .Add("Edit 1")
			.AllowEdit = .T.
			.EditCaption = "test"
			.EditWidth = 128
			.EditBorder = 0
		endwith
		.Add("Edit 2").AllowEdit = .T.
	endwith
	.Refresh
endwith
102:
How can I specify a single border for the item's text box or an edit control

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		with .Add("Edit 1")
			.AllowEdit = .T.
			.EditCaption = "test"
			.EditWidth = 128
			.EditBorder = 1
		endwith
		.Add("Edit 2").AllowEdit = .T.
	endwith
	.Refresh
endwith
101:
How can I add a checkbox

with thisform.ExMenu1
	with .Items.Add("Checked")
		.Check = .T.
		.CheckEffect = .F.
	endwith
	.Refresh
endwith
100:
How can I specify the shape of the cursor while it hovers an item

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Item 1").Cursor = "exHelp"
		.Add("Item 2")
	endwith
	.Refresh
endwith
99:
How can I specify the width for text box or an edit control

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		with .Add("Edit 1")
			.AllowEdit = .T.
			.EditCaption = "test"
			.EditWidth = 128
		endwith
		.Add("Edit 2").AllowEdit = .T.
	endwith
	.Refresh
endwith
98:
How can I show or hide an item

with thisform.ExMenu1
	with .Items.Add("Popup",2)
		with .SubMenu
			.Add("Visible")
			.Add("Hidden").Visible = .F.
		endwith
	endwith
	.Refresh
endwith
97:
Is there any function to display the popup menu up not down

with thisform.ExMenu1
	.Items.Add("Item")
	with .Items.Add("Popup",2)
		.ShowDown = .F.
		with .SubMenu
			.Add("Item <fgcolor=FF0000>1</fgcolor>")
			.Add("Item 2").Caption = "Item <fgcolor=FF0000>2</fgcolor>"
		endwith
	endwith
	.Items.Add("Item")
	.Appearance = 0
	.Border = 2
	.Refresh
endwith
96:
How can I specify the item's foreground color

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Item <fgcolor=FF0000>1</fgcolor>")
		.Add("Item 2").Caption = "Item <fgcolor=FF0000>2</fgcolor>"
	endwith
	.Refresh
endwith
95:
How can I specify the item's foreground color

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Item 1").ForeColor = RGB(255,0,0)
		.Add("Item 2")
	endwith
	.Refresh
endwith
94:
How can I specify the item's background color

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Item 1").BackColor = RGB(255,0,0)
		.Add("Item 2")
	endwith
	.Refresh
endwith
93:
How can I add an item with a text box or an edit control

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		with .Add("Edit 1")
			.AllowEdit = .T.
			.EditCaption = "test"
		endwith
		.Add("Edit 2").AllowEdit = .T.
	endwith
	.Refresh
endwith
92:
How can I add an item with a text box or an edit control

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Edit 1").AllowEdit = .T.
		.Add("Edit 2").AllowEdit = .T.
	endwith
	.Refresh
endwith
91:
How can I add a bullet

with thisform.ExMenu1
	with .Items.Add("Bullet")
		.Check = .T.
		.Bullet = .T.
	endwith
	.Refresh
endwith
90:
How can I add a checkbox

with thisform.ExMenu1
	.Items.Add("Checked").Check = .T.
	.Refresh
endwith
89:
How can I enable or disable an item

with thisform.ExMenu1
	.Items.Add("Disabled").Enabled = .F.
	.Refresh
endwith
88:
How can I display an icon

with thisform.ExMenu1
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Images(var_s)
	.Items.Add("A").Image = 1
	.Refresh
endwith
87:
How can I specify the item's identifier

with thisform.ExMenu1
	.Items.Add("A").ID = 1000
	.Refresh
endwith
86:
How can I specify the item's identifier

with thisform.ExMenu1
	.Items.Add("A",0,1000)
	.Refresh
endwith
85:
How can I assign an extra data to an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).UserData = "your data"
	.Refresh
endwith
84:
How can I underline an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Caption = "Item <u>1</u>"
	.Refresh
endwith
83:
How can I underline an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Underline = .T.
	.Refresh
endwith
82:
How can I display as strikeout an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Caption = "Item <s>1</s>"
	.Refresh
endwith
81:
How can I display as strikeout an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Strikeout = .T.
	.Refresh
endwith
80:
How can I display as italic an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Caption = "Item <i>1</i>"
	.Refresh
endwith
79:
How can I display as italic an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Italic = .T.
	.Refresh
endwith
78:
How do I bold an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Caption = "Item <b>1</b>"
	.Refresh
endwith
77:
How do I bold an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Bold = .T.
	.Refresh
endwith
76:
How do I change the item's caption

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Caption = "new <b>caption</b>"
	.Refresh
endwith
75:
How can I speciy the picture on the drop down menu

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).SubMenu.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
endwith
74:
How can I speciy the number of visible items

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).SubMenu.VisibleItemsCount = 1
endwith
73:
How can I speciy the shape of the cursor when it hovers the menu

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Cursor = "exHelp"
endwith
72:
How can I add items

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
71:
How I can remove an item

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.Remove(10)
	.Refresh
endwith
70:
How I can get the number or the count of the items in the menu

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	with .Items
		.Add(.Count)
	endwith
	.Refresh
endwith
69:
How I can clear a menu

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.Clear
	.Items.ToString = "Item 1"
endwith
68:
How do I specify to close an ActiveX item when user clicks it

with thisform.ExMenu1
	with .Items.Add("Calendar",3).SubControl
		.ControlID = "MSCal.Calendar"
		.Width = 256
		.Height = 196
		.Create
		with .Object
			.ShowDateSelectors = .F.
			.BackColor = RGB(239,239,231)
		endwith
		.CloseOn = 514
	endwith
	.Refresh
endwith
67:
How can I access the properties and methods for an ActiveX item

with thisform.ExMenu1
	with .Items.Add("Calendar",3).SubControl
		.ControlID = "MSCal.Calendar"
		.Width = 256
		.Height = 196
		.Create
		with .Object
			.ShowDateSelectors = .F.
			.BackColor = RGB(239,239,231)
		endwith
	endwith
	.Refresh
endwith
66:
I can't see the ActiveX item

with thisform.ExMenu1
	with .Items.Add("Calendar",3).SubControl
		.ControlID = "MSCal.Calendar"
		.Create
	endwith
	.Refresh
endwith
65:
How can I specify the runtime license key for an ActiveX item

with thisform.ExMenu1
	with .Items.Add("Calendar",3).SubControl
		.ControlID = "MSCal.Calendar"
		.LicenseKey = ""
		.Create
	endwith
	.Refresh
endwith
64:
How can I specify the width and the height for an ActiveX item

with thisform.ExMenu1
	with .Items.Add("Calendar",3).SubControl
		.ControlID = "MSCal.Calendar"
		.Width = 256
		.Height = 256
		.Create
	endwith
	.Refresh
endwith
63:
How can I select a date

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		with .Add("Select a date",3).SubControl
			.ControlID = "MSComCtl2.DTPicker"
			.Width = 128
			.Height = 22
			.Create
			with .Object
				.Format = 3
				.CustomFormat = "dd-MM-yyy"
				.Refresh
			endwith
		endwith
	endwith
	.Refresh
endwith
62:
How can I add an ActiveX item

with thisform.ExMenu1
	with .Items.Add("Calendar",3).SubControl
		.ControlID = "MSCal.Calendar"
		.Create
	endwith
	.Refresh
endwith
61:
How can I add a separator item

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Item 1")
		.Add("",1)
		.Add("Item 2")
	endwith
	.Refresh
endwith
60:
How can I add a popup or a submenu

with thisform.ExMenu1
	with .Items.Add("Popup",2).SubMenu
		.Add("Item 1")
		.Add("Item 2")
	endwith
	.Refresh
endwith
59:
How can I add a new item

with thisform.ExMenu1
	.Items.Add("Item 1")
	.Refresh
endwith
58:
How I can assign a picture or an icon to an item

with thisform.ExMenu1
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Images(var_s)
	.Object.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.Object.ItemHeight(2) = 34
	var_s1 = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s1 = var_s1 + "[id=80])"
	.Items.ToString = var_s1
	.Items.item(10).Caption = "<img>pic1</img> <b>1</b>"
	.Items.item(60).Caption = "T <img>1</img> <img>2</img> and so on "
	.Refresh
endwith
57:
How I can assign a picture to an item

with thisform.ExMenu1
	.Object.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.Object.HTMLPicture("pic2") = "c:\exontrol\images\auction.gif"
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.Items.item(10).Caption = "<img>pic1</img> <b>1</b>"
	.Items.item(60).Caption = "<img>pic2</img> <b>2</b>"
	.Refresh
endwith
56:
How do I call your x-script language

with thisform.ExMenu1
	.Template = "Items.ToString = `Item 1,Item 2`"
endwith
55:
How do I change the shape of the cursor whether it hovers the control

with thisform.ExMenu1
	.Cursor = "exHelp"
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
54:
How do I specify whether the item gets selected whether the user presses or releases the mouse

with thisform.ExMenu1
	.SelectOn = 0
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
53:
How do I change the picture or icon for the chevrons

with thisform.ExMenu1
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Images(var_s)
	.Object.ScrollImage(1) = 1
	.Object.ScrollImage(0) = 2
	.AllowChevron = 1
	var_s1 = "Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item "
	var_s1 = var_s1 + "1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id="
	var_s1 = var_s1 + "30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])"
	var_s1 = var_s1 + ",Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item"
	var_s1 = var_s1 + " 1[id=20],[sep][id=30],Item 2[id=40])"
	.Items.ToString = var_s1
endwith
52:
How do I specify the height for items

with thisform.ExMenu1
	.Object.ItemHeight(2) = 34
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
51:
How do I change the picture or icon for the chevrons

with thisform.ExMenu1
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Images(var_s)
	.ChevronImage = 1
	.AllowChevron = -1
	var_s1 = "Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item "
	var_s1 = var_s1 + "1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id="
	var_s1 = var_s1 + "30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])"
	var_s1 = var_s1 + ",Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item"
	var_s1 = var_s1 + " 1[id=20],[sep][id=30],Item 2[id=40])"
	.Items.ToString = var_s1
endwith
50:
How do I disable chevrons

with thisform.ExMenu1
	.AllowChevron = 0
	var_s = "Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item "
	var_s = var_s + "1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id="
	var_s = var_s + "30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])"
	var_s = var_s + ",Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item"
	var_s = var_s + " 1[id=20],[sep][id=30],Item 2[id=40])"
	.Items.ToString = var_s
endwith
49:
How do I allow chevrons

with thisform.ExMenu1
	.AllowChevron = 1
	var_s = "Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item "
	var_s = var_s + "1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id="
	var_s = var_s + "30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])"
	var_s = var_s + ",Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item"
	var_s = var_s + " 1[id=20],[sep][id=30],Item 2[id=40])"
	.Items.ToString = var_s
endwith
48:
How do I allow chevrons

with thisform.ExMenu1
	.AllowChevron = -1
	var_s = "Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item "
	var_s = var_s + "1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id="
	var_s = var_s + "30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])"
	var_s = var_s + ",Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40]),Popup[id=10](Item"
	var_s = var_s + " 1[id=20],[sep][id=30],Item 2[id=40])"
	.Items.ToString = var_s
endwith
47:
How do I show directly the drop down menu, without scrolling

with thisform.ExMenu1
	.ScrollOnDrop = .F.
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
46:
How can I change the visual appearance for for a top level item, when the Appearance property is Flat

with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.Object.Background(2) = 0x1000000
	.Appearance = 1
	.Border = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
45:
How can I change the visual appearance for an item, when the Appearance property is Button

with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.Object.Background(1) = 0x1000000
	.Appearance = 2
	.Border = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
44:
Can I change the visual appearance for separator items

with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.Object.Background(0) = 0x1000000
	.Items.ToString = "Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])"
endwith
43:
Can I change the forecolor for the tooltip

with thisform.ExMenu1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Object.Background(66) = RGB(255,0,0)
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will be shown"
	.Refresh
endwith
42:
Can I change the background color for the tooltip

with thisform.ExMenu1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Object.Background(65) = RGB(255,0,0)
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will be shown"
	.Refresh
endwith
41:
Can I change the default border of the tooltip, using your EBN files

with thisform.ExMenu1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.Object.Background(64) = 0x1000000
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will be shown"
	.Refresh
endwith
40:
Can I change the font for the tooltip

with thisform.ExMenu1
	.ToolTipDelay = 1
	with .ToolTipFont
		.Name = "Tahoma"
		.Size = 14
	endwith
	.ToolTipWidth = 400
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will be shown"
	.Refresh
endwith
39:
I've seen that the width of the tooltip is variable. Can I make it larger

with thisform.ExMenu1
	.ToolTipWidth = 328
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will open"
	.Refresh
endwith
38:
How do I let the tooltip being displayed longer

with thisform.ExMenu1
	.ToolTipPopDelay = 10000
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will opene"
	.Refresh
endwith
37:
How do I disable showing the tooltip for all control

with thisform.ExMenu1
	.ToolTipDelay = 0
	.Items.ToString = "No-ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will opene"
	.Refresh
endwith
36:
How do I show the tooltip quicker

with thisform.ExMenu1
	.ToolTipDelay = 1
	.Items.ToString = "ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])"
	.Items.item(10).Tooltip = "Click the <b>ToolTip</b> and so the drop down menu will opene"
	.Refresh
endwith
35:
How do I open the menu as user clicks the menu

with thisform.ExMenu1
	.OpenOnClick = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
34:
How do I open the menu as cursor hovers the menu bar

with thisform.ExMenu1
	.OpenOnClick = 0
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
33:
Can I make the menu partialy visible

with thisform.ExMenu1
	.Visibility = 90
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
32:
How do I remove or clear the accelerator keys

with thisform.ExMenu1
	.Debug = .T.
	var_s = "Item &1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem "
	var_s = var_s + "2[id=80])"
	.Items.ToString = var_s
	.AddAcelerator(10,49,.F.,.T.,.F.)
endwith
31:
How do I add or assign an accelerator key to an item

with thisform.ExMenu1
	.Debug = .T.
	var_s = "Item &1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem "
	var_s = var_s + "2[id=80])"
	.Items.ToString = var_s
	.AddAcelerator(10,49,.F.,.T.,.F.)
endwith
28:
How do I put a picture on the center of the control

with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 17
endwith
27:
How do I resize/stretch a picture on the control's background
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 49
endwith
26:
How do I put a picture on the control's center right bottom side
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 34
endwith
25:
How do I put a picture on the control's center left bottom side
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 32
endwith
24:
How do I put a picture on the control's center top side
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 1
endwith
23:
How do I put a picture on the control's right top corner
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 2
endwith
22:
How do I put a picture on the control's left top corner
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
	.PictureDisplay = 0
endwith
21:
How do I put a picture on the control's background
with thisform.ExMenu1
	.Picture = thisform.ExMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
endwith
20:
Is there any function to display the item's identifiers

with thisform.ExMenu1
	.Debug = .T.
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
19:
How do I find an item giving its name

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.item("Item 1").Bold = .T.
	.Refresh
endwith
18:
How do I find an item giving its identifier

with thisform.ExMenu1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
	.item(10).Bold = .T.
	.Refresh
endwith
17:
How do I enable or disable the control

with thisform.ExMenu1
	.Enabled = .F.
	.Items.Add("Item 1")
	.Refresh
endwith
16:
How do I refresh the control
with thisform.ExMenu1
	.Items.Add("Item 1")
	.Refresh
endwith
15:
How do I change the color to highligth the selected item

with thisform.ExMenu1
	.HighLightBorderColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
14:
How do I change the drop down, popup menu foreground color

with thisform.ExMenu1
	.PopupForeColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
13:
How do I change the drop down, popup menu background color

with thisform.ExMenu1
	.PopupBackColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
12:
How do I change the control's shadow color

with thisform.ExMenu1
	.ShadowColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
11:
How do I place the control on vertical

with thisform.ExMenu1
	.OpenMode = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
10:
How do I change the control's appearance
with thisform.ExMenu1
	.Appearance = 2
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
9:
How do I change the control's appearance

with thisform.ExMenu1
	.Appearance = 0
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
8:
How do I change the visual appearance effect for the selected item, using EBN

with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.SelBackColor = 0x1000000
	.SelForeColor = RGB(0,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
7:
How do I change the colors for the selected item

with thisform.ExMenu1
	.SelBackColor = RGB(0,0,0)
	.SelForeColor = RGB(255,255,255)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
6:
How do I change the control's foreground color

with thisform.ExMenu1
	.ForeColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
5:
How do I change the control's background color

with thisform.ExMenu1
	.BackColor = RGB(200,200,200)
endwith
4:
How can I change the control's font

with thisform.ExMenu1
	.Font.Name = "Tahoma"
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
3:
How do I change the drop down menu's border

with thisform.ExMenu1
	.Border = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
2:
How do I change the control's border, using your EBN files

with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.MenuBarBorder = 16777216 && 0x1000000
	.Border = 16777216 && 0x1000000
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
1:
How do I change the control's border

with thisform.ExMenu1
	.MenuBarBorder = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith