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

public void init()
{
	COM com_ChartView,com_Control,com_Menu,com_Node,com_Nodes,com_item;
	anytype var_ChartView,var_Control,var_Menu,var_Node,var_Nodes,var_item;
	;

	super();

	var_Menu = exmenu1.Items(); com_Menu = var_Menu;
		com_Menu.Add("File");
		var_item = COM::createFromObject(com_Menu.Add("OrgChart",COMVariant::createFromInt(3))); com_item = var_item;
		var_Control = com_item.SubControl(); com_Control = var_Control;
			com_Control.ControlID("Exontrol.ChartView");
			com_Control.Width(128);
			com_Control.Height(164);
			com_Control.Create();
			// Add 'ExOrgChart 1.0 Control Library(ExOrgChart.dll)' reference to your project.
			var_ChartView = com_Control.Object(); com_ChartView = var_ChartView;
				com_ChartView.IndentSiblingY(30);
				com_ChartView.ShowLinksDir(true);
				com_ChartView.PenWidthLink(2);
				com_ChartView.LinkColor(WinApi::RGB2int(0,0,0));
				com_ChartView.AntiAliasing(true);
				var_Nodes = com_ChartView.Nodes(); com_Nodes = var_Nodes;
					var_Node = COM::createFromObject(com_Nodes.Add("L1_A",,"LA")); com_Node = var_Node;
					com_Node.ShowLinkDir(false);
					com_Nodes.Add("L1_B",,"LB");
					com_Nodes.Add("L2_A","LA","LA2");
					com_Nodes.Add("L2_B","LB","LB2");
		com_Menu.Add("Close");
	exmenu1.Refresh();
}
111:
How do I uncheck the item

// Select event - Occurs when an item is selected by clicking or by pressing RETURN key.
void onEvent_Select(int _ID)
{
	// Item(ID).Check = False
	;
}

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_Menu = exmenu1.Items(); com_Menu = var_Menu;
		var_item = com_Menu.Add("Horizontal View",,COMVariant::createFromInt(210)); com_item = var_item;
			com_item.Check(true);
			com_item.CheckEffect(false);
	exmenu1.Refresh();
}
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.
void onEvent_Select(int _ID)
{
	;
	print( "Using ID parameter:" );
	print( _ID );
	print( "Using the EventParam property: " );
	print( exmenu1.EventParam(0) );
	print( "Using the ExecuteTemplate property: " );
	print( exmenu1.ExecuteTemplate("EventParam(0)") );
	exmenu1.Template("EventParam(0)");
	print( "Using TemplateResult property:" );
	print( exmenu1.TemplateResult() );
	print( "Using TemplateResultN property:" );
	print( exmenu1.TemplateResultN() );
	print( "Using TemplateResultS property:" );
	print( exmenu1.TemplateResultS() );
}

public void init()
{
	;

	super();

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

public void init()
{
	;

	super();

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

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ReplaceIcon(COM::createFromObject(exmenu1.ExecuteTemplate("loadpicture(`C:\\Program Files\\Exontrol\\ExMenu\\Sample\\VC\\Sample\\res\\sample.ico`)")));
	var_item = COM::createFromObject(exmenu1.Items()).Add("Caption",COMVariant::createFromInt(0)); com_item = var_item;
	com_item.Image(0);
	exmenu1.Refresh();
}
107:
How can I assign a tooltip for an item

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = com_Menu.Add("ToolTip     CTRL + <b>F</b>"); com_item = var_item;
			com_item.Tooltip("This is a bit of text that should be displayed when the cursor hovers the item");
			com_item.TooltipTitle("Title");
	exmenu1.Refresh();
}
106:
How can I specify some keys on the right of the item

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		com_Menu.Add("File     CTRL + <b>F</b>");
		com_Menu.Add("Left should be a long text");
	exmenu1.Refresh();
}
105:
How do I specify the item's alignment

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		com_Menu.Add("Left<r>Right");
		com_Menu.Add("Left should be a long text");
	exmenu1.Refresh();
}
104:
How do I specify the item's alignment

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = COM::createFromObject(com_Menu.Add("Center")); com_item = var_item;
		com_item.Alignment(1/*exCenter*/);
		var_item = COM::createFromObject(com_Menu.Add("Right")); com_item = var_item;
		com_item.Alignment(2/*exRight*/);
		com_Menu.Add("Left should be a long text");
	exmenu1.Refresh();
}
103:
How can I remove the border of the item's text box or an edit control

public void init()
{
	COM com_Menu,com_item,com_item1;
	anytype var_Menu,var_item,var_item1;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = com_Menu.Add("Edit 1"); com_item = var_item;
			com_item.AllowEdit(true);
			com_item.EditCaption("test");
			com_item.EditWidth(128);
			com_item.EditBorder(0/*exEditBorderNone*/);
		var_item1 = COM::createFromObject(com_Menu.Add("Edit 2")); com_item1 = var_item1;
		com_item1.AllowEdit(true);
	exmenu1.Refresh();
}
102:
How can I specify a single border for the item's text box or an edit control

public void init()
{
	COM com_Menu,com_item,com_item1;
	anytype var_Menu,var_item,var_item1;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = com_Menu.Add("Edit 1"); com_item = var_item;
			com_item.AllowEdit(true);
			com_item.EditCaption("test");
			com_item.EditWidth(128);
			com_item.EditBorder(1/*exEditBorderSingle*/);
		var_item1 = COM::createFromObject(com_Menu.Add("Edit 2")); com_item1 = var_item1;
		com_item1.AllowEdit(true);
	exmenu1.Refresh();
}
101:
How can I add a checkbox

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Checked"); com_item = var_item;
		com_item.Check(true);
		com_item.CheckEffect(false);
	exmenu1.Refresh();
}
100:
How can I specify the shape of the cursor while it hovers an item

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = COM::createFromObject(com_Menu.Add("Item 1")); com_item = var_item;
		com_item.Cursor("exHelp");
		com_Menu.Add("Item 2");
	exmenu1.Refresh();
}
99:
How can I specify the width for text box or an edit control

public void init()
{
	COM com_Menu,com_item,com_item1;
	anytype var_Menu,var_item,var_item1;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = com_Menu.Add("Edit 1"); com_item = var_item;
			com_item.AllowEdit(true);
			com_item.EditCaption("test");
			com_item.EditWidth(128);
		var_item1 = COM::createFromObject(com_Menu.Add("Edit 2")); com_item1 = var_item1;
		com_item1.AllowEdit(true);
	exmenu1.Refresh();
}
98:
How can I show or hide an item

public void init()
{
	COM com_Menu,com_item,com_item1;
	anytype var_Menu,var_item,var_item1;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
		var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
			com_Menu.Add("Visible");
			var_item1 = COM::createFromObject(com_Menu.Add("Hidden")); com_item1 = var_item1;
			com_item1.Visible(false);
	exmenu1.Refresh();
}
97:
Is there any function to display the popup menu up not down

public void init()
{
	COM com_Menu,com_item,com_item1;
	anytype var_Menu,var_item,var_item1;
	;

	super();

	exmenu1.Items().Add("Item");
	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
		com_item.ShowDown(false);
		var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
			com_Menu.Add("Item <fgcolor=FF0000>1</fgcolor>");
			var_item1 = COM::createFromObject(com_Menu.Add("Item 2")); com_item1 = var_item1;
			com_item1.Caption("Item <fgcolor=FF0000>2</fgcolor>");
	exmenu1.Items().Add("Item");
	exmenu1.Appearance(0/*Normal*/);
	exmenu1.Border(2/*SunkenBorder*/);
	exmenu1.Refresh();
}
96:
How can I specify the item's foreground color

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		com_Menu.Add("Item <fgcolor=FF0000>1</fgcolor>");
		var_item = COM::createFromObject(com_Menu.Add("Item 2")); com_item = var_item;
		com_item.Caption("Item <fgcolor=FF0000>2</fgcolor>");
	exmenu1.Refresh();
}
95:
How can I specify the item's foreground color

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = COM::createFromObject(com_Menu.Add("Item 1")); com_item = var_item;
		com_item.ForeColor(WinApi::RGB2int(255,0,0));
		com_Menu.Add("Item 2");
	exmenu1.Refresh();
}
94:
How can I specify the item's background color

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = COM::createFromObject(com_Menu.Add("Item 1")); com_item = var_item;
		com_item.BackColor(WinApi::RGB2int(255,0,0));
		com_Menu.Add("Item 2");
	exmenu1.Refresh();
}
93:
How can I add an item with a text box or an edit control

public void init()
{
	COM com_Menu,com_item,com_item1;
	anytype var_Menu,var_item,var_item1;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = com_Menu.Add("Edit 1"); com_item = var_item;
			com_item.AllowEdit(true);
			com_item.EditCaption("test");
		var_item1 = COM::createFromObject(com_Menu.Add("Edit 2")); com_item1 = var_item1;
		com_item1.AllowEdit(true);
	exmenu1.Refresh();
}
92:
How can I add an item with a text box or an edit control

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = COM::createFromObject(com_Menu.Add("Edit 1")); com_item = var_item;
		com_item.AllowEdit(true);
		var_item = COM::createFromObject(com_Menu.Add("Edit 2")); com_item = var_item;
		com_item.AllowEdit(true);
	exmenu1.Refresh();
}
91:
How can I add a bullet

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Bullet"); com_item = var_item;
		com_item.Check(true);
		com_item.Bullet(true);
	exmenu1.Refresh();
}
90:
How can I add a checkbox

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Checked"); com_item = var_item;
	com_item.Check(true);
	exmenu1.Refresh();
}
89:
How can I enable or disable an item

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Disabled"); com_item = var_item;
	com_item.Enabled(false);
	exmenu1.Refresh();
}
88:
How can I display an icon

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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=";
	exmenu1.Images(COMVariant::createFromStr(var_s));
	var_item = COM::createFromObject(exmenu1.Items()).Add("A"); com_item = var_item;
	com_item.Image(1);
	exmenu1.Refresh();
}
87:
How can I specify the item's identifier

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("A"); com_item = var_item;
	com_item.ID(1000);
	exmenu1.Refresh();
}
86:
How can I specify the item's identifier

public void init()
{
	;

	super();

	exmenu1.Items().Add("A",COMVariant::createFromInt(0),COMVariant::createFromInt(1000));
	exmenu1.Refresh();
}
85:
How can I assign an extra data to an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.UserData("your data");
	exmenu1.Refresh();
}
84:
How can I underline an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("Item <u>1</u>");
	exmenu1.Refresh();
}
83:
How can I underline an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Underline(true);
	exmenu1.Refresh();
}
82:
How can I display as strikeout an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("Item <s>1</s>");
	exmenu1.Refresh();
}
81:
How can I display as strikeout an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Strikeout(true);
	exmenu1.Refresh();
}
80:
How can I display as italic an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("Item <i>1</i>");
	exmenu1.Refresh();
}
79:
How can I display as italic an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Italic(true);
	exmenu1.Refresh();
}
78:
How do I bold an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("Item <b>1</b>");
	exmenu1.Refresh();
}
77:
How do I bold an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Bold(true);
	exmenu1.Refresh();
}
76:
How do I change the item's caption

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("new <b>caption</b>");
	exmenu1.Refresh();
}
75:
How can I speciy the picture on the drop down menu

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	var_Menu = COM::createFromObject(com_item).SubMenu(); com_Menu = var_Menu;
	com_Menu.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
}
74:
How can I speciy the number of visible items

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	var_Menu = COM::createFromObject(com_item).SubMenu(); com_Menu = var_Menu;
	com_Menu.VisibleItemsCount(1);
}
73:
How can I speciy the shape of the cursor when it hovers the menu

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Cursor("exHelp");
}
72:
How can I add items

public void init()
{
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
}
71:
How I can remove an item

public void init()
{
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	exmenu1.Items().Remove(COMVariant::createFromInt(10));
	exmenu1.Refresh();
}
70:
How I can get the number or the count of the items in the menu

public void init()
{
	COM com_Menu;
	anytype var_Menu;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_Menu = exmenu1.Items(); com_Menu = var_Menu;
		com_Menu.Add(com_Menu.Count());
	exmenu1.Refresh();
}
69:
How I can clear a menu

public void init()
{
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	exmenu1.Items().Clear();
	exmenu1.Items().ToString("Item 1");
}
68:
How do I specify to close an ActiveX item when user clicks it

public void init()
{
	COM com_Calendar,com_Control,com_item;
	anytype var_Calendar,var_Control,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Calendar",COMVariant::createFromInt(3)); com_item = var_item;
	var_Control = com_item.SubControl(); com_Control = var_Control;
		com_Control.ControlID("MSCal.Calendar");
		com_Control.Width(256);
		com_Control.Height(196);
		com_Control.Create();
		// Add 'Microsoft Calendar Control 8.0(MSCAL.OCX)' reference to your project.
		var_Calendar = com_Control.Object(); com_Calendar = var_Calendar;
			com_Calendar.ShowDateSelectors(false);
			com_Calendar.BackColor(WinApi::RGB2int(239,239,231));
		com_Control.CloseOn(514/*exLButtonUp*/);
	exmenu1.Refresh();
}
67:
How can I access the properties and methods for an ActiveX item

public void init()
{
	COM com_Calendar,com_Control,com_item;
	anytype var_Calendar,var_Control,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Calendar",COMVariant::createFromInt(3)); com_item = var_item;
	var_Control = com_item.SubControl(); com_Control = var_Control;
		com_Control.ControlID("MSCal.Calendar");
		com_Control.Width(256);
		com_Control.Height(196);
		com_Control.Create();
		// Add 'Microsoft Calendar Control 8.0(MSCAL.OCX)' reference to your project.
		var_Calendar = com_Control.Object(); com_Calendar = var_Calendar;
			com_Calendar.ShowDateSelectors(false);
			com_Calendar.BackColor(WinApi::RGB2int(239,239,231));
	exmenu1.Refresh();
}
66:
I can't see the ActiveX item

public void init()
{
	COM com_Control,com_item;
	anytype var_Control,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Calendar",COMVariant::createFromInt(3)); com_item = var_item;
	var_Control = com_item.SubControl(); com_Control = var_Control;
		com_Control.ControlID("MSCal.Calendar");
		com_Control.Create();
	exmenu1.Refresh();
}
65:
How can I specify the runtime license key for an ActiveX item

public void init()
{
	COM com_Control,com_item;
	anytype var_Control,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Calendar",COMVariant::createFromInt(3)); com_item = var_item;
	var_Control = com_item.SubControl(); com_Control = var_Control;
		com_Control.ControlID("MSCal.Calendar");
		com_Control.LicenseKey("");
		com_Control.Create();
	exmenu1.Refresh();
}
64:
How can I specify the width and the height for an ActiveX item

public void init()
{
	COM com_Control,com_item;
	anytype var_Control,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Calendar",COMVariant::createFromInt(3)); com_item = var_item;
	var_Control = com_item.SubControl(); com_Control = var_Control;
		com_Control.ControlID("MSCal.Calendar");
		com_Control.Width(256);
		com_Control.Height(256);
		com_Control.Create();
	exmenu1.Refresh();
}
63:
How can I select a date

public void init()
{
	COM com_Control,com_DTPicker,com_Menu,com_item;
	anytype var_Control,var_DTPicker,var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		var_item = COM::createFromObject(com_Menu.Add("Select a date",COMVariant::createFromInt(3))); com_item = var_item;
		var_Control = com_item.SubControl(); com_Control = var_Control;
			com_Control.ControlID("MSComCtl2.DTPicker");
			com_Control.Width(128);
			com_Control.Height(22);
			com_Control.Create();
			// Add 'Microsoft Windows Common Controls-2 6.0 (SP6)(mscomct2.ocx)' reference to your project.
			var_DTPicker = com_Control.Object(); com_DTPicker = var_DTPicker;
				com_DTPicker.Format(3/*dtpCustom*/);
				com_DTPicker.CustomFormat("dd-MM-yyy");
				com_DTPicker.Refresh();
	exmenu1.Refresh();
}
62:
How can I add an ActiveX item

public void init()
{
	COM com_Control,com_item;
	anytype var_Control,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Calendar",COMVariant::createFromInt(3)); com_item = var_item;
	var_Control = com_item.SubControl(); com_Control = var_Control;
		com_Control.ControlID("MSCal.Calendar");
		com_Control.Create();
	exmenu1.Refresh();
}
61:
How can I add a separator item

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		com_Menu.Add("Item 1");
		com_Menu.Add("",COMVariant::createFromInt(1));
		com_Menu.Add("Item 2");
	exmenu1.Refresh();
}
60:
How can I add a popup or a submenu

public void init()
{
	COM com_Menu,com_item;
	anytype var_Menu,var_item;
	;

	super();

	var_item = COM::createFromObject(exmenu1.Items()).Add("Popup",COMVariant::createFromInt(2)); com_item = var_item;
	var_Menu = com_item.SubMenu(); com_Menu = var_Menu;
		com_Menu.Add("Item 1");
		com_Menu.Add("Item 2");
	exmenu1.Refresh();
}
59:
How can I add a new item

public void init()
{
	;

	super();

	exmenu1.Items().Add("Item 1");
	exmenu1.Refresh();
}
58:
How I can assign a picture or an icon to an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s,var_s1;
	;

	super();

	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=";
	exmenu1.Images(COMVariant::createFromStr(var_s));
	exmenu1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exmenu1.ItemHeight(2/*Button*/,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])";
	exmenu1.Items().ToString(var_s1);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("<img>pic1</img> <b>1</b>");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(60)); com_item = var_item;
	com_item.Caption("T <img>1</img> <img>2</img> and so on ");
	exmenu1.Refresh();
}
57:
How I can assign a picture to an item

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	exmenu1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exmenu1.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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Caption("<img>pic1</img> <b>1</b>");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(60)); com_item = var_item;
	com_item.Caption("<img>pic2</img> <b>2</b>");
	exmenu1.Refresh();
}
56:
How do I call your x-script language

public void init()
{
	;

	super();

	exmenu1.Template("Items.ToString = `Item 1,Item 2`");
}
55:
How do I change the shape of the cursor whether it hovers the control

public void init()
{
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
}
54:
How do I specify whether the item gets selected whether the user presses or releases the mouse

public void init()
{
	str var_s;
	;

	super();

	exmenu1.SelectOn(0/*exMouseUp*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
53:
How do I change the picture or icon for the chevrons

public void init()
{
	str var_s,var_s1;
	;

	super();

	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=";
	exmenu1.Images(COMVariant::createFromStr(var_s));
	exmenu1.ScrollImage(true,1);
	exmenu1.ScrollImage(false,2);
	exmenu1.AllowChevron(1/*exScroll*/);
	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])";
	exmenu1.Items().ToString(var_s1);
}
52:
How do I specify the height for items

public void init()
{
	str var_s;
	;

	super();

	exmenu1.ItemHeight(2/*Button*/,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])";
	exmenu1.Items().ToString(var_s);
}
51:
How do I change the picture or icon for the chevrons

public void init()
{
	str var_s,var_s1;
	;

	super();

	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=";
	exmenu1.Images(COMVariant::createFromStr(var_s));
	exmenu1.ChevronImage(1);
	exmenu1.AllowChevron(-1/*exChevron*/);
	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])";
	exmenu1.Items().ToString(var_s1);
}
50:
How do I disable chevrons

public void init()
{
	str var_s;
	;

	super();

	exmenu1.AllowChevron(0/*exDefault*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
49:
How do I allow chevrons

public void init()
{
	str var_s;
	;

	super();

	exmenu1.AllowChevron(1/*exScroll*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
48:
How do I allow chevrons

public void init()
{
	str var_s;
	;

	super();

	exmenu1.AllowChevron(-1/*exChevron*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
47:
How do I show directly the drop down menu, without scrolling

public void init()
{
	str var_s;
	;

	super();

	exmenu1.ScrollOnDrop(false);
	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])";
	exmenu1.Items().ToString(var_s);
}
46:
How can I change the visual appearance for for a top level item, when the Appearance property is Flat

public void init()
{
	str var_s;
	;

	super();

	exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmenu1.Background(2/*exSelectRootItem*/,0x1000000);
	exmenu1.Appearance(1/*Flat*/);
	exmenu1.Border(1/*FlatBorder*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
45:
How can I change the visual appearance for an item, when the Appearance property is Button

public void init()
{
	str var_s;
	;

	super();

	exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmenu1.Background(1/*exButtonItem*/,0x1000000);
	exmenu1.Appearance(2/*Button*/);
	exmenu1.Border(1/*FlatBorder*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
44:
Can I change the visual appearance for separator items

public void init()
{
	;

	super();

	exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmenu1.Background(0/*exSeparatorItem*/,0x1000000);
	exmenu1.Items().ToString("Popup[id=10](Item 1[id=20],[sep][id=30],Item 2[id=40])");
}
43:
Can I change the forecolor for the tooltip

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipDelay(1);
	exmenu1.ToolTipWidth(364);
	exmenu1.Background(66/*exToolTipForeColor*/,WinApi::RGB2int(255,0,0));
	exmenu1.Items().ToString("ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will be shown");
	exmenu1.Refresh();
}
42:
Can I change the background color for the tooltip

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipDelay(1);
	exmenu1.ToolTipWidth(364);
	exmenu1.Background(65/*exToolTipBackColor*/,WinApi::RGB2int(255,0,0));
	exmenu1.Items().ToString("ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will be shown");
	exmenu1.Refresh();
}
41:
Can I change the default border of the tooltip, using your EBN files

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipDelay(1);
	exmenu1.ToolTipWidth(364);
	exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmenu1.Background(64/*exToolTipAppearance*/,0x1000000);
	exmenu1.Items().ToString("ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will be shown");
	exmenu1.Refresh();
}
40:
Can I change the font for the tooltip

public void init()
{
	COM com_StdFont,com_item;
	anytype var_StdFont,var_item;
	;

	super();

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

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipWidth(328);
	exmenu1.Items().ToString("ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will open");
	exmenu1.Refresh();
}
38:
How do I let the tooltip being displayed longer

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipPopDelay(10000);
	exmenu1.Items().ToString("ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will opene");
	exmenu1.Refresh();
}
37:
How do I disable showing the tooltip for all control

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipDelay(0);
	exmenu1.Items().ToString("No-ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will opene");
	exmenu1.Refresh();
}
36:
How do I show the tooltip quicker

public void init()
{
	COM com_item;
	anytype var_item;
	;

	super();

	exmenu1.ToolTipDelay(1);
	exmenu1.Items().ToString("ToolTip [id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50])");
	var_item = COM::createFromObject(exmenu1.Items()).item(COMVariant::createFromInt(10)); com_item = var_item;
	com_item.Tooltip("Click the <b>ToolTip</b> and so the drop down menu will opene");
	exmenu1.Refresh();
}
35:
How do I open the menu as user clicks the menu

public void init()
{
	str var_s;
	;

	super();

	exmenu1.OpenOnClick(1/*exAlwaysClick*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
34:
How do I open the menu as cursor hovers the menu bar

public void init()
{
	str var_s;
	;

	super();

	exmenu1.OpenOnClick(0/*exHoverMenuBar*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
33:
Can I make the menu partialy visible

public void init()
{
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
}
32:
How do I remove or clear the accelerator keys

public void init()
{
	str var_s;
	;

	super();

	exmenu1.Debug(true);
	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])";
	exmenu1.Items().ToString(var_s);
	exmenu1.AddAcelerator(10,49,COMVariant::createFromBoolean(false),COMVariant::createFromBoolean(true),COMVariant::createFromBoolean(false));
}
31:
How do I add or assign an accelerator key to an item

public void init()
{
	str var_s;
	;

	super();

	exmenu1.Debug(true);
	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])";
	exmenu1.Items().ToString(var_s);
	exmenu1.AddAcelerator(10,49,COMVariant::createFromBoolean(false),COMVariant::createFromBoolean(true),COMVariant::createFromBoolean(false));
}
30:
How can I load the items from a file
public void init()
{
	;

	super();

}
29:
How can I save the items to a file
public void init()
{
	;

	super();

}
28:
How do I put a picture on the center of the control

public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(17/*MiddleCenter*/);
}
27:
How do I resize/stretch a picture on the control's background
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(49/*Stretch*/);
}
26:
How do I put a picture on the control's center right bottom side
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(34/*LowerRight*/);
}
25:
How do I put a picture on the control's center left bottom side
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(32/*LowerLeft*/);
}
24:
How do I put a picture on the control's center top side
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(1/*UpperCenter*/);
}
23:
How do I put a picture on the control's right top corner
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(2/*UpperRight*/);
}
22:
How do I put a picture on the control's left top corner
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exmenu1.PictureDisplay(0/*UpperLeft*/);
}
21:
How do I put a picture on the control's background
public void init()
{
	;

	super();

	exmenu1.Picture(exmenu1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
}
20:
Is there any function to display the item's identifiers

public void init()
{
	str var_s;
	;

	super();

	exmenu1.Debug(true);
	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])";
	exmenu1.Items().ToString(var_s);
}
19:
How do I find an item giving its name

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.item("Item 1")); com_item = var_item;
	com_item.Bold(true);
	exmenu1.Refresh();
}
18:
How do I find an item giving its identifier

public void init()
{
	COM com_item;
	anytype var_item;
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
	var_item = COM::createFromObject(exmenu1.item(COMVariant::createFromInt(10))); com_item = var_item;
	com_item.Bold(true);
	exmenu1.Refresh();
}
17:
How do I enable or disable the control

public void init()
{
	;

	super();

	exmenu1.Enabled(false);
	exmenu1.Items().Add("Item 1");
	exmenu1.Refresh();
}
16:
How do I refresh the control
public void init()
{
	;

	super();

	exmenu1.Items().Add("Item 1");
	exmenu1.Refresh();
}
15:
How do I change the color to highligth the selected item

public void init()
{
	str var_s;
	;

	super();

	exmenu1.HighLightBorderColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
14:
How do I change the drop down, popup menu foreground color

public void init()
{
	str var_s;
	;

	super();

	exmenu1.PopupForeColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
13:
How do I change the drop down, popup menu background color

public void init()
{
	str var_s;
	;

	super();

	exmenu1.PopupBackColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
12:
How do I change the control's shadow color

public void init()
{
	str var_s;
	;

	super();

	exmenu1.ShadowColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
11:
How do I place the control on vertical

public void init()
{
	str var_s;
	;

	super();

	exmenu1.OpenMode(1/*Horizontal*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
10:
How do I change the control's appearance
public void init()
{
	str var_s;
	;

	super();

	exmenu1.Appearance(2/*Button*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
9:
How do I change the control's appearance

public void init()
{
	str var_s;
	;

	super();

	exmenu1.Appearance(0/*Normal*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
8:
How do I change the visual appearance effect for the selected item, using EBN

public void init()
{
	str var_s;
	;

	super();

	exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmenu1.SelBackColor(0x1000000);
	exmenu1.SelForeColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
7:
How do I change the colors for the selected item

public void init()
{
	str var_s;
	;

	super();

	exmenu1.SelBackColor(WinApi::RGB2int(0,0,0));
	exmenu1.SelForeColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
6:
How do I change the control's foreground color

public void init()
{
	str var_s;
	;

	super();

	exmenu1.ForeColor(WinApi::RGB2int(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])";
	exmenu1.Items().ToString(var_s);
}
5:
How do I change the control's background color

public void init()
{
	;

	super();

	exmenu1.BackColor(WinApi::RGB2int(200,200,200));
}
4:
How can I change the control's font

public void init()
{
	str var_s;
	;

	super();

	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])";
	exmenu1.Items().ToString(var_s);
}
3:
How do I change the drop down menu's border

public void init()
{
	str var_s;
	;

	super();

	exmenu1.Border(1/*FlatBorder*/);
	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])";
	exmenu1.Items().ToString(var_s);
}
2:
How do I change the control's border, using your EBN files

public void init()
{
	str var_s;
	;

	super();

	exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmenu1.MenuBarBorder(16777216);
	exmenu1.Border(16777216);
	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])";
	exmenu1.Items().ToString(var_s);
}
1:
How do I change the control's border

public void init()
{
	str var_s;
	;

	super();

	exmenu1.MenuBarBorder(1/*FlatBorder*/);
	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])";
	exmenu1.Items().ToString(var_s);
}