495:
Is there a way to change the dropdown button arrow to something else ( ebn, sample 3 )

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	excombobox1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzVI";
	var_s = var_s + "UcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4a";
	var_s = var_s + "DhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DBe";
	var_s = var_s + "EMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDIB";
	var_s = var_s + "ICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAokG";
	var_s = var_s + "KHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhuZwJkYcoagiZ5+HQFRngmZh6h6Z5JnYfodCaCgGBcOpfBQBCAgA==";
	excombobox1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	excombobox1.Background(4/*exDropDownButtonUp*/,0x1000000);
	excombobox1.Background(5/*exDropDownButtonDown*/,0x1f0f0f0);
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SelectItem(h,true);
	excombobox1.EndUpdate();
}
494:
Is there a way to change the dropdown button arrow to something else ( ebn, sample 2 )

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	excombobox1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAAEhABKgCg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzVI";
	var_s = var_s + "UcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4a";
	var_s = var_s + "DhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DBe";
	var_s = var_s + "EMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/EeH5wiITwUkWMRsF4PYgEeaZ3gGYBoCWeICk6V5wnMf4FDCAAfAiYQgg4A";
	var_s = var_s + "YAmAWC7gIIYnm2fR/mEUYAF4GIFFEVBYgUYR4BCdoGmKSB6A+CAhDGBBfBiT4IlSdQ9A8WIWCeBJihgZgcg+YJoEIFYMiMSJWAaDZjhiGgogCIooG4QYMAIOQSDUPgil";
	var_s = var_s + "ONhIg6JI4GIK4LiQKJGDOFJgGMbJbDcDg5hYR4OCWCJyEyAQiCGChDheZBoDIYg3AMIJEVYQ4AnoZQ4mYeQmDsCJGmGNBwDQTQDEaAQcCYCZKGOHRDHgVgVh4J4phoDI";
	var_s = var_s + "SAaEYkGsNhNhMahVhyaJIFSDiuAIBIBCCaJ5mYe4VGGOhyHaBRInIPIRH2D5qkaIopCEOhCieBxjnqKoNgSapaj6OIsE+apOiWJBnkqYo6isKpqiGdIwCwKpWiaJIOls";
	var_s = var_s + "Ho8jIa4JFaTIomwOZuBeMgrmifpKgGbR6lAI4lEaM4ymYKIKCKEpfjqbI6kSHgnEmc5GnIOpfBQBCAg=";
	excombobox1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	excombobox1.Background(4/*exDropDownButtonUp*/,0x1000000);
	excombobox1.Background(5/*exDropDownButtonDown*/,0x1808080);
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SelectItem(h,true);
	excombobox1.EndUpdate();
}
493:
Is there a way to change the dropdown button arrow to something else ( ebn, sample 1 )

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	excombobox1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAAEhABFACg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzVI";
	var_s = var_s + "UcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4a";
	var_s = var_s + "DhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DBe";
	var_s = var_s + "EMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5dlqIh/k8SAFnofxgDgFZ8gGH5ShYCgmiCQgeA6AghAgr5/EyWBUhCB";
	var_s = var_s + "ZPngZIvgaSpoHYEYBCEOAMnWCJGgiFgZgmYoIDiBw1iKSB+C4fQHhiRJjgyYoIlYJwXmOA56DqC5iAONIhg+S45AYNoQmGExqEYIJkgicZ2gsDRhG4ToSAgMZqFIOolE";
	var_s = var_s + "iHJzhWSIJGYUAZiWSBsi+EofEkGhiDaCIphSPIZmIcp2GoI4mkmDhGD4JwJgIPQkmcQwqHaCZKgmZI0h6ZwonCFIfmYKIch6IJMhoFh9ggXxIgydQZmjTR5iORhKEaB4";
	var_s = var_s + "PGAOgUkmD5KBiHItiaSwKHaE4CPuBoMVieJMmMH4qgofoIDsRx6jSZorksapGGUIoqiidJHi2RYKmSHIumEchAh2L5rFeWhUDqAxbBQSIxkeCwkjGMpOAsNpBH0Do3kU";
	var_s = var_s + "ASAg";
	excombobox1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	excombobox1.Background(4/*exDropDownButtonUp*/,0x1000000);
	excombobox1.Background(5/*exDropDownButtonDown*/,0x1808080);
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SelectItem(h,true);
	excombobox1.EndUpdate();
}
492:
Is there a way to change the dropdown button arrow to something else ( theme, ebn )

public void init()
{
	COM com_Appearance,com_Items;
	anytype var_Appearance,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	var_Appearance = excombobox1.VisualAppearance(); com_Appearance = var_Appearance;
		com_Appearance.Add(1,"XP:SCROLLBAR 1 6");
		com_Appearance.Add(2,"XP:SCROLLBAR 1 7");
	excombobox1.Background(4/*exDropDownButtonUp*/,0x1000000);
	excombobox1.Background(5/*exDropDownButtonDown*/,0x2000000);
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SelectItem(h,true);
	excombobox1.EndUpdate();
}
491:
Is there a way to change the dropdown button arrow to something else ( no visual theme )

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.UseVisualTheme(1099/*exBorderVisualTheme | exCheckBoxVisualTheme | exCalendarVisualTheme | exFilterBarVisualTheme | exHeaderVisualTheme*/);
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SelectItem(h,true);
	excombobox1.EndUpdate();
}
490:
Is there a way to change the dropdown button arrow to something else ( solid color )

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Background(5/*exDropDownButtonDown*/,WinApi::RGB2int(190,190,190));
	excombobox1.Background(4/*exDropDownButtonUp*/,WinApi::RGB2int(128,128,128));
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SelectItem(h,true);
	excombobox1.EndUpdate();
}
489:
How can I find if there is any filter applied to the control

// FilterChange event - Occurs when filter was changed.
void onEvent_FilterChange()
{
	;
	print( "If negative, the filter is present, else not" );
	print( excombobox1.Items().VisibleItemCount() );
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.TreeColumnIndex(-1);
	excombobox1.FilterInclude(4/*exMatchingItemsOnly*/);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("C1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
488:
How can I prevent showing the lines for the hierarchy while using the exMatchingItemsOnly option

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.TreeColumnIndex(-1);
	excombobox1.FilterInclude(4/*exMatchingItemsOnly*/);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("C1|C2");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
487:
Is there any method to get only the matched items and not the items with his parent

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.FilterInclude(4/*exMatchingItemsOnly*/);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("C1|C2");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
486:
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Column5,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Column5,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column1 = COM::createFromVariant(excombobox1.Columns().Add("DateTime")); com_Column1 = var_Column1;
		com_Column1.SortType(3/*SortDateTime*/);
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column2 = COM::createFromVariant(excombobox1.Columns().Add("Time")); com_Column2 = var_Column2;
		com_Column2.SortType(4/*SortTime*/);
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
		com_Column2.FormatColumn("time(value)");
	var_Column3 = COM::createFromVariant(excombobox1.Columns().Add("Numeric")); com_Column3 = var_Column3;
		com_Column3.SortType(1/*SortNumeric*/);
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column4 = COM::createFromVariant(excombobox1.Columns().Add("String")); com_Column4 = var_Column4;
		com_Column4.DisplayFilterButton(true);
		com_Column4.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/27/2010",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/27/2010 10:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),com_Items.CellCaption(h,COMVariant::createFromInt(1)));
		com_Items.CellCaption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(1));
		com_Items.CellCaption(h,COMVariant::createFromInt(4),com_Items.CellCaption(h,COMVariant::createFromInt(3)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/27/2011",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/27/2011 9:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),com_Items.CellCaption(h,COMVariant::createFromInt(1)));
		com_Items.CellCaption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(11));
		com_Items.CellCaption(h,COMVariant::createFromInt(4),com_Items.CellCaption(h,COMVariant::createFromInt(3)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("11/2/2010",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("11/2/2010 9:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),com_Items.CellCaption(h,COMVariant::createFromInt(1)));
		com_Items.CellCaption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(2));
		com_Items.CellCaption(h,COMVariant::createFromInt(4),com_Items.CellCaption(h,COMVariant::createFromInt(3)));
	var_Column5 = COM::createFromObject(excombobox1.Columns()).Item("DateTime"); com_Column5 = var_Column5;
	com_Column5.DisplayFilterDate(false);
	excombobox1.EndUpdate();
}
485:
How can I display a different column, on the control's label (method 2)

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.SingleEdit(true);
	excombobox1.LabelColumnIndex(1);
	excombobox1.DrawGridLines(2/*exVLines*/);
	COM::createFromVariant(excombobox1.Columns().Add("Column 1")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	COM::createFromVariant(excombobox1.Columns().Add("Column 2")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item 1 on <b>Column 1"),COMVariant::createFromInt(1),"Item 1 on <b>Column 2");
		com_Items.CellCaption(com_Items.AddItem("Item 2 on <b>Column 1"),COMVariant::createFromInt(1),"Item 2 on <b>Column 2");
		com_Items.CellCaption(com_Items.AddItem("Item 3 on <b>Column 1"),COMVariant::createFromInt(1),"Item 3 on <b>Column 2");
		com_Items.SelectItem(com_Items.FirstVisibleItem(),true);
	excombobox1.EndUpdate();
}
484:
How can I display a different column, on the control's label (method 1)

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.SingleEdit(true);
	excombobox1.SearchColumnIndex(1);
	excombobox1.DrawGridLines(2/*exVLines*/);
	COM::createFromVariant(excombobox1.Columns().Add("Column 1")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	COM::createFromVariant(excombobox1.Columns().Add("Column 2")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item 1 on <b>Column 1"),COMVariant::createFromInt(1),"Item 1 on <b>Column 2");
		com_Items.CellCaption(com_Items.AddItem("Item 2 on <b>Column 1"),COMVariant::createFromInt(1),"Item 2 on <b>Column 2");
		com_Items.CellCaption(com_Items.AddItem("Item 3 on <b>Column 1"),COMVariant::createFromInt(1),"Item 3 on <b>Column 2");
		com_Items.SelectItem(com_Items.FirstVisibleItem(),true);
	excombobox1.EndUpdate();
}
483:
How do I sort the index column as numeric

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void onEvent_InsertItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellData(_Item,COMVariant::createFromInt(1),com_Items.ItemToIndex(_Item));
}

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.DrawGridLines(-1/*exAllLines*/);
	excombobox1.ColumnAutoResize(true);
	excombobox1.ShowFocusRect(false);
	excombobox1.SingleEdit(true);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Next")); com_Column = var_Column;
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(4));
		com_Column.Def(52/*exHeaderPaddingLeft*/,COMVariant::createFromInt(4));
	var_Column1 = COM::createFromVariant(excombobox1.Columns().Add("Index")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.Width(48);
		com_Column1.FormatColumn("(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)");
		com_Column1.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column1.SortType(5/*SortUserData*/);
		com_Column1.Position(0);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
		com_Items.AddItem("Item 6");
		com_Items.AddItem("Item 7");
		com_Items.AddItem("Item 8");
		com_Items.AddItem("Item 9");
		com_Items.AddItem("Item 10");
	excombobox1.EndUpdate();
}
482:
How can I put icons/images into buttons

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.SingleEdit(true);
	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=";
	excombobox1.Images(COMVariant::createFromStr(var_s));
	excombobox1.Columns().Add("");
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("C+B")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(48);
		com_Column.FormatColumn("` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `");
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column.Def(3/*exCellButtonAutoWidth*/,COMVariant::createFromBoolean(true));
		com_Column.Position(0);
	excombobox1.DrawGridLines(2/*exVLines*/);
	excombobox1.DefaultItemHeight(20);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
		com_Items.AddItem("Item 6");
		com_Items.AddItem("Item 7");
		com_Items.AddItem("Item 8");
	excombobox1.EndUpdate();
}
481:
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

// CellButtonClick event - Fired after the user clicks on the cell of button type. 
void onEvent_CellButtonClick(int   _Item)
{
	;
	print( "CellButtonClick" );
	print( _Item );
	print( excombobox1.Key() );
}

// CellStateChanged event - Fired after cell's state has been changed.
void onEvent_CellStateChanged(int   _Item)
{
	;
	print( "CellStateChanged" );
	print( _Item );
	print( excombobox1.Key() );
}

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.SingleEdit(true);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 index ``");
	var_Column1 = COM::createFromVariant(excombobox1.Columns().Add("Def")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.Width(48);
		com_Column1.FormatColumn("`     `");
		com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column1.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column1.Def(3/*exCellButtonAutoWidth*/,COMVariant::createFromBoolean(true));
	excombobox1.Columns().Add("");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
	excombobox1.EndUpdate();
}
480:
How can I show only the matching items, while user types in the drop down control

// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
void onEvent_EditChange(int   _ColIndex)
{
	COM com_Items;
	anytype var_Items;
	str sLabel;
	;
	sLabel = excombobox1.EditText(_ColIndex);
	print( "Select the item that maches exactly the typing label: " );
	print( sLabel );
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.SelectItem(com_Items.FocusItem(),false);
		com_Items.SelectItem(com_Items.FindItem(sLabel,_ColIndex),true);
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	str sLabel;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.SingleEdit(true);
	excombobox1.AutoComplete(false);
	excombobox1.AutoSelect(false);
	excombobox1.AutoSearch(false);
	excombobox1.AutoDropDown(true);
	excombobox1.IntegralHeight(true);
	excombobox1.HeaderVisible(false);
	excombobox1.Columns().Add("Friends");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Fred");
		com_Items.AddItem("Tina");
		com_Items.AddItem("Tom");
	excombobox1.EndUpdate();
}
479:
How do I unselect/deselect the item (Simple style)
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(0/*Simple*/);
	excombobox1.Columns().Add("Def");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 3");
	excombobox1.SearchColumnIndex(0);
	excombobox1.Value("Item 2");
	var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
		com_Items1.SelectItem(com_Items1.FocusItem(),false);
	excombobox1.EndUpdate();
}
478:
How do I unselect/deselect the item (DropDownList style)
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(1/*DropDown*/);
	excombobox1.Columns().Add("Def");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 3");
	excombobox1.SearchColumnIndex(0);
	excombobox1.Value("Item 2");
	var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
		com_Items1.SelectItem(com_Items1.FocusItem(),false);
	excombobox1.EndUpdate();
}
477:
How do I unselect/deselect the item (DropDown style)
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(1/*DropDown*/);
	excombobox1.Columns().Add("Def");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 3");
	excombobox1.SearchColumnIndex(0);
	excombobox1.Value("Item 2");
	var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
		com_Items1.SelectItem(com_Items1.FocusItem(),false);
	excombobox1.EndUpdate();
}
476:
Setting the ForeColor to red and then setting Enabled property on False the ForeColor returns back to original color of black/gray. What can be done (Style is Simple)

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(0/*Simple*/);
	excombobox1.ColumnAutoResize(true);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("item a"),COMVariant::createFromInt(1),"item b");
		com_Items.CellCaption(com_Items.AddItem("item c"),COMVariant::createFromInt(1),"item d");
	excombobox1.Value("item a");
	excombobox1.ForeColor(WinApi::RGB2int(128,128,188));
	excombobox1.BackColor(WinApi::RGB2int(240,240,240));
	excombobox1.HeaderForeColor(WinApi::RGB2int(128,128,128));
	excombobox1.SelBackColor(WinApi::RGB2int(128,128,128));
	excombobox1.BackColorEdit(WinApi::RGB2int(0,0,0));
	excombobox1.ForeColorEdit(WinApi::RGB2int(255,255,255));
	excombobox1.Enabled(false);
	excombobox1.EndUpdate();
}
475:
Setting the ForeColor to red and then setting Enabled property on False the ForeColor returns back to original color of black/gray. What can be done (Style is DropDownList)

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.ColumnAutoResize(true);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("item a"),COMVariant::createFromInt(1),"item b");
		com_Items.CellCaption(com_Items.AddItem("item c"),COMVariant::createFromInt(1),"item d");
	excombobox1.Value("item a");
	excombobox1.BackColorEdit(WinApi::RGB2int(0,0,0));
	excombobox1.ForeColor(WinApi::RGB2int(255,255,255));
	excombobox1.Enabled(false);
	excombobox1.EndUpdate();
}
474:
Setting the ForeColor to red and then setting Enabled property on False the ForeColor returns back to original color of black/gray. What can be done (Style is DropDown)

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(1/*DropDown*/);
	excombobox1.ColumnAutoResize(true);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("item a"),COMVariant::createFromInt(1),"item b");
		com_Items.CellCaption(com_Items.AddItem("item c"),COMVariant::createFromInt(1),"item d");
	excombobox1.Value("item a");
	excombobox1.ForeColorEdit(WinApi::RGB2int(255,255,255));
	excombobox1.BackColorEdit(WinApi::RGB2int(0,0,0));
	excombobox1.Enabled(false);
	excombobox1.EndUpdate();
}
473:
How would you clear the displayed selection for style DropDownList. So if a user selects or searches a value in a style DropDownList, I want to know if I can reset the control back to an empty selection

// DropUp event - Occurs when the drop-down portion of the control is hidden.
void onEvent_DropUp()
{
	;
	excombobox1.Value("");
}

// SelectionChanged event - Fired after a new item has been selected.
void onEvent_SelectionChanged()
{
	;
	print( "You selected: " );
	print( excombobox1.Value() );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.HeaderVisible(false);
	excombobox1.AutoSearch(true);
	excombobox1.AutoDropDown(true);
	excombobox1.IntegralHeight(true);
	COM::createFromVariant(excombobox1.Columns().Add("Default")).AutoSearch(1/*exContains*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("This is a bit of text");
		com_Items.AddItem("This is a another text");
		com_Items.DefaultItem(com_Items.InsertItem(,,""));
		com_Items.ItemPosition(0,0);
		com_Items.SortableItem(0,false);
	excombobox1.EndUpdate();
}
472:
I cannot seem to get autosearch=1 (contains) in the column object to search properly. It still only finds items that start with the typed character. I want to it look to see if the typed character(s) are contained in the item. I Can't seem to get this to work

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.HeaderVisible(false);
	excombobox1.AutoSearch(true);
	excombobox1.AutoDropDown(true);
	excombobox1.IntegralHeight(true);
	COM::createFromVariant(excombobox1.Columns().Add("Default")).AutoSearch(1/*exContains*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("This is a bit of text");
		com_Items.AddItem("This is a another text");
	excombobox1.EndUpdate();
}
471:
If the user selects an item from the list, how can I clear that selection and return the control to the unselected state with the PROMPT text

// DropUp event - Occurs when the drop-down portion of the control is hidden.
void onEvent_DropUp()
{
	;
	excombobox1.EditText(COMVariant::createFromInt(0),"");
}

// SelectionChanged event - Fired after a new item has been selected.
void onEvent_SelectionChanged()
{
	;
	print( "You selected:  " );
	print( excombobox1.Value() );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LabelHeight(23);
	excombobox1.IntegralHeight(true);
	excombobox1.AutoComplete(false);
	excombobox1.AutoSearch(false);
	excombobox1.AutoDropDown(true);
	COM::createFromVariant(excombobox1.Columns().Add("Default")).Prompt("<i><fgcolor=808080>type something</fgcolor></i>");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	excombobox1.EndUpdate();
}
470:
How do I get notified once the user changes the Filter For field
// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
void onEvent_EditChange(int   _ColIndex)
{
	;
	print( "ColIndex: " );
	print( _ColIndex );
	print( "Label: " );
	print( excombobox1.EditText(COMVariant::createFromInt(0)) );
	print( "FilterFor: " );
	print( excombobox1.EditText(COMVariant::createFromInt(-1)) );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.FilterForVisible(true);
	excombobox1.FilterForBackColor(WinApi::RGB2int(240,240,240));
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
	excombobox1.EndUpdate();
}
469:
I am using the ScrollWidth/ScrollHeight property on 0 to hide the control's scroll bars, the question is that the drop down button is disappearing. What can be done so I can still show the drop down button

public void init()
{
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LabelHeight(40);
	excombobox1.ScrollWidth(0);
	excombobox1.ScrollHeight(0);
	excombobox1.DropDownButtonWidth(40);
	excombobox1.EndUpdate();
}
468:
Does your control supports scrolling by touching the screen

public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.ColumnAutoResize(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\SAMPLE.MDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	excombobox1.DataSource(rs);
	excombobox1.ScrollBySingleLine(true);
	excombobox1.AutoDrag(4112/*exAutoDragScrollOnShortTouch | exAutoDragScroll*/);
	excombobox1.EndUpdate();
}
467:
How can I make bigger/enlarge the control's drop down button

public void init()
{
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LabelHeight(40);
	excombobox1.ScrollWidth(40);
	excombobox1.EndUpdate();
}
466:
How do I select a NULL/empty value

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.Columns().Add("Items");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.DefaultItem(com_Items.InsertItem(,,""));
		com_Items.ItemPosition(0,0);
		com_Items.SortableItem(0,false);
	excombobox1.Value("");
	excombobox1.EndUpdate();
}
465:
How can I add a vertical padding

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.DrawGridLines(-1/*exAllLines*/);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Padding")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(6));
		com_Column.Def(49/*exCellPaddingRight*/,COMVariant::createFromInt(6));
		com_Column.Def(50/*exCellPaddingTop*/,COMVariant::createFromInt(6));
		com_Column.Def(51/*exCellPaddingBottom*/,COMVariant::createFromInt(6));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("padding");
		com_Items.AddItem("padding");
	excombobox1.EndUpdate();
}
464:
How can I add or change the padding (spaces) for captions in the control's header

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Padding-Left")).Def(52/*exHeaderPaddingLeft*/,COMVariant::createFromInt(18));
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Padding-Right")); com_Column = var_Column;
		com_Column.Def(53/*exHeaderPaddingRight*/,COMVariant::createFromInt(18));
		com_Column.HeaderAlignment(2/*RightAlignment*/);
	excombobox1.EndUpdate();
}
463:
Is it possible to change the height for all items at once

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Columns().Add("Items");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(0,true);
	excombobox1.EndUpdate();
	excombobox1.DefaultItemHeight(12);
	excombobox1.Items().ItemHeight(0,12);
}
462:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Car")); com_Column = var_Column;
			com_Column.DisplayFilterButton(true);
			com_Column.FilterType(240/*exFilter*/);
			com_Column.Filter("MAZDA");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Equipment")); com_Column1 = var_Column1;
			com_Column1.DisplayFilterButton(true);
			com_Column1.DisplayFilterPattern(false);
			com_Column1.CustomFilter("Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
			com_Column1.FilterType(3/*exPattern*/);
			com_Column1.Filter("AIR BAG");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
461:
How can I have a case-sensitive filter

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Car")); com_Column = var_Column;
			com_Column.DisplayFilterButton(true);
			com_Column.FilterType(496/*exFilterDoCaseSensitive | exFilter*/);
			com_Column.Filter("Mazda");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Equipment")); com_Column1 = var_Column1;
			com_Column1.DisplayFilterButton(true);
			com_Column1.DisplayFilterPattern(false);
			com_Column1.CustomFilter("Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
			com_Column1.FilterType(259/*exFilterDoCaseSensitive | exPattern*/);
			com_Column1.Filter("Air Bag");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
460:
Is it possible to filter the items as I type

// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
void onEvent_EditChange(int   _ColIndex)
{
	COM com_Column;
	anytype var_Column;
	;
	var_Column = COM::createFromObject(excombobox1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.Filter(excombobox1.EditText(COMVariant::createFromInt(0)));
	excombobox1.ApplyFilter();
}

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	excombobox1.SingleEdit(true);
	excombobox1.AutoComplete(false);
	excombobox1.AutoDropDown(true);
	excombobox1.IntegralHeight(true);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Items")); com_Column = var_Column;
			com_Column.Prompt("<i><fgcolor=808080>Start Filter</fgcolor></i>");
			com_Column.FilterType(3/*exPattern*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.AddItem("C");
		com_Items.AddItem("AB");
		com_Items.AddItem("AC");
		com_Items.AddItem("BA");
		com_Items.AddItem("BC");
		com_Items.AddItem("CC");
	excombobox1.EndUpdate();
}
459:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.AddItem("C");
		com_Items.AddItem("D");
	excombobox1.EditText(COMVariant::createFromInt(0),"C");
}
458:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.AddItem("C");
		com_Items.AddItem("D");
	excombobox1.EditText(COMVariant::createFromInt(0),excombobox1.Items().CellCaption(excombobox1.Items().ItemByIndex(2),COMVariant::createFromInt(0)));
}
457:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.AddItem("C");
		com_Items.AddItem("D");
	excombobox1.Select(COMVariant::createFromInt(0),excombobox1.Items().CellCaption(excombobox1.Items().ItemByIndex(2),COMVariant::createFromInt(0)));
}
456:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.AddItem("C");
		com_Items.AddItem("D");
	excombobox1.Select(COMVariant::createFromInt(0),"C");
}
455:
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

public void init()
{
	COM com_Column,com_ConditionalFormat,com_Items;
	anytype var_Column,var_ConditionalFormat,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	excombobox1.Columns().Add("C1");
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("C2")); com_Column = var_Column;
		com_Column.HeaderBold(true);
		com_Column.HTMLCaption("<fgcolor=FF0000>C2");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(11));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(12)),COMVariant::createFromInt(1),COMVariant::createFromInt(13));
	excombobox1.EndUpdate();
}
454:
How can I add a horizontal scroll bar

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s,var_s1;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.ScrollBySingleLine(true);
	excombobox1.ColumnAutoResize(false);
	excombobox1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Default")); com_Column = var_Column;
		com_Column.Width(512);
		com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		var_s = "Exontrol is devoted to create innovative user interface components for Windows applications, on COM or .NET platforms, since 199";
		var_s = var_s + "9. \"eXontrol\" comes from e(s)pecial (c)ontrol, where sc makes the X. We are a vendor not a reseller, and this is the single site";
		var_s = var_s + " where you can try or buy our products. If you are tired of looking for \"powerful\" components now it's time to show you real com";
		var_s = var_s + "ponents. No registration required, no nag screens, no limitations, unlimited evaluation time.";
		com_Items.AddItem(COMVariant::createFromStr(var_s));
		var_s1 = "A combo box is a commonly-used GUI tool. It is a combination of a drop-down list or list box and a single-line textbox, allowing";
		var_s1 = var_s1 + " the user either to type a value directly into the control or choose from the list of existing options.";
		com_Items.AddItem(COMVariant::createFromStr(var_s1));
	excombobox1.EndUpdate();
}
453:
Does the control have the option to have a horizontal scroll to show entries which are longer than the display

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s,var_s1;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.ColumnAutoResize(false);
	COM::createFromVariant(excombobox1.Columns().Add("Default")).Width(512);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		var_s = "Exontrol is devoted to create innovative user interface components for Windows applications, on COM or .NET platforms, since 199";
		var_s = var_s + "9. \"eXontrol\" comes from e(s)pecial (c)ontrol, where sc makes the X. We are a vendor not a reseller, and this is the single site";
		var_s = var_s + " where you can try or buy our products. If you are tired of looking for \"powerful\" components now it's time to show you real com";
		var_s = var_s + "ponents. No registration required, no nag screens, no limitations, unlimited evaluation time.";
		com_Items.AddItem(COMVariant::createFromStr(var_s));
		var_s1 = "A combo box is a commonly-used GUI tool. It is a combination of a drop-down list or list box and a single-line textbox, allowing";
		var_s1 = var_s1 + " the user either to type a value directly into the control or choose from the list of existing options.";
		com_Items.AddItem(COMVariant::createFromStr(var_s1));
	excombobox1.EndUpdate();
}
452:
Is it possible to auto-numbering the children items but still keeps the position after filtering

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Column5,com_Column6,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Column5,var_Column6,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Child 2");
	var_Column1 = COM::createFromVariant(excombobox1.Columns().Add("Pos.1")); com_Column1 = var_Column1;
		com_Column1.FormatColumn("1 ropos ''");
		com_Column1.Position(0);
		com_Column1.Width(32);
		com_Column1.AllowSizing(false);
	var_Column2 = COM::createFromVariant(excombobox1.Columns().Add("Pos.2")); com_Column2 = var_Column2;
		com_Column2.FormatColumn("1 ropos ':'");
		com_Column2.Position(1);
		com_Column2.Width(32);
		com_Column2.AllowSizing(false);
	var_Column3 = COM::createFromVariant(excombobox1.Columns().Add("Pos.3")); com_Column3 = var_Column3;
		com_Column3.FormatColumn("1 ropos ':|A-Z'");
		com_Column3.Position(2);
		com_Column3.Width(32);
		com_Column3.AllowSizing(false);
	var_Column4 = COM::createFromVariant(excombobox1.Columns().Add("Pos.4")); com_Column4 = var_Column4;
		com_Column4.FormatColumn("1 ropos '|A-Z|'");
		com_Column4.Position(3);
		com_Column4.Width(32);
		com_Column4.AllowSizing(false);
	var_Column5 = COM::createFromVariant(excombobox1.Columns().Add("Pos.5")); com_Column5 = var_Column5;
		com_Column5.FormatColumn("'<font Tahoma;7>' + 1 ropos '-<b>||A-Z'");
		com_Column5.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column5.Position(4);
		com_Column5.Width(32);
		com_Column5.AllowSizing(false);
	var_Column6 = COM::createFromVariant(excombobox1.Columns().Add("Pos.6")); com_Column6 = var_Column6;
		com_Column6.FormatColumn("'<b>'+ 1 ropos '</b>:<fgcolor=FF0000>|A-Z|'");
		com_Column6.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column6.Position(5);
		com_Column6.Width(48);
		com_Column6.AllowSizing(false);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
451:
How do I prevent scrolling the control's data after user does the sort

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	excombobox1.EnsureOnSort(false);
	excombobox1.Columns().Add("Column");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
	excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
	excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
	excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
	var_Column = COM::createFromObject(excombobox1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
}
450:
Is it possible to auto-numbering the children items too

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Column5,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Column5,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Columns().Add("Items");
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Pos.1")); com_Column = var_Column;
		com_Column.FormatColumn("1 rpos ''");
		com_Column.Position(0);
		com_Column.Width(32);
		com_Column.AllowSizing(false);
	var_Column1 = COM::createFromVariant(excombobox1.Columns().Add("Pos.2")); com_Column1 = var_Column1;
		com_Column1.FormatColumn("1 rpos ':'");
		com_Column1.Position(1);
		com_Column1.Width(32);
		com_Column1.AllowSizing(false);
	var_Column2 = COM::createFromVariant(excombobox1.Columns().Add("Pos.3")); com_Column2 = var_Column2;
		com_Column2.FormatColumn("1 rpos ':|A-Z'");
		com_Column2.Position(2);
		com_Column2.Width(32);
		com_Column2.AllowSizing(false);
	var_Column3 = COM::createFromVariant(excombobox1.Columns().Add("Pos.4")); com_Column3 = var_Column3;
		com_Column3.FormatColumn("1 rpos '|A-Z|'");
		com_Column3.Position(3);
		com_Column3.Width(32);
		com_Column3.AllowSizing(false);
	var_Column4 = COM::createFromVariant(excombobox1.Columns().Add("Pos.5")); com_Column4 = var_Column4;
		com_Column4.FormatColumn("'<font Tahoma;7>' + 1 rpos '-<b>||A-Z'");
		com_Column4.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column4.Position(4);
		com_Column4.Width(32);
		com_Column4.AllowSizing(false);
	var_Column5 = COM::createFromVariant(excombobox1.Columns().Add("Pos.6")); com_Column5 = var_Column5;
		com_Column5.FormatColumn("'<b>'+ 1 rpos '</b>:<fgcolor=FF0000>|A-Z|'");
		com_Column5.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column5.Position(5);
		com_Column5.Width(48);
		com_Column5.AllowSizing(false);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	excombobox1.EndUpdate();
}
449:
How can I show the child items with no identation

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.LinesAtRoot(5/*exGroupLinesOutside*/);
	excombobox1.Indent(12);
	excombobox1.HasLines(2/*exThinLine*/);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
}
448:
Is there other ways of showing the hierarchy lines (exGroupLinesAtRoot)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	excombobox1.Indent(12);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
447:
Is there other ways of showing the hierarchy lines (exGroupLinesOutside)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.LinesAtRoot(5/*exGroupLinesOutside*/);
	excombobox1.Indent(12);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
}
446:
Is there other ways of showing the hierarchy lines (exGroupLinesInsideLeaf)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.LinesAtRoot(4/*exGroupLinesInsideLeaf*/);
	excombobox1.Indent(12);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
445:
Is there other ways of showing the hierarchy lines (exGroupLinesInside)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.LinesAtRoot(3/*exGroupLinesInside*/);
	excombobox1.Indent(12);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
444:
Is there other ways of showing the hierarchy lines (exGroupLines)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.LinesAtRoot(2/*exGroupLines*/);
	excombobox1.Indent(12);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(com_Items.InsertItem(h,,"Child 2"),,"SubChild 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
443:
Is it possible display numbers in the same format no matter of regional settings in the control panel

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default positive)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '2|.|3|,|1|1')");
		h = com_Items.AddItem(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default negative)'");
		h = com_Items.AddItem(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '2|.|3|,|1|1')");
	excombobox1.EndUpdate();
}
442:
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(0.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.AddItem(COMVariant::createFromReal(0.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'");
	excombobox1.EndUpdate();
}
441:
How can I specify the format for negative numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.AddItem(COMVariant::createFromReal(-100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
	excombobox1.EndUpdate();
}
440:
Is it possible to change the grouping character when display numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'");
	excombobox1.EndUpdate();
}
439:
How can I display numbers with 2 digits in each group

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100000.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'");
	excombobox1.EndUpdate();
}
438:
How can I display my numbers using a different decimal separator

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'");
	excombobox1.EndUpdate();
}
437:
Is it possible to display the numbers using 3 (three) digits

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	COM::createFromVariant(excombobox1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '3') +  ' <fgcolor=808080>(3 digits)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format 2) +  '  <fgcolor=808080>(2 digits)'");
		h = com_Items.AddItem(COMVariant::createFromReal(100.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format 1) +  ' <fgcolor=808080>(1 digit)'");
	excombobox1.EndUpdate();
}
436:
Is it possible to format numbers

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Columns,var_Items;
	int h,h1;
	str var_s;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		var_Column = COM::createFromVariant(com_Columns.Add("A")); com_Column = var_Column;
			com_Column.SortType(1/*SortNumeric*/);
			com_Column.AllowSizing(false);
			com_Column.Width(36);
			com_Column.FormatColumn("len(value) ? value + ' +'");
		var_Column1 = COM::createFromVariant(com_Columns.Add("B")); com_Column1 = var_Column1;
			com_Column1.SortType(1/*SortNumeric*/);
			com_Column1.AllowSizing(false);
			com_Column1.Width(36);
			com_Column1.FormatColumn("len(value) ? value + ' +'");
		var_Column2 = COM::createFromVariant(com_Columns.Add("C")); com_Column2 = var_Column2;
			com_Column2.SortType(1/*SortNumeric*/);
			com_Column2.AllowSizing(false);
			com_Column2.Width(36);
			com_Column2.FormatColumn("len(value) ? value + ' ='");
		var_Column3 = COM::createFromVariant(com_Columns.Add("A+B+C")); com_Column3 = var_Column3;
			com_Column3.SortType(1/*SortNumeric*/);
			com_Column3.Width(64);
			com_Column3.ComputedField("dbl(%1)+dbl(%2)+dbl(%3)");
			var_s = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=000";
			var_s = var_s + "0FF>+'+(value format '2|.|3|,' ): '0.00') )";
			com_Column3.FormatColumn(var_s);
			com_Column3.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(4),2/*exComputedField*/);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(7));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(3));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(1));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(-2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(-2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(-4));
		h1 = com_Items.InsertItem(h,,"Child 3");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(-4));
		com_Items.ExpandItem(h,true);
	excombobox1.EndUpdate();
}
435:
Is it possible to limit the height of the item while resizing

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void onEvent_InsertItem(int   _Item)
{
	;
	excombobox1.Items().ItemMinHeight(_Item,18);
	excombobox1.Items().ItemMaxHeight(_Item,72);
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.ItemsAllowSizing(-1/*exResizeItem*/);
	excombobox1.ScrollBySingleLine(false);
	excombobox1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	excombobox1.Columns().Add("Names");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Mantel");
		com_Items.AddItem("Mechanik");
		com_Items.AddItem("Motor");
		com_Items.AddItem("Murks");
		com_Items.AddItem("Märchen");
		com_Items.AddItem("Möhren");
		com_Items.AddItem("Mühle");
	var_Column = COM::createFromObject(excombobox1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	excombobox1.EndUpdate();
}
434:
How can I simulate displaying groups

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h,h1;
	;

	super();

	excombobox1.HasLines(0/*exNoLine*/);
	excombobox1.ScrollBySingleLine(true);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		com_Columns.Add("A");
		com_Columns.Add("B");
		com_Columns.Add("C");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Group 1");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,3/*DividerBoth*/);
		com_Items.ItemHeight(h,24);
		com_Items.SortableItem(h,false);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(6));
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Group 2");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,3/*DividerBoth*/);
		com_Items.ItemHeight(h,24);
		com_Items.SortableItem(h,false);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(6));
		com_Items.ExpandItem(h,true);
}
433:
How can I specify an item to be always the first item

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.TreeColumnIndex(-1);
	COM::createFromVariant(excombobox1.Columns().Add("Numbers")).SortType(1/*SortNumeric*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
		com_Items.AddItem(COMVariant::createFromInt(4));
		h = com_Items.AddItem("first");
		com_Items.ItemPosition(h,0);
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),2/*RightAlignment*/);
		com_Items.SortableItem(h,false);
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
	excombobox1.EndUpdate();
}
432:
How can I specify an item to be always the last item

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.TreeColumnIndex(-1);
	COM::createFromVariant(excombobox1.Columns().Add("Numbers")).SortType(1/*SortNumeric*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
		com_Items.AddItem(COMVariant::createFromInt(4));
		h = com_Items.AddItem("last");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),2/*RightAlignment*/);
		com_Items.SortableItem(h,false);
		com_Items.SortChildren(0,COMVariant::createFromInt(0),true);
	excombobox1.EndUpdate();
}
431:
Can I allow sorting only the child items

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Columns().Add("Childs");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.SortableItem(h,false);
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.SortableItem(h,false);
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	excombobox1.EndUpdate();
}
430:
Can I specify a terminal item so it will mark the end of childs

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.ScrollBySingleLine(true);
	excombobox1.Columns().Add("P1");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.InsertItem(h,"","");
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,1/*DividerCenter*/);
		com_Items.ItemHeight(h,2);
		com_Items.SelectableItem(h,false);
		com_Items.SortableItem(h,false);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.InsertItem(h,"","");
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,1/*DividerCenter*/);
		com_Items.ItemHeight(h,2);
		com_Items.SelectableItem(h,false);
		com_Items.SortableItem(h,false);
	excombobox1.EndUpdate();
}
429:
Is it possible to specify an item being unsortable so its position won't be changed after sorting

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.TreeColumnIndex(-1);
	COM::createFromVariant(excombobox1.Columns().Add("Numbers")).SortType(1/*SortNumeric*/);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
		com_Items.AddItem(COMVariant::createFromInt(4));
		h = com_Items.AddItem("top 3");
		com_Items.ItemPosition(h,3);
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),2/*RightAlignment*/);
		com_Items.SortableItem(h,false);
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
	excombobox1.EndUpdate();
}
428:
Can I specify an item to be a separator

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.TreeColumnIndex(-1);
	excombobox1.SortOnClick(0/*exNoSort*/);
	excombobox1.Columns().Add("Numbers");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		h = com_Items.AddItem("separator");
		com_Items.SelectableItem(h,false);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,1/*DividerCenter*/);
		com_Items.ItemDividerLine(h,5/*ThinLine*/);
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.AddItem(COMVariant::createFromInt(3));
		com_Items.AddItem(COMVariant::createFromInt(4));
	excombobox1.EndUpdate();
}
427:
How can I collapse all items

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Columns().Add("Items");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(0,false);
	excombobox1.EndUpdate();
}
426:
How can I expand all items

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	excombobox1.Columns().Add("Items");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(0,true);
	excombobox1.EndUpdate();
}
425:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	excombobox1.Columns().Add("Value");
	excombobox1.Columns().Add("FormatCell");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromInt(12));
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"currency(value)");
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(1),1/*exHTML*/);
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"longdate(value) replace '2001' with '<b>2001</b>'");
	excombobox1.EndUpdate();
}
424:
How can I change the foreground color for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(8/*exHeaderForeColor*/,COMVariant::createFromInt(8439039));
		com_Columns.Add("Column 3");
}
423:
How can I change the background color for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(7/*exHeaderBackColor*/,COMVariant::createFromInt(8439039));
		com_Columns.Add("Column 3");
}
422:
How can I display the column using currency format and enlarge the font for certain values

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Currency")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("9.94");
		com_Items.AddItem("11.94");
		com_Items.AddItem("1000");
}
421:
How can I highlight only parts of the cells

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	var_Column = COM::createFromVariant(excombobox1.Columns().Add("")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
420:
How can I get the number of occurrences of a specified string in the cell

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	excombobox1.Columns().Add("");
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("occurrences")); com_Column = var_Column;
		com_Column.ComputedField("lower(%0) count 'o'");
		com_Column.FormatColumn("'contains ' + value + ' of \\'o\\' chars'");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1 oooof the root");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
419:
How can I display dates in my format

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/21/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/22/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/24/2004",213)));
}
418:
How can I display dates in short format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(excombobox1.Columns().Add("Date")).FormatColumn("shortdate(value)");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/2/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/3/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/4/2004",213)));
}
417:
How can I display dates in long format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(excombobox1.Columns().Add("Date")).FormatColumn("longdate(value)");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/2/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/3/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/4/2004",213)));
}
416:
How can I display only the right part of the cell

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	excombobox1.Columns().Add("");
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Right")); com_Column = var_Column;
		com_Column.ComputedField("%0 right 2");
		com_Column.FormatColumn("'\"' + value + '\"'");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"SChild 3");
		com_Items.ExpandItem(h,true);
}
415:
How can I display true or false instead 0 and -1

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(excombobox1.Columns().Add("Boolean")).FormatColumn("value != 0 ? 'true' : 'false'");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromBoolean(false));
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
}
414:
How can I display icons or images instead numbers

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	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=";
	excombobox1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Icons")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("'The cell displays the icon <img>'+value+'</img> instead ' + value");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
}
413:
How can I display the column using currency

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(excombobox1.Columns().Add("Currency")).FormatColumn("currency(dbl(value))");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("0");
		com_Items.AddItem(COMVariant::createFromInt(5));
		com_Items.AddItem("10000.99");
}
412:
How can I filter programatically using more columns

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.MarkSearchColumn(false);
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Car");
		com_Columns.Add("Equipment");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	var_Column = COM::createFromObject(excombobox1.Columns()).Item("Car"); com_Column = var_Column;
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Mazda");
	var_Column1 = COM::createFromObject(excombobox1.Columns()).Item("Equipment"); com_Column1 = var_Column1;
		com_Column1.FilterType(3/*exPattern*/);
		com_Column1.Filter("*ABS*|*ESP*");
	excombobox1.ApplyFilter();
	excombobox1.EndUpdate();
}
411:
I need a combobox that supports selecting multiple items, preferably with checkboxes. I can't find an example of how to do this. Does your control support it

// CellStateChanged event - Fired after cell's state has been changed.
void onEvent_CellStateChanged(int   _Cell)
{
	;
	excombobox1.LabelText(_Cell);
	print( excombobox1.Items().CellCaption(COMVariant::createFromInt(0),_Cell) );
	print( excombobox1.Items().CellState(COMVariant::createFromInt(0),_Cell) );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.HeaderVisible(false);
	excombobox1.SingleEdit(true);
	excombobox1.SearchColumnIndex(-1);
	excombobox1.AdjustSearchColumn(false);
	COM::createFromVariant(excombobox1.Columns().Add("Language")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("English");
		com_Items.AddItem("Hebrew");
		com_Items.AddItem("Spanish");
	excombobox1.EndUpdate();
}
410:
How can I display a different caption in the label area, when I click the cell's check box

// CellStateChanged event - Fired after cell's state has been changed.
void onEvent_CellStateChanged(int   _Cell)
{
	;
	excombobox1.LabelText(_Cell);
	print( excombobox1.Items().CellCaption(COMVariant::createFromInt(0),_Cell) );
	print( excombobox1.Items().CellState(COMVariant::createFromInt(0),_Cell) );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.HeaderVisible(false);
	excombobox1.SingleEdit(true);
	excombobox1.SearchColumnIndex(-1);
	excombobox1.AdjustSearchColumn(false);
	COM::createFromVariant(excombobox1.Columns().Add("Language")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("English");
		com_Items.AddItem("Hebrew");
		com_Items.AddItem("Spanish");
	excombobox1.LabelText(" <b>custom</b> text ");
	excombobox1.EndUpdate();
}
409:
How can I display a different caption in the label area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.Style(2/*DropDownList*/);
	excombobox1.IntegralHeight(true);
	excombobox1.HeaderVisible(false);
	excombobox1.SingleEdit(true);
	excombobox1.SearchColumnIndex(-1);
	excombobox1.AdjustSearchColumn(false);
	COM::createFromVariant(excombobox1.Columns().Add("Language")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("English");
		com_Items.AddItem("Hebrew");
		com_Items.AddItem("Spanish");
	excombobox1.LabelText(" <b>custom</b> text ");
	excombobox1.EndUpdate();
}
408:
How can I change the background appearance (ebn) for the filter field in the bottom part of the drop down portion

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	excombobox1.FilterForVisible(true);
	excombobox1.FilterForBackColor(0x1000000);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
	excombobox1.EndUpdate();
}
407:
How can I change the background color for the filter field in the bottom part of the drop down portion

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.FilterForVisible(true);
	excombobox1.FilterForBackColor(WinApi::RGB2int(240,240,240));
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
	excombobox1.EndUpdate();
}
406:
How can I display a filter field in the bottom part of the drop down portion

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.FilterForVisible(true);
	excombobox1.IntegralHeight(true);
	excombobox1.Columns().Add("Default");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 4");
		com_Items.AddItem("Item 5");
	excombobox1.EndUpdate();
}
405:
Does your control support RightToLeft property for RTL languages or right to left

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	excombobox1.BeginUpdate();
	excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(excombobox1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	excombobox1.RightToLeft(true);
	excombobox1.EndUpdate();
}
404:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	excombobox1.BeginUpdate();
	var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
		com_Columns.Add("C4");
		com_Columns.Add("C5");
		com_Columns.Add("C6");
		com_Columns.Add("C7");
		com_Columns.Add("C8");
	excombobox1.RightToLeft(true);
	excombobox1.EndUpdate();
}
403:
Can I display the cell's check box after the text

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(34/*exCellDrawPartsOrder*/,"caption,check");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		com_Items.CellHasCheckBox(com_Items.AddItem("Caption 1"),COMVariant::createFromInt(0),true);
		com_Items.CellHasCheckBox(com_Items.AddItem("Caption 2"),COMVariant::createFromInt(0),true);
}
402:
Can I change the order of the parts in the cell, as checkbox after the text, and so on

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	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=";
	excombobox1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(excombobox1.Columns().Add("Column")).Def(34/*exCellDrawPartsOrder*/,"caption,check,icon,icons,picture");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Text");
		com_Items.CellImage(h,COMVariant::createFromInt(0),1);
		com_Items.CellHasCheckBox(h,COMVariant::createFromInt(0),true);
}
401:
Can I have an image displayed after the text. Can I get that effect without using HTML content

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	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=";
	excombobox1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(excombobox1.Columns().Add("Column")).Def(34/*exCellDrawPartsOrder*/,"caption,icon,check,icons,picture");
	var_Items = excombobox1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Text");
		com_Items.CellImage(h,COMVariant::createFromInt(0),1);
}