439. How can I change the background appearance (ebn) for the filter field in the bottom part of the drop down portion
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BeginUpdate();
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.FilterForVisible = true;
excombobox1.FilterForBackColor32 = 0x1000000;
excombobox1.ColumnAutoResize = true;
excombobox1.IntegralHeight = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
excombobox1.EndUpdate();
438. How can I change the background color for the filter field in the bottom part of the drop down portion
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BeginUpdate();
excombobox1.FilterForVisible = true;
excombobox1.FilterForBackColor = Color.FromArgb(240,240,240);
excombobox1.ColumnAutoResize = true;
excombobox1.IntegralHeight = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
excombobox1.EndUpdate();
437. How can I display a filter field in the bottom part of the drop down portion
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BeginUpdate();
excombobox1.FilterForVisible = true;
excombobox1.ColumnAutoResize = true;
excombobox1.IntegralHeight = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
excombobox1.EndUpdate();
436. Does your control support RightToLeft property for RTL languages or right to left
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BeginUpdate();
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("P1") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
excombobox1.RightToLeft = true;
excombobox1.EndUpdate();
435. Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BeginUpdate();
exontrol.EXCOMBOBOXLib.Columns var_Columns = excombobox1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	var_Columns.Add("C4");
	var_Columns.Add("C5");
	var_Columns.Add("C6");
	var_Columns.Add("C7");
	var_Columns.Add("C8");
excombobox1.RightToLeft = true;
excombobox1.EndUpdate();
434. Can I display the cell's check box after the text
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellHasCheckBox(var_Items.AddItem("Caption 1"),0,true);
	var_Items.set_CellHasCheckBox(var_Items.AddItem("Caption 2"),0,true);
433. Can I change the order of the parts in the cell, as checkbox after the text, and so on
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Text");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellHasCheckBox(h,0,true);
432. Can I have an image displayed after the text. Can I get that effect without using HTML content
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellDrawPartsOrder,"caption,icon,check,icons,picture");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Text");
	var_Items.set_CellImage(h,0,1);
431. How can I display the column using currency format and enlarge the font for certain values
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Currency") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("9.94");
	var_Items.AddItem("11.94");
	var_Items.AddItem("1000");
430. How can I get the number of occurrences of a specified string in the cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("");
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("occurrences") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.ComputedField = "lower(%0) count 'o'";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1 oooof the root");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"Child 3");
	var_Items.set_ExpandItem(h,true);
429. How can I display dates in my format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Date") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/21/2001"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003"));
	var_Items.AddItem(Convert.ToDateTime("4/24/2004"));
428. How can I display dates in short format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004"));
427. How can I display dates in long format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004"));
426. How can I display only the right part of the cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("");
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Right") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.ComputedField = "%0 right 2";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"SChild 3");
	var_Items.set_ExpandItem(h,true);
425. How can I display only the left part of the cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("");
(excombobox1.Columns.Add("Left") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "%0 left 2";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"SChild 3");
	var_Items.set_ExpandItem(h,true);
424. How can I display true or false instead 0 and -1
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(0);
	var_Items.AddItem(1);
423. How can I display icons or images instead numbers
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Icons") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);
422. How can I display the column using currency
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("0");
	var_Items.AddItem(5);
	var_Items.AddItem("10000.99");
421. How can I display the currency only for not empty cells
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Currency") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("0");
	var_Items.set_ItemBackColor(var_Items.AddItem(null),Color.FromArgb(255,128,128));
	var_Items.AddItem("10000.99");
420. Is there a function to display the number of days between two date including the number of hours
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Start") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
excombobox1.Columns.Add("End");
(excombobox1.Columns.Add("Duration") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "2:=((1:=int(0:= date(%1)-date(%0))) = 0 ? '' : str(=:1) + ' day(s)') + ( 3:=round(24*(=:0-floor" +
"(=:0))) ? (len(=:2) ? ' and ' : '') + =:3 + ' hour(s)' : '' )";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001"));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002 12:00:00 PM"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002 1:00:00 PM"));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003 11:00:00 AM"));
419. Is there a function to display the number of days between two date including the number of hours
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Start");
excombobox1.Columns.Add("End");
(excombobox1.Columns.Add("Duration") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%" +
"0))))";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001 11:00:00 PM"));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002 12:00:00 PM"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002 1:00:00 PM"));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003 11:00:00 AM"));
418. How can I display the number of days between two dates
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Start");
excombobox1.Columns.Add("End");
(excombobox1.Columns.Add("Duration") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "(date(%1)-date(%0)) + ' days'";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001"));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002"));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003"));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003"));
417. How can I get second part of the date
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Second") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "sec(date(%0))";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:10:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:01:22 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:23:01 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 1:11:59 PM"));
416. How can I get minute part of the date
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Minute") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "min(date(%0))";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:10:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:01:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:23:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 1:11:00 PM"));
415. How can I check the hour part only so I know it was afternoon
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("hour(%0)>=12",null).Bold = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Hour") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "hour(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 1:00:00 PM"));
414. What about a function to get the day in the week, or days since Sunday
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("WeekDay") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "weekday(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 1:00:00 PM"));
413. Is there any function to get the day of the year or number of days since January 1st
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Day since January 1st") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "yearday(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 1:00:00 PM"));
412. How can I display only the day of the date
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Day") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "day(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 1:00:00 PM"));
411. How can I display only the month of the date
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Month") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "month(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 1:00:00 PM"));
410. How can I get only the year part from a date expression
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Year") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "year(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 1:00:00 PM"));
409. Can I convert the expression to date
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Date") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "date(dbl(%0))";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("30000.99");
	var_Items.AddItem("3561.23");
	var_Items.AddItem("1232.34");
408. Can I convert the expression to a number, double or float
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Number + 2") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "dbl(%0)+2";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
407. How can I display dates in long format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("LongFormat") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "longdate(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 1:00:00 PM"));
406. How can I display dates in short format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("ShortFormat") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "shortdate(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 1:00:00 PM"));
405. How can I display the time only of a date expression
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Date");
(excombobox1.Columns.Add("Time") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "'time is:' + time(date(%0))";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00 AM"));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00 PM"));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 1:00:00 PM"));
404. Is there any function to display currencies, or money formatted as in the control panel
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Currency") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "currency(dbl(%0))";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("10000.99");
403. How can I convert the expression to a string so I can look into the date string expression for month's name
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Str") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "str(%0) + ' AA'";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
402. Can I display the absolute value or positive part of the number
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Abs") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "abs(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
401. Is there any function to get largest number with no fraction part that is not greater than the value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Floor") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "floor(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
400. Is there any function to round the values base on the .5 value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Round") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "round(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
399. How can I get or display the integer part of the cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Number");
(excombobox1.Columns.Add("Int") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "int(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
398. How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "proper(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("root");
	var_Items.InsertItem(h,0,"child child");
	var_Items.InsertItem(h,0,"child child");
	var_Items.InsertItem(h,0,"child child");
	var_Items.set_ExpandItem(h,true);
397. Is there any option to display cells in uppercase
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "upper(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"Chld 3");
	var_Items.set_ExpandItem(h,true);
396. Is there any option to display cells in lowercase
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "lower(%0)";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"Chld 3");
	var_Items.set_ExpandItem(h,true);
395. How can I mark the cells that has a specified type, ie strings only
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("type(%0) = 8",null).ForeColor = Color.FromArgb(255,0,0);
excombobox1.Columns.Add("");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,2);
	var_Items.InsertItem(h,0,"Chld 3");
	var_Items.set_ExpandItem(h,true);
394. How can I bold the items that contains data or those who displays empty strings
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("not len(%1)=0",null).Bold = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	int hC = var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_CellCaption(hC,1,"1");
	var_Items.InsertItem(h,0,"Child 3");
	var_Items.set_ExpandItem(h,true);
393. Can I change the background color for items or cells that contains a specified string
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 contains 'hi'",null).BackColor = Color.FromArgb(255,0,0);
excombobox1.Columns.Add("");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"Chld 3");
	var_Items.set_ExpandItem(h,true);
392. Is there any option to change the fore color for cells or items that ends with a specified string
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 endwith '22'",null).ForeColor = Color.FromArgb(255,0,0);
excombobox1.Columns.Add("");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 1.22");
	var_Items.InsertItem(h,0,"Child 2.22");
	var_Items.set_ExpandItem(h,true);
391. How can I highlight the cells or items that starts with a specified string
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 startwith 'C'",null).Underline = true;
excombobox1.Columns.Add("");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.InsertItem(h,0,"SChild 3");
	var_Items.set_ExpandItem(h,true);
390. How can I change the background color or the visual appearance using ebn for a particular column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXCOMBOBOXLib.Columns var_Columns = excombobox1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exHeaderBackColor,16777216);
	(var_Columns.Add("Column 3") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exHeaderBackColor,16777471);
	var_Columns.Add("Column 4");
389. How can I change the background color for a particular column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Columns var_Columns = excombobox1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");
388. Does your control support prompt feature
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.AutoComplete = false;
(excombobox1.Columns.Add("Column 1") as exontrol.EXCOMBOBOXLib.Column).Prompt = "<img>1</img><i><fgcolor=808080>type to search</fgcolor></i>";
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
387. How can I display the column's header using multiple lines
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnAutoResize = true;
excombobox1.HeaderHeight = 128;
excombobox1.HeaderSingleLine = false;
(excombobox1.Columns.Add("This is just a column that should break the header.") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
excombobox1.Columns.Add("This is just another column that should break the header.");
386. How can I sort the value gets listed in the drop down filter window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.MarkSearchColumn = false;
excombobox1.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarAll,"");
excombobox1.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarBlanks,"");
excombobox1.set_Description(exontrol.EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarNonBlanks,"");
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("P1") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
exontrol.EXCOMBOBOXLib.Column var_Column1 = (excombobox1.Columns.Add("P2") as exontrol.EXCOMBOBOXLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = exontrol.EXCOMBOBOXLib.FilterListEnum.exSortItemsAsc;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Z3");
	var_Items.set_CellCaption(h,1,"C");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Z1"),1,"B");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Z2"),1,"A");
	var_Items.set_ExpandItem(h,true);
385. Is there any property to disable the popup/context menu being shown when the user does a right click in the control's label area
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Default") as exontrol.EXCOMBOBOXLib.Column).AllowEditContextMenu = false;
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
384. How can I align the text/caption on the scroll bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLowerBackPart,"left");
excombobox1.set_ScrollPartCaptionAlignment(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLowerBackPart,exontrol.EXCOMBOBOXLib.AlignmentEnum.LeftAlignment);
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exUpperBackPart,"right");
excombobox1.set_ScrollPartCaptionAlignment(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exUpperBackPart,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
excombobox1.ColumnAutoResize = false;
excombobox1.Columns.Add(1.ToString());
excombobox1.Columns.Add(2.ToString());
excombobox1.Columns.Add(3.ToString());
excombobox1.Columns.Add(4.ToString());
excombobox1.Columns.Add(5.ToString());
excombobox1.Columns.Add(6.ToString());
383. Does you control support RTL languages or if there is a property RightToLeft
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.RightToLeft = true;
excombobox1.ItemsAllowSizing = exontrol.EXCOMBOBOXLib.ItemsAllowSizingEnum.exResizeItem;
excombobox1.DrawGridLines = exontrol.EXCOMBOBOXLib.GridLinesEnum.exHLines;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.ScrollBySingleLine = true;
excombobox1.DefaultItemHeight = 64;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.Alignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
	var_Column.HeaderAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
	var_Column.EditAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.set_ItemHeight(var_Items.InsertItem(var_Items.AddItem("Parent"),0,"Item 2"),48);
	var_Items.AddItem("Item 3");
	var_Items.set_ExpandItem(var_Items[1],true);
382. How do I enable resizing all the items at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnAutoResize = true;
excombobox1.ItemsAllowSizing = exontrol.EXCOMBOBOXLib.ItemsAllowSizingEnum.exResizeAllItems;
excombobox1.DrawGridLines = exontrol.EXCOMBOBOXLib.GridLinesEnum.exHLines;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem("Item 1");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
excombobox1.Items.AddItem("Item 3");
381. How can I remove the filter
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
excombobox1.ClearFilter();
380. How do I display the icons being selected in the control's label
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellImage(var_Items.AddItem("Image 1"),0,1);
	var_Items.set_CellImage(var_Items.AddItem("Image 2"),0,2);
	var_Items.set_CellImage(var_Items.AddItem("Image 3"),0,3);
excombobox1.set_AssignEditImageOnSelect(0,true);
excombobox1.Value = "Image 2";
379. How do I select a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.IntegralHeight = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
excombobox1.Value = "Root 1.1";
378. How do I select a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.IntegralHeight = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
excombobox1.set_Select(1,"Root 1.2");
377. How do change the visual appearance for the drop down border, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.DropDownBorder = (exontrol.EXCOMBOBOXLib.AppearanceEnum)0x1000000;
376. How do I remove the drop down's border
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.DropDownBorder = exontrol.EXCOMBOBOXLib.AppearanceEnum.None2;
375. How can I change the foreground color for edit controls
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ForeColorEdit = Color.FromArgb(255,0,0);
excombobox1.IntegralHeight = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
excombobox1.set_Select(0,"Root 1.1");
374. How can I change the background color for edit controls
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BackColorEdit = Color.FromArgb(255,0,0);
excombobox1.IntegralHeight = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
excombobox1.set_Select(0,"Root 1.1");
373. How can I hide the drop down buttons when the control loses the focus
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.HideDropDownButton = true;
excombobox1.IntegralHeight = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
372. How can I ensure that the drop down portions doesn't show partial items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.IntegralHeight = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
371. How can I close the drop down window when user double clicks it
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.CloseOnDblClk = true;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.TreeColumnIndex = 1;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Child 1.1"),1,"Child 1.2");
370. How do I get the handle of the drop down window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add(0.ToString());
369. How do I specify the height of the control's label
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LabelHeight = 34;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
368. The control selects the portion of text that doesn't match with the selected item. How can I avoid that
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AutoSelect = false;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
367. How can I show the drop down window as soon as user starts typing in the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AutoDropDown = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
366. How do I change the text in the edit or label area
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
excombobox1.set_EditText(0,"Test");
365. How do I lock or make read-only the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Locked = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
364. How do I let user to resize only the height of the drop down window, at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AllowSizeGrip = true;
excombobox1.AllowHResize = false;
excombobox1.MinWidthList = 100;
excombobox1.MinHeightList = 100;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
363. How do I let user to resize only the width of the drop down window, at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AllowSizeGrip = true;
excombobox1.AllowVResize = false;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
362. How do I let user to resize the drop down window, at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AllowSizeGrip = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
361. How do I specify the height of the drop down window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_HeightList(null,400);
excombobox1.MinWidthList = 100;
excombobox1.AllowSizeGrip = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
360. How do I specify the minimum height of the drop down window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MinHeightList = 100;
excombobox1.AllowSizeGrip = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
359. How do I specify the width of the drop down window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_WidthList(null,100);
excombobox1.AllowSizeGrip = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
358. How do I specify the minimum width of the drop down window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MinWidthList = 100;
excombobox1.AllowSizeGrip = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
357. I have multiple columns, how can I display a single edit in the control's label
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SingleEdit = true;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item 1"),1,"SubItem 1");
	var_Items.set_CellCaption(var_Items.AddItem("Item 2"),1,"SubItem 2");
	var_Items.set_CellCaption(var_Items.AddItem("Item 3"),1,"SubItem 3");
356. How do I turn off the auto complete feature
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AutoComplete = false;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
355. The control supports three styles: Simple, DropDown and DropDownList. How can I change the style
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Style = exontrol.EXCOMBOBOXLib.StyleEnum.DropDownList;
354. Is there any option to align the header to the left and the data to the right
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Left") as exontrol.EXCOMBOBOXLib.Column).Alignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.LeftAlignment;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Right") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.Alignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
	var_Column.HeaderAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
	var_Column.EditAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("left"),1,"right");
353. How do I change the control's border, using your EBN files
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Appearance = (exontrol.EXCOMBOBOXLib.AppearanceEnum)0x1000000;
352. Can I change the default border of the tooltip, using your EBN files
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
excombobox1.ToolTipWidth = 364;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exToolTipAppearance,16777216);
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
351. Can I change the background color for the tooltip
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
excombobox1.ToolTipWidth = 364;
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exToolTipBackColor,Color.FromArgb(255,0,0));
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
350. Does the tooltip support HTML format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
excombobox1.ToolTipWidth = 364;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgc" +
"olor>";
349. Can I change the forecolor for the tooltip
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
excombobox1.ToolTipWidth = 364;
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exToolTipForeColor,Color.FromArgb(255,0,0));
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
348. Can I change the foreground color for the tooltip
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
excombobox1.ToolTipWidth = 364;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>";
347. How can I merge cells
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.DrawGridLines = exontrol.EXCOMBOBOXLib.GridLinesEnum.exAllLines;
excombobox1.MarkSearchColumn = false;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
excombobox1.Columns.Add("C3");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("this cell merges the first two columns");
	var_Items.set_CellMerge(h,0,1);
	h = var_Items.AddItem(null);
	var_Items.set_CellCaption(h,1,"this cell merges the last two columns");
	var_Items.set_CellMerge(h,1,2);
	h = var_Items.AddItem("this cell merges the all three columns");
	var_Items.set_CellMerge(h,0,1);
	var_Items.set_CellMerge(h,0,2);
	h = var_Items.AddItem("this draws a divider item");
	var_Items.set_ItemDivider(h,0);
346. How can I merge cells
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.TreeColumnIndex = -1;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	h = var_Items.AddItem("This is bit of text merges all cells in the item");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
345. Can I select an item giving its general position
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
344. How can I change the color for separator / dividers items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.TreeColumnIndex = -1;
excombobox1.ScrollBySingleLine = false;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	h = var_Items.AddItem(null);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLine(h,exontrol.EXCOMBOBOXLib.DividerLineEnum.DoubleDotLine);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXCOMBOBOXLib.DividerAlignmentEnum.DividerCenter);
	var_Items.set_ItemHeight(h,6);
	var_Items.set_SelectableItem(h,false);
	h = var_Items.AddItem("Cell 2");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
343. How can I add separator - dividers items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.TreeColumnIndex = -1;
excombobox1.ScrollBySingleLine = false;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	h = var_Items.AddItem(null);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLine(h,exontrol.EXCOMBOBOXLib.DividerLineEnum.DoubleDotLine);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXCOMBOBOXLib.DividerAlignmentEnum.DividerCenter);
	var_Items.set_ItemHeight(h,6);
	var_Items.set_SelectableItem(h,false);
	h = var_Items.AddItem("Cell 2");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
342. Can I change the style of the line being displayed by a divider item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.TreeColumnIndex = -1;
excombobox1.ScrollBySingleLine = false;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	h = var_Items.AddItem("This is bit of text that's displayed on the entire item, divider.");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLine(h,exontrol.EXCOMBOBOXLib.DividerLineEnum.DoubleDotLine);
	var_Items.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemHeight(h,24);
341. Can I remove the line being displayed by a divider item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.TreeColumnIndex = -1;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	h = var_Items.AddItem("This is bit of text that's displayed on the entire item, divider.");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLine(h,exontrol.EXCOMBOBOXLib.DividerLineEnum.EmptyLine);
	var_Items.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
340. How can I display a divider item, merging all cells
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.TreeColumnIndex = -1;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	h = var_Items.AddItem("This is bit of text that's displayed on the entire item, divider.");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
339. How can I fix or lock items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"This is a locked item, fixed to the top side of the control.");
	var_Items.set_ItemBackColor(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,0),Color.FromArgb(196,196,186));
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,2);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,0),0,"This is a locked item, fixed to the top side of the control.");
	var_Items.set_ItemBackColor(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,0),Color.FromArgb(196,196,186));
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,1),0,"This is a locked item, fixed to the top side of the control.");
	var_Items.set_ItemBackColor(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,1),Color.FromArgb(186,186,186));
338. How can I fix or lock an item on the bottom side of the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,1);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom,0),0,"This is a locked item, fixed to the bottom side of the control.");
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
337. How can I fix or lock an item on the top of the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"This is a locked item, fixed to the top side of the control.");
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
336. Is there any function to limit the height of the items when I display it using multiple lines
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ScrollBySingleLine = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multipl" +
"e lines.");
	var_Items.set_CellSingleLine(h,1,false);
	var_Items.set_ItemMaxHeight(h,48);
335. Why I cannot center my cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.TreeColumnIndex = -1;
excombobox1.DrawGridLines = (exontrol.EXCOMBOBOXLib.GridLinesEnum)0xfffffffc | exontrol.EXCOMBOBOXLib.GridLinesEnum.exVLines;
(excombobox1.Columns.Add("Default") as exontrol.EXCOMBOBOXLib.Column).Alignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment;
excombobox1.Items.AddItem("item 1");
excombobox1.Items.AddItem("item 2");
excombobox1.Items.AddItem("item 3");
334. How can I align the cell to the left, center or to the right
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.TreeColumnIndex = -1;
excombobox1.DrawGridLines = (exontrol.EXCOMBOBOXLib.GridLinesEnum)0xfffffffc | exontrol.EXCOMBOBOXLib.GridLinesEnum.exVLines;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellHAlignment(var_Items.AddItem("left"),0,exontrol.EXCOMBOBOXLib.AlignmentEnum.LeftAlignment);
	var_Items.set_CellHAlignment(var_Items.AddItem("center"),0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellHAlignment(var_Items.AddItem("right"),0,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
333. How do I apply HTML format to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.TreeColumnIndex = -1;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
excombobox1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("The following item shows some of the HTML format supported:");
	var_Items.set_CellHAlignment(h,0,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
	h = var_Items.AddItem("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>te" +
"xt <b>bold</b>, <i>italic</i>, <u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<" +
"br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor</fgcolor> or <bgcolor=00FF00>b" +
"gcolor</bgcolor> ");
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,false);
332. How can I change the font for a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
excombobox1.Items.AddItem("std font");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("this <font tahoma;12>is a bit of text with</font> a different font"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
331. How can I change the font for a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
excombobox1.Items.AddItem("default font");
stdole.IFontDisp f = new stdole.StdFont();
	f.Name = "Tahoma";
	f.Size = 12;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellFont(var_Items.AddItem("new font"),0,f);
330. How can I change the font for entire item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
excombobox1.Items.AddItem("default font");
stdole.IFontDisp f = new stdole.StdFont();
	f.Name = "Tahoma";
	f.Size = 12;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemFont(var_Items.AddItem("new font"),f);
329. How do I vertically align a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.DrawGridLines = (exontrol.EXCOMBOBOXLib.GridLinesEnum)0xfffffffc | exontrol.EXCOMBOBOXLib.GridLinesEnum.exVLines;
(excombobox1.Columns.Add("MultipleLine") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
excombobox1.Columns.Add("VAlign");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("This is a bit of long text that should break the line");
	var_Items.set_CellCaption(h,1,"top");
	var_Items.set_CellVAlignment(h,1,exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop);
	h = var_Items.AddItem("This is a bit of long text that should break the line");
	var_Items.set_CellCaption(h,1,"middle");
	var_Items.set_CellVAlignment(h,1,exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle);
	h = var_Items.AddItem("This is a bit of long text that should break the line");
	var_Items.set_CellCaption(h,1,"bottom");
	var_Items.set_CellVAlignment(h,1,exontrol.EXCOMBOBOXLib.VAlignmentEnum.exBottom);
328. How can I change the position of an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.set_ItemPosition(var_Items.AddItem("Item 3"),0);
327. How do I find an item based on a path
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.set_ItemData(var_Items.InsertItem(h,0,"Child 2"),1234);
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_FindPath("Root 1\\Child 1"),true);
326. How do I find an item based on my extra data
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.set_ItemData(var_Items.InsertItem(h,0,"Child 2"),1234);
	var_Items.set_ExpandItem(h,true);
325. How do I find an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_FindItem("Child 2",0,null),true);
324. How can I insert a hyperlink or an anchor element
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaptionFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
323. How do I find the index of the item based on its handle
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items[var_Items.get_ItemToIndex(h)],true);
322. How do I find the handle of the item based on its index
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items[1],true);
321. How can I find the cell being clicked in a radio group
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.SelBackColor = Color.FromArgb(255,255,128);
excombobox1.SelForeColor = Color.FromArgb(0,0,0);
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
excombobox1.Columns.Add("C3");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Radio 1");
	var_Items.set_CellHasRadioButton(h,1,true);
	var_Items.set_CellRadioGroup(h,1,1234);
	var_Items.set_CellCaption(h,2,"Radio 2");
	var_Items.set_CellHasRadioButton(h,2,true);
	var_Items.set_CellRadioGroup(h,2,1234);
	var_Items.set_CellState(h,1,1);
	var_Items.set_CellBold(0,var_Items.get_CellChecked(1234),true);
320. Can I add a +/- ( expand / collapse ) buttons to each item, so I can load the child items later
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemHasChildren(var_Items.AddItem("parent item with no child items"),true);
	var_Items.AddItem("next item");
319. Can I let the user to resize at runtime the specified item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ScrollBySingleLine = true;
excombobox1.DrawGridLines = (exontrol.EXCOMBOBOXLib.GridLinesEnum)0xfffffffc | exontrol.EXCOMBOBOXLib.GridLinesEnum.exVLines;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemAllowSizing(var_Items.AddItem("resizable item"),true);
	var_Items.AddItem("not resizable item");
318. How can I change the size ( width, height ) of the picture
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.set_CellPicture(h,0,excombobox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Items.set_CellPictureWidth(h,0,24);
	var_Items.set_CellPictureHeight(h,0,24);
	var_Items.set_ItemHeight(h,32);
	h = var_Items.AddItem("Root 2");
	var_Items.set_CellPicture(h,0,excombobox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Items.set_ItemHeight(h,48);
317. How can I find the number or the count of selected items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(var_Items.get_ItemChild(h),true);
	var_Items.set_SelectItem(var_Items.get_NextSiblingItem(var_Items.get_ItemChild(h)),true);
	var_Items.AddItem(var_Items.SelectCount);
316. How do I unselect an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,false);
315. How do I find the selected item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,true);
	var_Items.set_ItemBold(var_Items.get_SelectedItem(0),true);
314. How do I un select all items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
313. How do I select multiple items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(var_Items.get_ItemChild(h),true);
	var_Items.set_SelectItem(var_Items.get_NextSiblingItem(var_Items.get_ItemChild(h)),true);
312. How do I select all items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
311. How do I select an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,true);
310. Can I display a button with some picture or icon inside
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1," Button <img>p1</img> ");
	var_Items.set_CellCaptionFormat(h,1,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);
	var_Items.set_ItemHeight(h,48);
309. Can I display a button with some picture or icon inside
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1," Button <img>1</img> ");
	var_Items.set_CellCaptionFormat(h,1,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);
308. Can I display a button with some icon inside
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1," <img>1</img> ");
	var_Items.set_CellCaptionFormat(h,1,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);
307. How can I assign multiple icon/picture to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
excombobox1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("text <img>p1</img> another picture <img>p2</img> and so on");
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellPicture(h,0,excombobox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
	var_Items.set_ItemHeight(h,48);
	var_Items.AddItem("Root 2");
306. How can I assign an icon/picture to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.set_CellPicture(h,0,excombobox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Items.set_ItemHeight(h,48);
	var_Items.AddItem("Root 2");
305. How can I assign multiple icons/pictures to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root <img>1</img> 1, <img>2</img>, ... and so on ");
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
304. How can I assign multiple icons/pictures to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.set_CellImages(h,0,"1,2,3");
303. How can I assign an icon/picture to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellImage(var_Items.InsertItem(h,0,"Child 1"),0,2);
	var_Items.set_CellImage(var_Items.InsertItem(h,0,"Child 2"),0,3);
	var_Items.set_ExpandItem(h,true);
302. How can I get the handle of an item based on the handle of the cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_CellItem(var_Items.get_ItemCell(h,0)),true);
301. How can I display a button inside the item or cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1," Button 1 ");
	var_Items.set_CellHAlignment(h,1,exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);
	h = var_Items.AddItem("Cell 2");
	var_Items.set_CellCaption(h,1," Button 2 ");
	var_Items.set_CellHAlignment(h,1,exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellHasButton(h,1,true);
300. How can I change the state of a radio button
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.SelBackColor = Color.FromArgb(255,255,128);
excombobox1.SelForeColor = Color.FromArgb(0,0,0);
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
excombobox1.Columns.Add("C3");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Radio 1");
	var_Items.set_CellHasRadioButton(h,1,true);
	var_Items.set_CellRadioGroup(h,1,1234);
	var_Items.set_CellCaption(h,2,"Radio 2");
	var_Items.set_CellHasRadioButton(h,2,true);
	var_Items.set_CellRadioGroup(h,2,1234);
	var_Items.set_CellState(h,1,1);
299. How can I assign a radio button to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.MarkSearchColumn = false;
excombobox1.SelBackColor = Color.FromArgb(255,255,128);
excombobox1.SelForeColor = Color.FromArgb(0,0,0);
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
excombobox1.Columns.Add("C3");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Radio 1");
	var_Items.set_CellHasRadioButton(h,1,true);
	var_Items.set_CellRadioGroup(h,1,1234);
	var_Items.set_CellCaption(h,2,"Radio 2");
	var_Items.set_CellHasRadioButton(h,2,true);
	var_Items.set_CellRadioGroup(h,2,1234);
	var_Items.set_CellState(h,1,1);
298. How can I change the state of a checkbox
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Check Box");
	var_Items.set_CellHasCheckBox(h,1,true);
	var_Items.set_CellState(h,1,1);
297. How can I assign a checkbox to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Check Box");
	var_Items.set_CellHasCheckBox(h,1,true);
296. How can I display an item or a cell on multiple lines
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ScrollBySingleLine = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"This is bit of text that's shown on multiple lines");
	var_Items.set_CellSingleLine(h,1,false);
295. How can I assign a tooltip to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"tooltip");
	var_Items.set_CellToolTip(h,1,"This is bit of text that's shown when the user hovers the cell");
294. How can I associate an extra data to a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellData(h,1,"your extra data");
293. How do I enable or disable a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellEnabled(h,1,false);
292. How do I change the cell's foreground color
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellForeColor(h,1,Color.FromArgb(255,0,0));
291. How do I change the visual effect for the cell, using your EBN files
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellBackColor32(h,1,16777216);
290. How do I change the cell's background color
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellBackColor(h,1,Color.FromArgb(255,0,0));
289. How do I change the caption or value for a particular cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Cell 1"),1,"Cell 2");
288. How do I get the handle of the cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_CellBold(0,var_Items.get_ItemCell(h,0),true);
287. How do I retrieve the focused item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.FocusItem,true);
286. How do I get the number or count of child items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem(var_Items.get_ChildCount(h));
285. How do I enumerate the visible items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_ItemBold(var_Items.FirstVisibleItem,true);
	var_Items.set_ItemBold(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true);
284. How do I enumerate the siblings items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_ItemBold(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem),true);
	var_Items.set_ItemBold(var_Items.get_PrevSiblingItem(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem)),true);
283. How do I get the parent item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_ItemParent(var_Items.get_ItemChild(h)),true);
282. How do I get the first child item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_ItemChild(h),true);
281. How do I enumerate the root items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ItemBold(var_Items.get_RootItem(0),true);
	var_Items.set_ItemUnderline(var_Items.get_RootItem(1),true);
280. I have a hierarchy, how can I count the number of root items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.AddItem(var_Items.RootCount);
279. How can I make an item unselectable, or not selectable
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("unselectable - you can't get selected");
	var_Items.set_SelectableItem(h,false);
	var_Items.AddItem("selectable");
278. How can I hide or show an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("hidden");
	var_Items.set_ItemHeight(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddItem("visible");
277. How can I change the height for all items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.DefaultItemHeight = 32;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem("One");
excombobox1.Items.AddItem("Two");
276. How do I change the height of an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ScrollBySingleLine = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("height"),128);
excombobox1.Items.AddItem("enabled");
275. How do I disable or enable an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_EnableItem(var_Items.AddItem("disabled"),false);
excombobox1.Items.AddItem("enabled");
274. How do I display as strikeout a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellStrikeOut(var_Items.AddItem("strikeout"),0,true);
273. How do I display as strikeout a cell or an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <s>strikeout</s> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
272. How do I display as strikeout an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemStrikeOut(var_Items.AddItem("strikeout"),true);
271. How do I underline a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellUnderline(var_Items.AddItem("underline"),0,true);
270. How do I underline a cell or an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <u>underline</u> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
269. How do I underline an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemUnderline(var_Items.AddItem("underline"),true);
268. How do I display as italic a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellItalic(var_Items.AddItem("italic"),0,true);
267. How do I display as italic a cell or an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <i>italic</i> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
266. How do I display as italic an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemItalic(var_Items.AddItem("italic"),true);
265. How do I bold a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellBold(var_Items.AddItem("bold"),0,true);
264. How do I bold a cell or an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <b>bold</b> only a portion of text"),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
263. How do I bold an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemBold(var_Items.AddItem("bold"),true);
262. How do I change the foreground color for the item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,0,"Child 1");
	var_Items.set_ItemForeColor(hC,Color.FromArgb(255,0,0));
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
261. How do I change the visual appearance for the item, using your EBN technology
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,0,"Child 1");
	var_Items.set_ItemBackColor32(hC,16777216);
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
260. How do I change the background color for the item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,0,"Child 1");
	var_Items.set_ItemBackColor(hC,Color.FromArgb(255,0,0));
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
259. How do I expand or collapse an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
258. How do I associate an extra data to an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemData(var_Items.AddItem("item"),"your extra data");
257. How do I get the number or count of items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
excombobox1.Items.AddItem(0.ItemCount);
256. How do I programmatically edit a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
255. How can I change at runtime the parent of the item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int hP = var_Items.AddItem("Root");
	int hC = var_Items.AddItem("Child");
	var_Items.SetParent(hC,hP);
254. How can I sort the items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
excombobox1.Columns["Default"].SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending;
253. How do I sort the child items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.SortChildren(h,0,false);
252. How can I ensure or scroll the control so the item fits the control's client area
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
int h = excombobox1.Items.AddItem("item");
251. How can I remove or delete all items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
excombobox1.Items.AddItem("removed item");
excombobox1.Items.RemoveAllItems();
250. How can I remove or delete an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
int h = excombobox1.Items.AddItem("removed item");
excombobox1.Items.RemoveItem(h);
249. How can I add or insert child items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Cell 3"),1,"Cell 4");
	var_Items.set_CellCaption(var_Items.InsertItem(h,0,"Cell 5"),1,"Cell 6");
	var_Items.set_ExpandItem(h,true);
248. How can I add or insert a child item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.Columns.Add("Default");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.InsertItem(var_Items.AddItem("root"),0,"child");
247. How can I add or insert an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
excombobox1.Columns.Add("C2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Cell 1"),1,"Cell 2");
	int h = var_Items.AddItem("Cell 3");
	var_Items.set_CellCaption(h,1,"Cell 4");
246. How can I add or insert an item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Default");
excombobox1.Items.AddItem("new item");
245. How can I get the columns as they are shown in the control's sortbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
Object var_Object = (excombobox1.Columns.get_ItemBySortPosition(0) as Object);
244. How can I access the properties of a column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("A");
excombobox1.Columns["A"].HeaderBold = true;
243. How can I remove all the columns
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Clear();
242. How can I remove a column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Remove("A");
241. How can I get the number or the count of columns
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
int var_Count = excombobox1.Columns.Count;
240. How can I change the font for all cells in the entire column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
stdole.IFontDisp f = new stdole.StdFont();
	f.Name = "Tahoma";
	f.Size = 12;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Font = (f as stdole.IFontDisp);
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
239. How can I change the background color for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
238. How can I change the foreground color for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
237. How can I show as strikeout all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.StrikeOut = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
236. How can I underline all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Underline = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
235. How can I show in italic all data in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Italic = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
234. How can I bold the entire column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
233. How can I display a computed column and highlight some values that are negative or less than a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("A");
excombobox1.Columns.Add("B");
(excombobox1.Columns.Add("(A+B)*1.19") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "(%0 + %1) * 1.19";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem(10),1,20);
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("%2 > 10",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXCOMBOBOXLib.FormatApplyToEnum)0x2;
232. Can I display a computed column so it displays the VAT, or SUM
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("A");
excombobox1.Columns.Add("B");
(excombobox1.Columns.Add("(A+B)*1.19") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "(%0 + %1) * 1.19";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem(10),1,20);
231. How can I show a column that adds values in the cells
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("A");
excombobox1.Columns.Add("B");
(excombobox1.Columns.Add("A+B") as exontrol.EXCOMBOBOXLib.Column).ComputedField = "%0 + %1";
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem(10),1,20);
230. Is there any function to filter the control's data as I type, so the items being displayed include the typed characters
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
	var_Column.AutoSearch = exontrol.EXCOMBOBOXLib.AutoSearchEnum.exContains;
excombobox1.Items.AddItem("Canada");
excombobox1.Items.AddItem("USA");
229. Is there any function to filter the control's data as I type, something like filter on type
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
excombobox1.Items.AddItem("Canada");
excombobox1.Items.AddItem("USA");
228. How can I programmatically filter a column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exNonBlanks;
excombobox1.Items.AddItem(null);
excombobox1.Items.AddItem("not empty");
excombobox1.ApplyFilter();
227. How can I show or display the control's filter
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column).DisplayFilterButton = true;
226. How can I customize the items being displayed in the drop down filter window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Custom Filter") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||" +
"Text Documents (*.log,*.txt)||*.txt|*.log";
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exPattern;
	var_Column.Filter = "*.xls";
excombobox1.Items.AddItem("excel.xls");
excombobox1.Items.AddItem("word.doc");
excombobox1.Items.AddItem("pp.pps");
excombobox1.Items.AddItem("text.txt");
excombobox1.ApplyFilter();
225. How can I change the order or the position of the columns in the sort bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.SortBarColumnWidth = 48;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending;
excombobox1.Columns["C2"].SortPosition = 0;
224. How do I arrange my columns on multiple levels
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("S") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("Level 2") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 3") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 4") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 1") as exontrol.EXCOMBOBOXLib.Column).LevelKey = "2";
(excombobox1.Columns.Add("Level 2") as exontrol.EXCOMBOBOXLib.Column).LevelKey = "2";
(excombobox1.Columns.Add("Level 3") as exontrol.EXCOMBOBOXLib.Column).LevelKey = "2";
(excombobox1.Columns.Add("Level 4") as exontrol.EXCOMBOBOXLib.Column).LevelKey = "2";
(excombobox1.Columns.Add("E") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
223. How do I arrange my columns on multiple lines
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.HeaderHeight = 32;
(excombobox1.Columns.Add("") as exontrol.EXCOMBOBOXLib.Column).HTMLCaption = "Line 1<br>Line 2";
222. How can I display all cells using HTML format
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("HTML") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
excombobox1.Items.AddItem("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></fon" +
"t>.");
221. How can I display all cells using multiple lines
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("MultipleLine") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
(excombobox1.Columns.Add("SingleLine") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,true);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("This is a bit of long text that should break the line"),1,"this is a bit of long text that's displayed on a single line");
220. How do change the vertical alignment for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("MultipleLine") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
(excombobox1.Columns.Add("VAlign") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellVAlignment,2);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("This is a bit of long text that should break the line"),1,"bottom");
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("This is a bit of long text that should break the line"),1,"bottom");
219. How do change the foreground color for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("ForeColor") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellForeColor,255);
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
218. How do change the background color for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("BackColor") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellBackColor,255);
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
217. How do I show buttons for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Button") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellButtonAutoWidth,true);
excombobox1.Items.AddItem(" Button 1 ");
excombobox1.Items.AddItem(" Button 2 ");
216. How do I show buttons for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Button") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
215. How do I display radio buttons for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Radio") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,true);
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
214. How do I display checkboxes for all cells in the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Check") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
213. How can I display a tooltip when the cursor hovers the column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("tooltip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "This is a bit of text that is shown when user hovers the column.";
212. Is there any function to assign a key to a column instead using its name or capion
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Data") as exontrol.EXCOMBOBOXLib.Column).Key = "DKey";
excombobox1.Columns["DKey"].Caption = "new caption";
211. Is there any function to assign any extra data to a column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Data") as exontrol.EXCOMBOBOXLib.Column).Data = "your extra data";
210. By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Sort") as exontrol.EXCOMBOBOXLib.Column).DefaultSortOrder = true;
209. How can I specify the maximum width for the column, if I use WidthAutoResize property
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Auto") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.WidthAutoResize = true;
	var_Column.MinWidthAutoResize = 32;
	var_Column.MaxWidthAutoResize = 128;
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
208. How can I specify the minimum width for the column, if I use WidthAutoResize property
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Auto") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.WidthAutoResize = true;
	var_Column.MinWidthAutoResize = 32;
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
207. Is there any option to resize the column based on its data, captions
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("A") as exontrol.EXCOMBOBOXLib.Column).WidthAutoResize = true;
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
206. How can I align the icon in the column's header in the center
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.HeaderImage = 1;
	var_Column.HeaderImageAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.CenterAlignment;
205. How do I align the icon in the column's header to the right
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("ColumnName") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.HeaderImage = 1;
	var_Column.HeaderImageAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
204. How do I show or hide the sorting icons, but still need sorting
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Sorted") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending;
excombobox1.Columns[0].DisplaySortIcon = false;
203. How do I enable or disable the entire column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("C1");
(excombobox1.Columns.Add("Disabled") as exontrol.EXCOMBOBOXLib.Column).Enabled = false;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,"0.1");
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem(1),1,"1.1");
202. How do I disable drag and drop columns
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).AllowDragging = false;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).AllowDragging = false;
201. How do I disable resizing a column at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Unsizable") as exontrol.EXCOMBOBOXLib.Column).AllowSizing = false;
excombobox1.Columns.Add("C2");
excombobox1.Columns.Add("C3");
excombobox1.Columns.Add("C4");
200. How can I align the column to the right, and its caption too
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.Alignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
	var_Column.HeaderAlignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
199. How can I align the column to the right
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column).Alignment = exontrol.EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
198. How do I change the column's caption
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column).Caption = "new caption";
197. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_FormatAnchor(false,"<b><u><fgcolor=880000> </fgcolor></u></b>");
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaptionFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
excombobox1.Items.AddItem("next item");
196. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("Just an <a1>anchor</a> element ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaptionFormat(var_Items1.AddItem("Just another <a2>anchor</a> element ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
195. Can I change the font for the tooltip
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
excombobox1.ToolTipWidth = 364;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";
194. Can I change the font for the tooltip
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
stdole.IFontDisp var_StdFont = excombobox1.ToolTipFont;
	var_StdFont.Name = "Tahoma";
	var_StdFont.Size = 14;
excombobox1.ToolTipWidth = 364;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
193. Can I change the order of the buttons in the scroll bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollOrderParts(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,"t,l,r");
excombobox1.set_ScrollOrderParts(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exVScroll,"t,l,r");
192. The thumb size seems to be very small. Can I make it bigger
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnAutoResize = false;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C3") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
excombobox1.set_ScrollThumbSize(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,64);
191. How can I display my text on the scroll bar, using a different font
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exThumbPart,"This is <s><font Tahoma;12> just </font></s> text");
excombobox1.ColumnAutoResize = false;
excombobox1.ScrollHeight = 20;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C3") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
190. How can I display my text on the scroll bar, using a different font
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exThumbPart,"This is just a text");
excombobox1.get_ScrollFont(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll).Size = 12;
excombobox1.ColumnAutoResize = false;
excombobox1.ScrollHeight = 20;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C3") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
189. How can I display my text on the scroll bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exThumbPart,"this is just a text");
excombobox1.ColumnAutoResize = false;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C3") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
188. How do I enlarge or change the size of the control's scrollbars
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ScrollHeight = 18;
excombobox1.ScrollWidth = 18;
excombobox1.ScrollButtonWidth = 18;
excombobox1.ScrollButtonHeight = 18;
187. How do I assign a tooltip to a scrollbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollToolTip(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
excombobox1.ColumnAutoResize = false;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
(excombobox1.Columns.Add("C3") as exontrol.EXCOMBOBOXLib.Column).Width = 256;
186. How do I assign an icon to the button in the scrollbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
excombobox1.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>");
excombobox1.ScrollHeight = 18;
excombobox1.ScrollButtonWidth = 18;
185. I need to add a button in the scroll bar. Is this possible
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
excombobox1.set_ScrollPartCaption(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,"1");
184. Can I display an additional buttons in the scroll bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
excombobox1.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exLeftB2Part,true);
excombobox1.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exRightB6Part,true);
excombobox1.set_ScrollPartVisible(exontrol.EXCOMBOBOXLib.ScrollBarEnum.exHScroll,exontrol.EXCOMBOBOXLib.ScrollPartEnum.exRightB5Part,true);
183. How can I display a custom size picture to a cell or item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.DefaultItemHeight = 48;
excombobox1.Columns.Add("C1");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellPicture(var_Items.AddItem("Text"),0,excombobox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
182. How can I display a multiple pictures to a cell or item
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.DefaultItemHeight = 48;
excombobox1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
excombobox1.set_HTMLPicture("pic2","c:\\exontrol\\images\\auction.gif");
excombobox1.Columns.Add("C1");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),0,exontrol.EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
181. How do I change the column's foreground color for numbers between an interval - Range
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = excombobox1.ConditionalFormats.Add("%0 >= 2 and %0 <= 10",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXCOMBOBOXLib.FormatApplyToEnum)0x1;
excombobox1.Columns.Add("N1");
excombobox1.Columns.Add("N2");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem(3),1,3);
exontrol.EXCOMBOBOXLib.Items var_Items2 = excombobox1.Items;
	var_Items2.set_CellCaption(var_Items2.AddItem(10),1,11);
exontrol.EXCOMBOBOXLib.Items var_Items3 = excombobox1.Items;
	var_Items3.set_CellCaption(var_Items3.AddItem(13),1,31);
excombobox1.SearchColumnIndex = 1;
180. How do I change the item's foreground color for numbers between an interval - Range
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 >= 2 and %0 <= 10",null).ForeColor = Color.FromArgb(255,0,0);
excombobox1.Columns.Add("Numbers");
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(10);
excombobox1.Items.AddItem(20);
179. How do I change the item's background color for numbers less than a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 < 10",null).BackColor = Color.FromArgb(255,0,0);
excombobox1.Columns.Add("Numbers");
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(10);
excombobox1.Items.AddItem(20);
178. How do I underline the numbers greater than a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 >= 10",null).Underline = true;
excombobox1.Columns.Add("Numbers");
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(10);
excombobox1.Items.AddItem(20);
177. How do I highlight in italic the numbers greater than a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 >= 10",null).StrikeOut = true;
excombobox1.Columns.Add("Numbers");
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(10);
excombobox1.Items.AddItem(20);
176. How do I highlight in italic the numbers greater than a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 >= 10",null).Italic = true;
excombobox1.Columns.Add("Numbers");
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(10);
excombobox1.Items.AddItem(20);
175. How do I highlight in bold the numbers greater than a value
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ConditionalFormats.Add("%0 >= 10",null).Bold = true;
excombobox1.Columns.Add("Numbers");
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(10);
excombobox1.Items.AddItem(20);
174. Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
excombobox1.HasButtons = exontrol.EXCOMBOBOXLib.ExpandButtonEnum.exCustom;
excombobox1.set_HasButtonsCustom(false,16777216);
excombobox1.set_HasButtonsCustom(true,33554432);
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,0,"Child");
173. Can I use your EBN files to change the visual appearance for radio buttons
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.set_RadioImage(false,16777216);
excombobox1.set_RadioImage(true,33554432);
(excombobox1.Columns.Add("Radio") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,true);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Radio 1");
	var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1);
	var_Items.AddItem("Radio 3");
172. Can I use your EBN files to change the visual appearance for checkbox cells
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.set_CheckImage(exontrol.EXCOMBOBOXLib.CheckStateEnum.Unchecked,16777216);
excombobox1.set_CheckImage(exontrol.EXCOMBOBOXLib.CheckStateEnum.Checked,33554432);
(excombobox1.Columns.Add("Check") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Check 1");
	var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1);
171. How do I change the visual aspect for thumb parts in the scroll bars, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,33554432);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,50331648);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSThumb,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbP,33554432);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbH,50331648);
excombobox1.ColumnAutoResize = false;
excombobox1.ScrollBySingleLine = true;
(excombobox1.Columns.Add("S") as exontrol.EXCOMBOBOXLib.Column).Width = 483;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 1"),248);
excombobox1.Items.AddItem("Item 2");
170. How do I change the visual aspect only for the thumb in the scroll bar, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,33554432);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,50331648);
excombobox1.ColumnAutoResize = false;
(excombobox1.Columns.Add("S") as exontrol.EXCOMBOBOXLib.Column).Width = 483;
169. I've seen that you can change the visual appearance for the scroll bar. How can I do that
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSBtn,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSBtnP,33554432);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSBtnH,50331648);
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHSBack,Color.FromArgb(240,240,240));
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240));
excombobox1.set_Background((exontrol.EXCOMBOBOXLib.BackgroundPartEnum)0x90 | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exFooterFilterBarButton | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exCellButtonUp | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDropDownButtonUp | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateHeader | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exCursorHoverColumn | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exToolTipAppearance | exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exVSUp,Color.FromArgb(240,240,240));
(excombobox1.Columns.Add("S") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("Level 1") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 2") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 3") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("E1") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("E2") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("E3") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("E4") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
excombobox1.ColumnAutoResize = false;
168. Is there any option to highligth the column from the cursor - point
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exCursorHoverColumn,16777216);
(excombobox1.Columns.Add("S") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("Level 1") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 2") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 3") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("E1") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("E2") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("E3") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("E4") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
167. How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSelBackColorFilter,16777216);
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSelForeColorFilter,Color.FromArgb(255,20,20));
(excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column).DisplayFilterButton = true;
166. How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateHeader,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayUp,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayDown,33554432);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollThumb,16777216);
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollRange,Color.FromArgb(230,230,230));
excombobox1.set_Background(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateSeparatorBar,Color.FromArgb(230,230,230));
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exDateSelect,16777216);
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Date") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterDate = true;
165. How do I change the visual aspect of the close button in the filter bar, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exFooterFilterBarButton,16777216);
(excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column).FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
164. How do I change the visual aspect of buttons in the cell, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exCellButtonUp,16777216);
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exSizeGrip,33554432);
excombobox1.SelForeColor = Color.FromArgb(0,0,0);
excombobox1.ShowFocusRect = false;
(excombobox1.Columns.Add("Column 1") as exontrol.EXCOMBOBOXLib.Column).set_Def(exontrol.EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
excombobox1.Items.AddItem("Button 1");
excombobox1.Items.AddItem("Button 2");
excombobox1.Columns.Add("Column 2");
163. How do I change the visual aspect of the drop down filter button, using EBN
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.set_Background32(exontrol.EXCOMBOBOXLib.BackgroundPartEnum.exHeaderFilterBarButton,16777216);
(excombobox1.Columns.Add("Filter") as exontrol.EXCOMBOBOXLib.Column).DisplayFilterButton = true;
162. Is there any function to get the control's data in your x-script format / template
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
161. How do I enable resizing the columns at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnsAllowSizing = true;
excombobox1.MarkSearchColumn = false;
excombobox1.HeaderVisible = false;
excombobox1.Columns.Add("Column 1");
excombobox1.Columns.Add("Column 2");
excombobox1.DrawGridLines = exontrol.EXCOMBOBOXLib.GridLinesEnum.exVLines;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item 1"),1,"Sub Item 1");
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("Item 2"),1,"Sub Item 2");
160. How do I enable resizing ( changing the height ) the items at runtime
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ItemsAllowSizing = exontrol.EXCOMBOBOXLib.ItemsAllowSizingEnum.exResizeItem;
excombobox1.ScrollBySingleLine = true;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem("Item 1");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
excombobox1.Items.AddItem("Item 3");
159. How can I sort by multiple columns
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SingleSort = false;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending;
(excombobox1.Columns.Add("C3") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending;
158. How can I add several columns to control's sort bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.SortBarColumnWidth = 48;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending;
157. How can I change the width of the columns being displayed in the sort bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.SortBarColumnWidth = 48;
(excombobox1.Columns.Add("C1") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(excombobox1.Columns.Add("C2") as exontrol.EXCOMBOBOXLib.Column).SortOrder = exontrol.EXCOMBOBOXLib.SortOrderEnum.SortDescending;
156. How can I change the height of the sort bar's
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.SortBarHeight = 48;
155. How can I change the sort bar's foreground color
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.ForeColorSortBar = Color.FromArgb(255,0,0);
154. How can I change the visual appearance of the control's sort bar, using EBN files
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.SortBarVisible = true;
excombobox1.BackColorSortBar32 = 0x1000000;
excombobox1.BackColorSortBarCaption32 = 0x2000000;
excombobox1.Appearance = exontrol.EXCOMBOBOXLib.AppearanceEnum.None2;
153. How can I change the sort bar's background color
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.BackColorSortBar = Color.FromArgb(255,0,0);
excombobox1.BackColorSortBarCaption = Color.FromArgb(128,0,0);
152. How can I change the default caption being displayed in the control's sort bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
excombobox1.SortBarCaption = "new caption";
151. How can I show the locked / fixed items on the bottom side of the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ShowLockedItems = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle,2);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle,0),0,"locked item 1");
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exMiddle,1),0,"locked item 2");
	var_Items.AddItem("un-locked item");
150. How can I show the locked / fixed items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ShowLockedItems = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,2);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"locked item 1");
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,1),0,"locked item 2");
	var_Items.AddItem("un-locked item");
149. How can I hide the locked / fixed items
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ShowLockedItems = false;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_LockedItemCount(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellCaption(var_Items.get_LockedItem(exontrol.EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"locked item");
	var_Items.AddItem("un-locked item");
148. How can I show the control's sort bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SortBarVisible = true;
147. How can I change the header's background color, when multiple levels are displayed
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BackColorLevelHeader = Color.FromArgb(250,0,0);
(excombobox1.Columns.Add("S") as exontrol.EXCOMBOBOXLib.Column).Width = 32;
(excombobox1.Columns.Add("Level 1") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 2") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
(excombobox1.Columns.Add("Level 3") as exontrol.EXCOMBOBOXLib.Column).LevelKey = 1;
146. Can I programmatically scroll the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(3);
145. How do I disable expanding or collapsing an item when user presses the arrow keys
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.Columns.Add("Column 1");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
144. How do I expand automatically the items while user types characters to searching for something ( incremental searching )
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ExpandOnSearch = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.AutoSearch = true;
(excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column).AutoSearch = exontrol.EXCOMBOBOXLib.AutoSearchEnum.exContains;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),0,"some text"),0,"another text");
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),0,"some text"),0,"another text");
143. Can I programmatically scroll the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(3);
142. Do you have some function to load data from a safe array
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
141. Do you have some function to retrieve all items to a safe array
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem(0);
excombobox1.Items.AddItem(1);
excombobox1.Items.AddItem(2);
excombobox1.Items.AddItem(3);
140. How can still display the selected items when the control loses the focus
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.set_SelectItem(var_Items.AddItem("Item 2"),true);
139. How can I hide a column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
(excombobox1.Columns.Add("Hidden") as exontrol.EXCOMBOBOXLib.Column).Visible = false;
excombobox1.Columns.Add("2");
excombobox1.Columns.Add("3");
excombobox1.Columns.Add("4");
excombobox1.Columns.Add("5");
138. How can I ensure that a column is visible and fits the control's client area
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ColumnAutoResize = false;
(excombobox1.Columns.Add("1") as exontrol.EXCOMBOBOXLib.Column).Width = 128;
(excombobox1.Columns.Add("2") as exontrol.EXCOMBOBOXLib.Column).Width = 128;
(excombobox1.Columns.Add("3") as exontrol.EXCOMBOBOXLib.Column).Width = 128;
(excombobox1.Columns.Add("4") as exontrol.EXCOMBOBOXLib.Column).Width = 128;
(excombobox1.Columns.Add("5") as exontrol.EXCOMBOBOXLib.Column).Width = 128;
137. I've seen that the width of the tooltip is variable. Can I make it larger
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipWidth = 328;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip that should be very very very very very very very long";
136. How do I disable showing the tooltip for all control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 0;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
135. How do I let the tooltip being displayed longer
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipPopDelay = 10000;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
134. How do I show the tooltip quicker
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.ToolTipDelay = 1;
(excombobox1.Columns.Add("tootip") as exontrol.EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
133. How do I change the caption being displayed in the control's filter bar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.FilterBarCaption = "your filter caption";
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
132. How do I disable expanding or collapsing an item when user double clicks it
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.LinesAtRoot = exontrol.EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
excombobox1.Indent = 13;
excombobox1.Columns.Add("Column 1");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,0,"Child 1");
	var_Items.InsertItem(h,0,"Child 2");
	var_Items.set_ExpandItem(h,true);
131. How do I search case sensitive, using your incremental search feature
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AutoSearch = true;
excombobox1.ASCIILower = "";
exontrol.EXCOMBOBOXLib.Columns var_Columns = excombobox1.Columns;
	(var_Columns.Add("exStartWith") as exontrol.EXCOMBOBOXLib.Column).AutoSearch = exontrol.EXCOMBOBOXLib.AutoSearchEnum.exStartWith;
	(var_Columns.Add("exContains") as exontrol.EXCOMBOBOXLib.Column).AutoSearch = exontrol.EXCOMBOBOXLib.AutoSearchEnum.exContains;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("text"),1,"another text");
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("text"),1,"another text");
130. How do I disable the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Enabled = false;
129. How do I enable the incremental search feature within a column
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.AutoSearch = true;
exontrol.EXCOMBOBOXLib.Columns var_Columns = excombobox1.Columns;
	(var_Columns.Add("exStartWith") as exontrol.EXCOMBOBOXLib.Column).AutoSearch = exontrol.EXCOMBOBOXLib.AutoSearchEnum.exStartWith;
	(var_Columns.Add("exContains") as exontrol.EXCOMBOBOXLib.Column).AutoSearch = exontrol.EXCOMBOBOXLib.AutoSearchEnum.exContains;
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("text"),1,"another text");
exontrol.EXCOMBOBOXLib.Items var_Items1 = excombobox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("text"),1,"another text");
128. How do I call your x-script language
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.ExecuteTemplate("Columns.Add(`Column`)") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.HeaderStrikeOut = true;
	var_Column.HeaderBold = true;
127. How do I call your x-script language
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";
126. How do I show alternate rows in different background color
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.BackColorAlternate = Color.FromArgb(240,240,240);
excombobox1.Columns.Add("Column");
exontrol.EXCOMBOBOXLib.Items var_Items = excombobox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
125. How do I enlarge the drop down filter window
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.FilterBarDropDownHeight = "-320";
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterBarDropDownWidth = "-320";
excombobox1.Items.AddItem("Item 1");
excombobox1.Items.AddItem("Item 2");
124. How do I filter programatically the control
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exPattern;
	var_Column.Filter = "Item*";
excombobox1.Items.AddItem("Item 1");
excombobox1.Items.AddItem("");
excombobox1.Items.AddItem("Item 2");
excombobox1.ApplyFilter();
123. How do I change the font of the control's filterbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.FilterBarFont.Size = 20;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
122. Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.FilterBarBackColor32 = 0x1000000;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
121. How do I change the background color of the control's filterbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.FilterBarBackColor = Color.FromArgb(240,240,240);
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
120. How do I change the foreground color of the control's filterbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.FilterBarForeColor = Color.FromArgb(255,0,0);
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
119. How do I change the height of the control's filterbar
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.FilterBarHeight = 32;
exontrol.EXCOMBOBOXLib.Column var_Column = (excombobox1.Columns.Add("Column") as exontrol.EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
excombobox1.ApplyFilter();
118. How do select only a portion of text when the control starts editing a cell
C#
excombobox1.MinHeightList = 304;
excombobox1.ColumnAutoResize = true;
excombobox1.SelStart = 1;
excombobox1.SelLength = 1;
excombobox1.Columns.Add("Column");
excombobox1.Items.AddItem("Item 1");
excombobox1.Items.AddItem("Item 2");