870:
How can I sort by two-columns, one by date and one by time

exgantt1.BeginUpdate();
exgantt1.SingleSort = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Index") as exontrol.EXGANTTLib.Column).FormatColumn = "1 index ``";
	(var_Columns.Add("Date") as exontrol.EXGANTTLib.Column).SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Time") as exontrol.EXGANTTLib.Column);
		var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortTime;
		var_Column.FormatColumn = "time(value)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(0);
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(0);
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(0);
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,Convert.ToDateTime("1/1/2001 6:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(0);
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(0);
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(0);
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,Convert.ToDateTime("1/1/2001 6:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.Layout = "multiplesort=\"C1:1 C2:1\"";
exgantt1.EndUpdate();

869:
How can I connect to a DBF file
exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Select * From foxcode.DBF","Provider=vfpoledb;Data Source=C:\\Program Files\\Microsoft Visual FoxPro 9\\",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.EndUpdate();

868:
How can I change the bar's color based on values on the columns

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXGANTTLib.ConditionalFormats var_ConditionalFormats = exgantt1.ConditionalFormats;
	exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("1",null);
		var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
		var_ConditionalFormat.Bold = true;
		var_ConditionalFormat.BackColor = Color.FromArgb(250,250,250);
	exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("%1 = 5",null);
		var_ConditionalFormat1.ApplyToBars = "Task";
		var_ConditionalFormat1.BarColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat1.ForeColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat1.BarOverviewColor = Color.FromArgb(255,0,0);
	exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat2 = var_ConditionalFormats.Add("%1 = 3",null);
		var_ConditionalFormat2.ApplyToBars = "Task";
		var_ConditionalFormat2.BarColor = Color.FromArgb(0,255,0);
		var_ConditionalFormat2.ForeColor = Color.FromArgb(0,255,0);
		var_ConditionalFormat2.BarOverviewColor = Color.FromArgb(0,255,0);
exgantt1.EndUpdate();

867:
Does your control supports scrolling by touching the screen

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.ContinueColumnScroll = true;
exgantt1.ScrollBySingleLine = true;
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScrollOnShortTouch | exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScroll;
exgantt1.EndUpdate();

866:
How can I export the control's content to a PDF document (method 1)

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.ShowEmptyBars = 1;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/4/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.CopyTo("c:/temp/xtest.pdf");
System.Diagnostics.Debug.Print( "Look for C:\\Temp\\xtest.pdf file." );
exgantt1.EndUpdate();

865:
How can I export the control's content to a PDF document (method 2)

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.ShowEmptyBars = 1;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/4/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
object var_CopyTo = exgantt1.get_CopyTo("c:/temp/xtest.pdf");
System.Diagnostics.Debug.Print( "Look for C:\\Temp\\xtest.pdf file." );
exgantt1.EndUpdate();

864:
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

// CellStateChanged event - Fired after cell's state has been changed.
private void exgantt1_CellStateChanged(object sender,int Item,int ColIndex)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.set_CellCaption(Item,2,var_Items.get_CellState(Item,0));
}
//this.exgantt1.CellStateChanged += new exontrol.EXGANTTLib.exg2antt.CellStateChangedEventHandler(this.exgantt1_CellStateChanged);

exgantt1.BeginUpdate();
exgantt1.ShowFocusRect = false;
exgantt1.SelBackMode = exontrol.EXGANTTLib.BackModeEnum.exTransparent;
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = exgantt1.ConditionalFormats.Add("%2 != 0",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = exontrol.EXGANTTLib.FormatApplyToEnum.exFormatToItems;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.Width = 16;
	var_Column.AllowSizing = false;
exgantt1.Columns.Add("Information");
(exgantt1.Columns.Add("Hidden") as exontrol.EXGANTTLib.Column).Visible = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(""),1,"This is a bit of text associated");
	int h = var_Items.AddItem("");
	var_Items.set_CellCaption(h,1,"This is a bit of text associated");
	var_Items.set_CellState(h,0,1);
	var_Items.set_CellCaption(var_Items.AddItem(""),1,"This is a bit of text associated");
exgantt1.EndUpdate();

863:
How can I use no scroll bars for touch-screens

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScroll;
exgantt1.ScrollWidth = 4;
exgantt1.ScrollHeight = 4;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSLeft,Color.FromArgb(192,192,192));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSRight,Color.FromArgb(192,192,192));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSBack,Color.FromArgb(224,224,224));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSThumb,Color.FromArgb(128,128,128));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack,Color.FromArgb(224,224,224));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSDown,Color.FromArgb(192,192,192));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSUp,Color.FromArgb(192,192,192));
exgantt1.ScrollButtonWidth = 0;
exgantt1.ScrollButtonHeight = 0;
exgantt1.EndUpdate();

862:
How can I print the selected items only

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.SingleSel = false;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_SelectItem(var_Items[0],true);
	var_Items.set_SelectItem(var_Items[2],true);
	var_Items.set_SelectItem(var_Items[4],true);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.Options = "Print = Selection";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

861:
How can I sort the columns to be displayed on the columns floating bar

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("City") as exontrol.EXGANTTLib.Column).Visible = false;
	(var_Columns.Add("Start") as exontrol.EXGANTTLib.Column).Visible = false;
	(var_Columns.Add("End") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.ColumnsFloatBarVisible = true;
exgantt1.ColumnsFloatBarSortOrder = exontrol.EXGANTTLib.SortOrderEnum.SortAscending;

860:
How can I add a vertical padding

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Padding") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellSingleLine,false);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingLeft,6);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingRight,6);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingTop,6);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingBottom,6);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("padding");
	var_Items.AddItem("padding");
exgantt1.EndUpdate();

859:
How do you embed HTML options into the anchor click string

// AnchorClick event - Occurs when an anchor element is clicked.
private void exgantt1_AnchorClick(object sender,string AnchorID,string Options)
{
	System.Diagnostics.Debug.Print( AnchorID.ToString() );
	System.Diagnostics.Debug.Print( Options.ToString() );
}
//this.exgantt1.AnchorClick += new exontrol.EXGANTTLib.exg2antt.AnchorClickEventHandler(this.exgantt1_AnchorClick);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Car") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("<a mazda_1;options for 1>Mazda <b>1</b></a>");
	var_Items.AddItem("<a mazda_2;options for 2>Mazda <b>2</b></a>");
	var_Items.AddItem("<a mazda_3;options for 3a>Mazda <b>3.a</b></a>");
	var_Items.AddItem("<a mazda_3;options for 3b>Mazda <b>3.b</b></a>");
exgantt1.EndUpdate();

858:
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 3)

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78e" +
"gBHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRx" +
"LC8Mw3BDvYDkOAABAIgI=");
exgantt1.SelBackColor32 = 0x1fffffe;
exgantt1.ShowFocusRect = false;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_ItemBackColor(var_Items.AddItem("red"),Color.FromArgb(255,0,0));
	var_Items.set_ItemBackColor(var_Items.AddItem("blue"),Color.FromArgb(0,0,255));
	var_Items.set_ItemBackColor(var_Items.AddItem("green"),Color.FromArgb(0,255,0));
exgantt1.EndUpdate();

857:
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 2)

exgantt1.BeginUpdate();
exgantt1.SelBackMode = exontrol.EXGANTTLib.BackModeEnum.exTransparent;
exgantt1.ShowFocusRect = false;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_ItemBackColor(var_Items.AddItem("red"),Color.FromArgb(255,0,0));
	var_Items.set_ItemBackColor(var_Items.AddItem("blue"),Color.FromArgb(0,0,255));
	var_Items.set_ItemBackColor(var_Items.AddItem("green"),Color.FromArgb(0,255,0));
exgantt1.EndUpdate();

856:
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 1)

exgantt1.BeginUpdate();
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.ShowFocusRect = true;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_ItemBackColor(var_Items.AddItem("red"),Color.FromArgb(255,0,0));
	var_Items.set_ItemBackColor(var_Items.AddItem("blue"),Color.FromArgb(0,0,255));
	var_Items.set_ItemBackColor(var_Items.AddItem("green"),Color.FromArgb(0,255,0));
exgantt1.EndUpdate();

855:
Do you have any Fit-To-Page options when printing the control

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.Options = "FitToPage = On";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

854:
How can I add a footer row

exgantt1.ShowLockedItems = true;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exVLines;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,1);
	int h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,0);
	var_Items.set_ItemBackColor(h,Color.FromArgb(128,128,128));
	var_Items.set_ItemForeColor(h,Color.FromArgb(255,255,255));
	var_Items.set_CellCaption(h,0,"footer c1");
	var_Items.set_CellCaption(h,1,"footer c2");
	var_Items.set_CellCaption(var_Items.AddItem("cell"),1,"cell");

853:
How can I add a header row

exgantt1.ShowLockedItems = true;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exVLines;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.TopAlignment,1);
	int h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.TopAlignment,0);
	var_Items.set_ItemBackColor(h,Color.FromArgb(128,128,128));
	var_Items.set_ItemForeColor(h,Color.FromArgb(255,255,255));
	var_Items.set_CellCaption(h,0,"footer c1");
	var_Items.set_CellCaption(h,1,"footer c2");
	var_Items.set_CellCaption(var_Items.AddItem("cell"),1,"cell");

852:
How can I programmatically add more columns to the sort bar and other to be sorted, but not included in the sort bar

exgantt1.SortBarVisible = true;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add(0.ToString());
	var_Columns.Add(1.ToString());
	var_Columns.Add(2.ToString());
	var_Columns.Add(3.ToString());
	var_Columns.Add(4.ToString());
exgantt1.Layout = "multiplesort=\"C3:1 C4:2\";singlesort=\"C2:1\"";

851:
How can I fix a column, while other sizable and fill the control's client
exgantt1.ColumnAutoResize = true;
exgantt1.Columns.Add("Sizable");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("F") as exontrol.EXGANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 16;

850:
When I'm trying to show string with "line break" character (vbCrLF) in a textbox, it shows 2 squares. Is there any way to hide these squares

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Value");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("CellSingleLine = False") as exontrol.EXGANTTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellSingleLine,false);
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("FormatColumn/replace CRLF") as exontrol.EXGANTTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.FormatColumn = "value replace `\\r\\n` with ``";
	exontrol.EXGANTTLib.Column var_Column2 = (var_Columns.Add("FormatColumn/replace TAB,CRLF") as exontrol.EXGANTTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.FormatColumn = "(value replace `\\t` with ``) replace `\\r\\n` with ``";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("a\\ta\\r\\nb\\tb");

849:
Is there any way to "unselect" radio group

// DblClick event - Occurs when the user dblclk the left mouse button over an object.
private void exgantt1_DblClick(object sender,short Shift,int X,int Y)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		int h = var_Items.get_CellChecked(1234);
		var_Items.set_CellHasCheckBox(0,h,true);
		var_Items.set_CellState(0,h,0);
		var_Items.set_CellHasCheckBox(0,h,false);
}
//this.exgantt1.DblClick += new exontrol.EXGANTTLib.exg2antt.DblClickEventHandler(this.exgantt1_DblClick);

// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.set_CellState(var_Items.FocusItem,0,1);
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.MarkSearchColumn = false;
exgantt1.SelBackColor = Color.FromArgb(255,255,128);
exgantt1.SelForeColor = Color.FromArgb(0,0,0);
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Radio 1");
	var_Items.set_CellHasRadioButton(h,0,true);
	var_Items.set_CellRadioGroup(h,0,1234);
	h = var_Items.AddItem("Radio 2");
	var_Items.set_CellHasRadioButton(h,0,true);
	var_Items.set_CellRadioGroup(h,0,1234);
	var_Items.set_CellState(h,0,1);
	h = var_Items.AddItem("Radio 3");
	var_Items.set_CellHasRadioButton(h,0,true);
	var_Items.set_CellRadioGroup(h,0,1234);

848:
The Column.Alignment property does not seem to work for cells with images in them. What can be done

exgantt1.BeginUpdate();
exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exgantt1.TreeColumnIndex = -1;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.HeaderHeight = 24;
exgantt1.DefaultItemHeight = 24;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Image") as exontrol.EXGANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 32;
	var_Column.HTMLCaption = "<img>1</img>";
	var_Column.HeaderAlignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Column.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exgantt1.Columns.Add("Rest");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("<img>1</img>");
	var_Items.AddItem("<img>2</img>");
	var_Items.AddItem("<img>3</img>");
exgantt1.EndUpdate();

847:
Does your control support subscript or superscript, in HTML captions

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarCaption,"<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);

846:
How do I arrange my columns on multiple levels

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("C0") as exontrol.EXGANTTLib.Column);
		var_Column.ExpandColumns = "1,2";
		var_Column.DisplayExpandButton = false;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("C4") as exontrol.EXGANTTLib.Column);
		var_Column1.ExpandColumns = "5,6";
		var_Column1.DisplayExpandButton = false;
	var_Columns.Add("C5");
	exontrol.EXGANTTLib.Column var_Column2 = (var_Columns.Add("C6") as exontrol.EXGANTTLib.Column);
		var_Column2.ExpandColumns = "6,7";
		var_Column2.DisplayExpandButton = false;
	var_Columns.Add("C7");
exgantt1.EndUpdate();

845:
Does your control support expandable header or columns, so I can arrange it on multiple levels

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.BackColorLevelHeader = Color.FromArgb(240,240,240);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Photo") as exontrol.EXGANTTLib.Column);
		var_Column.AllowSizing = false;
		var_Column.Width = 32;
	var_Columns.Add("Personal Info");
	var_Columns.Add("Title");
	var_Columns.Add("Name");
	var_Columns.Add("First");
	var_Columns.Add("Last");
	var_Columns.Add("Address");
	var_Columns["Personal Info"].ExpandColumns = "2,3";
	exontrol.EXGANTTLib.Column var_Column1 = var_Columns["Name"];
		var_Column1.ExpandColumns = "4,5";
		var_Column1.Expanded = false;
exgantt1.EndUpdate();

844:
Can I change the format of date to be shown in the control

exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Default");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Format.1") as exontrol.EXGANTTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.FormatColumn = "dateF(value) replace `/` with `-`";
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("Format.2") as exontrol.EXGANTTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
		var_Column1.FormatColumn = "`<b>`+ shortdate(value) + `</b> ` + timeF(value)";
	exontrol.EXGANTTLib.Column var_Column2 = (var_Columns.Add("Format.3") as exontrol.EXGANTTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
		var_Column2.FormatColumn = "` <b>`+ ( weekday(value) case ( 0 : `Su`; 1 : `Mo`; 2 : `Tu`; 3 : `We`; 4 : `Th`; 5 : `Fr`; 6 : `Sa`) ) + `</b> ` + ( dateF(val" +
"ue) replace `/` with `-` )";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("1/2/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

843:
How can I remove all bars from the chart
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.ClearBars(0);

842:
How can I change the color for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

841:
Is there any automatic way to change a property for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

840:
How can I remove all bars with specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.RemoveBar(0,"K1");

839:
How can I find if there is any filter applied to the control

// FilterChange event - Occurs when the filter was changed.
private void exgantt1_FilterChange(object sender)
{
	System.Diagnostics.Debug.Print( "If negative, the filter is present, else not" );
	System.Diagnostics.Debug.Print( exgantt1.Items.VisibleItemCount.ToString() );
}
//this.exgantt1.FilterChange += new exontrol.EXGANTTLib.exg2antt.FilterChangeEventHandler(this.exgantt1_FilterChange);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.TreeColumnIndex = -1;
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exMatchingItemsOnly;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "C1";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

838:
How can I prevent showing the lines for the hierarchy while using the exMatchingItemsOnly option

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.TreeColumnIndex = -1;
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exMatchingItemsOnly;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "C1|C2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

837:
Is there any method to get only the matched items and not the items with his parent

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exMatchingItemsOnly;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "C1|C2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

836:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (2)

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
exgantt1.Layout = "Select=\"0\";SingleSort=\"C0:2\";Columns=1";
exgantt1.EndUpdate();

835:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (1)

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
exgantt1.Layout = "gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAG" +
"QAqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0" +
"jE3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI=";
exgantt1.EndUpdate();

834:
I have noticed that the column's header is changed once the cursor hovers it. Is it possible to change that visual appearance

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exgantt1.BackColorHeader32 = 0x1000000;
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exCursorHoverColumn,0x12d86ff);

833:
Is it possible to change the visual appearance of the columns selector/floating bar(3)

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
exgantt1.VisualAppearance.Add(3,"c:\\exontrol\\images\\pushed.ebn");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatAppearance,0x2000000);
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatBackColor,0x3000000);
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatCaptionBackColor,Color.FromArgb(246,245,240));
exgantt1.ColumnsFloatBarVisible = true;

832:
Is it possible to change the visual appearance of the columns selector/floating bar(2)

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.VisualAppearance.Add(3,"c:\\exontrol\\images\\pushed.ebn");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatBackColor,0x3000000);
exgantt1.ColumnsFloatBarVisible = true;

831:
Is it possible to change the visual appearance of the columns selector/floating bar(1)

exgantt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatAppearance,0x2000000);
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatBackColor,Color.FromArgb(246,245,240));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatCaptionBackColor,Color.FromArgb(246,245,240));
exgantt1.ColumnsFloatBarVisible = true;

830:
I am using the ColumnsFloatBarVisible property on True, but still not able to add any column on that list

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.ColumnsFloatBarVisible = true;

829:
Is it possible to list a column to columns selector/floating bar, but still user can use it

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Column 3") as exontrol.EXGANTTLib.Column);
		var_Column.Visible = false;
		var_Column.Enabled = false;
exgantt1.ColumnsFloatBarVisible = true;

828:
How can I prevent a specific column not to be listed in the columns selector/floating bar

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Column 3") as exontrol.EXGANTTLib.Column);
		var_Column.Visible = false;
		var_Column.AllowDragging = false;
exgantt1.ColumnsFloatBarVisible = true;

827:
Is it possible to change the "Columns" caption being shown in the columns selector/floating bar

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Hidden Columns");
exgantt1.ColumnsFloatBarVisible = true;

826:
How can I show the columns selector, so the user can drag and drop columns to the view

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.ColumnsFloatBarVisible = true;

825:
The column's header is changed while the cursor hovers it. Is it possible to prevent that

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);

824:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

exgantt1.BeginUpdate();
exgantt1.ScrollBars = exontrol.EXGANTTLib.ScrollBarsEnum.exDisableBoth;
exgantt1.Chart.ToolTip = "";
exgantt1.set_ScrollPartVisible(exontrol.EXGANTTLib.ScrollBarEnum.exVScroll,exontrol.EXGANTTLib.ScrollPartEnum.exExtentThumbPart,true);
exgantt1.set_ScrollPartVisible(exontrol.EXGANTTLib.ScrollBarEnum.exHScroll,exontrol.EXGANTTLib.ScrollPartEnum.exExtentThumbPart,true);
exgantt1.set_ScrollPartVisible(exontrol.EXGANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXGANTTLib.ScrollPartEnum.exExtentThumbPart,true);
exgantt1.ScrollWidth = 4;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128));
exgantt1.ScrollHeight = 4;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSBack,exgantt1.get_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSThumb,exgantt1.get_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSThumb));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exScrollSizeGrip,exgantt1.get_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack));
exgantt1.EndUpdate();

823:
How can I display the Year in Thai, Buddhist, Korean format

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstWeekDay = var_Chart.LocFirstWeekDay;
	var_Chart.MonthNames = var_Chart.LocMonthNames;
	var_Chart.WeekDays = var_Chart.LocWeekDays;
	var_Chart.AMPM = var_Chart.LocAMPM;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmmm%> <%d%>, <%loc_yyyy%> <r><%ww%>";
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exWeek;
		var_Level.ToolTip = var_Level.Label;
	var_Chart.ToolTip = "<%ddd%> <%m%>/<%d%>/<%loc_yyyy%>";
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exFilterBarDateMonths,exgantt1.Chart.MonthNames);

822:
How does localization work

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstWeekDay = var_Chart.LocFirstWeekDay;
	var_Chart.MonthNames = var_Chart.LocMonthNames;
	var_Chart.WeekDays = var_Chart.LocWeekDays;
	var_Chart.AMPM = var_Chart.LocAMPM;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);

821:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Car") as exontrol.EXGANTTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "MAZDA";
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("Equipment") as exontrol.EXGANTTLib.Column);
		var_Column1.DisplayFilterButton = true;
		var_Column1.DisplayFilterPattern = false;
		var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*";
		var_Column1.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "AIR BAG";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag");
	var_Items.set_CellCaption(var_Items.AddItem("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Ford"),1,"Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"ABS,ESP");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

820:
How can I have a case-sensitive filter

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Car") as exontrol.EXGANTTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilterDoCaseSensitive | exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "Mazda";
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("Equipment") as exontrol.EXGANTTLib.Column);
		var_Column1.DisplayFilterButton = true;
		var_Column1.DisplayFilterPattern = false;
		var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*";
		var_Column1.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilterDoCaseSensitive | exontrol.EXGANTTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "Air Bag";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag");
	var_Items.set_CellCaption(var_Items.AddItem("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Ford"),1,"Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"ABS,ESP");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

819:
I am using the FormatColumn/FormatCell to format my columns. Is it possible to ignore the SelForeColor, so the foreground color for selected items does not override my settings

// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.ClearItemBackColor(0);
		var_Items.set_ItemBackColor(var_Items.get_SelectedItem(0),Color.FromArgb(128,255,255));
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Format") as exontrol.EXGANTTLib.Column);
		var_Column.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(10);
	var_Items.AddItem(-8);
exgantt1.EndUpdate();

818:
How do I hide the selection
exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Format") as exontrol.EXGANTTLib.Column);
		var_Column.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(10);
	var_Items.AddItem(-8);
exgantt1.EndUpdate();

817:
How do I access the cells, or how do I get the values in the columns
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_CellCaption(h,1,"SubItem 1.1");
	var_Items.set_CellCaption(h,2,"SubItem 1.2");
	System.Diagnostics.Debug.Print( var_Items.get_CellCaption(h,2).ToString() );

816:
How can I change the check-boxes appearance

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Default") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exontrol.EXGANTTLib.Appearance var_Appearance = exgantt1.VisualAppearance;
	var_Appearance.Add(1,"XP:Button 3 12");
	var_Appearance.Add(2,"XP:Button 3 11");
	var_Appearance.Add(3,"XP:Button 3 10");
exgantt1.set_CheckImage(exontrol.EXGANTTLib.CheckStateEnum.Unchecked,16777216);
exgantt1.set_CheckImage(exontrol.EXGANTTLib.CheckStateEnum.Checked,33554432);
exgantt1.set_CheckImage(exontrol.EXGANTTLib.CheckStateEnum.PartialChecked,50331648);

815:
How can I load my table from an Access 2007, using ADO

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.EndUpdate();

814:
Is it possible display numbers in the same format no matter of regional settings in the control panel

exgantt1.BeginUpdate();
(exgantt1.Columns.Add("Def") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(666666.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default positive)'");
	h = var_Items.AddItem(666666.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
	h = var_Items.AddItem(-666666.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default negative)'");
	h = var_Items.AddItem(-666666.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
exgantt1.EndUpdate();

813:
The right pane needs to show ONLY the hours 6am to 9pm (every hour) for one day only and the user should not to be able to scroll left or right nor see any other hours. How can I do that

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_ScrollRange(exontrol.EXGANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.set_ScrollRange(exontrol.EXGANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 12582975;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.get_Level(0).Alignment = exontrol.EXGANTTLib.AlignmentEnum.exHOutside | exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Chart.UnitWidth = 18;
	var_Chart.set_PaneWidth(true,294);
	var_Chart.ScrollBar = false;
exgantt1.OnResizeControl = exontrol.EXGANTTLib.OnResizeControlEnum.exDisableSplitter;
exgantt1.EndUpdate();

812:
Can I use ebn files to display the selected dates

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Appearance var_Appearance = exgantt1.VisualAppearance;
	var_Appearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
	var_Appearance.Add(1,"CP:2 0 -4 0 4");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x1000000;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
	var_Chart.set_SelectDate(Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exgantt1.EndUpdate();

811:
Can I use ebn files to display the selected dates

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x1000000;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exgantt1.EndUpdate();

810:
How can I change the color for selected dates to be solid

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x7fff0000;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/15/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
	var_Chart.set_SelectDate(Convert.ToDateTime("1/16/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exgantt1.EndUpdate();

809:
How can I add or change the padding (spaces) for captions in the control's header

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
(exgantt1.Columns.Add("Padding-Left") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderPaddingLeft,18);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Padding-Right") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderPaddingRight,18);
	var_Column.HeaderAlignment = exontrol.EXGANTTLib.AlignmentEnum.RightAlignment;
exgantt1.EndUpdate();

808:
Do you have any plans to add cell spacing and cell padding to the cells

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Padding-Left") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingLeft,18);
(exgantt1.Columns.Add("No-Padding") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
(exgantt1.Columns.Add("Empty") as exontrol.EXGANTTLib.Column).Position = 0;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item A.1"),1,"Item A.2");
	var_Items.set_CellCaption(var_Items.AddItem("Item B.1"),1,"Item B.2");
	var_Items.set_CellCaption(var_Items.AddItem("Item C.1"),1,"Item C.2");
exgantt1.EndUpdate();

807:
Is it possible to display information about the firing events
// Event event - Notifies the application once the control fires an event.
private void exgantt1_Event(object sender,int EventID)
{
	System.Diagnostics.Debug.Print( exgantt1.get_EventParam(-2).ToString() );
}
//this.exgantt1.Event += new exontrol.EXGANTTLib.exg2antt.EventEventHandler(this.exgantt1_Event);


806:
Is it possible to scroll the control's content by clicking and moving the mouse up or down

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScroll;
exgantt1.EndUpdate();

805:
How do I load bars from my ADO table/database

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.EndUpdate();

804:
Is it possible to auto-numbering the children items but still keeps the position after filtering

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Child 2";
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Pos.1") as exontrol.EXGANTTLib.Column);
	var_Column1.FormatColumn = "1 ropos ''";
	var_Column1.Position = 0;
	var_Column1.Width = 32;
	var_Column1.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column2 = (exgantt1.Columns.Add("Pos.2") as exontrol.EXGANTTLib.Column);
	var_Column2.FormatColumn = "1 ropos ':'";
	var_Column2.Position = 1;
	var_Column2.Width = 32;
	var_Column2.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column3 = (exgantt1.Columns.Add("Pos.3") as exontrol.EXGANTTLib.Column);
	var_Column3.FormatColumn = "1 ropos ':|A-Z'";
	var_Column3.Position = 2;
	var_Column3.Width = 32;
	var_Column3.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column4 = (exgantt1.Columns.Add("Pos.4") as exontrol.EXGANTTLib.Column);
	var_Column4.FormatColumn = "1 ropos '|A-Z|'";
	var_Column4.Position = 3;
	var_Column4.Width = 32;
	var_Column4.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column5 = (exgantt1.Columns.Add("Pos.5") as exontrol.EXGANTTLib.Column);
	var_Column5.FormatColumn = "'<font Tahoma;7>' + 1 ropos '-<b>||A-Z'";
	var_Column5.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column5.Position = 4;
	var_Column5.Width = 32;
	var_Column5.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column6 = (exgantt1.Columns.Add("Pos.6") as exontrol.EXGANTTLib.Column);
	var_Column6.FormatColumn = "'<b>'+ 1 ropos '</b>:<fgcolor=FF0000>|A-Z|'";
	var_Column6.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column6.Position = 5;
	var_Column6.Width = 48;
	var_Column6.AllowSizing = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

803:
Is it possible to auto-numbering the children items too

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Pos.1") as exontrol.EXGANTTLib.Column);
	var_Column.FormatColumn = "1 rpos ''";
	var_Column.Position = 0;
	var_Column.Width = 32;
	var_Column.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Pos.2") as exontrol.EXGANTTLib.Column);
	var_Column1.FormatColumn = "1 rpos ':'";
	var_Column1.Position = 1;
	var_Column1.Width = 32;
	var_Column1.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column2 = (exgantt1.Columns.Add("Pos.3") as exontrol.EXGANTTLib.Column);
	var_Column2.FormatColumn = "1 rpos ':|A-Z'";
	var_Column2.Position = 2;
	var_Column2.Width = 32;
	var_Column2.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column3 = (exgantt1.Columns.Add("Pos.4") as exontrol.EXGANTTLib.Column);
	var_Column3.FormatColumn = "1 rpos '|A-Z|'";
	var_Column3.Position = 3;
	var_Column3.Width = 32;
	var_Column3.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column4 = (exgantt1.Columns.Add("Pos.5") as exontrol.EXGANTTLib.Column);
	var_Column4.FormatColumn = "'<font Tahoma;7>' + 1 rpos '-<b>||A-Z'";
	var_Column4.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column4.Position = 4;
	var_Column4.Width = 32;
	var_Column4.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column5 = (exgantt1.Columns.Add("Pos.6") as exontrol.EXGANTTLib.Column);
	var_Column5.FormatColumn = "'<b>'+ 1 rpos '</b>:<fgcolor=FF0000>|A-Z|'";
	var_Column5.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column5.Position = 5;
	var_Column5.Width = 48;
	var_Column5.AllowSizing = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

802:
Is there any way to add auto-numbering

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Items");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXGANTTLib.Column);
		var_Column.FormatColumn = "1 pos ''";
		var_Column.Position = 0;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");

801:
How can I format my column to display the percent values “5,00%”

(exgantt1.Columns.Add("Percent") as exontrol.EXGANTTLib.Column).FormatColumn = "((dbl(value) * 100) format '2|,|3.')+'%'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0.5);
	var_Items.AddItem(0.4);
	var_Items.AddItem(0.75);

800:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.set_HTMLPicture("p1","c:\\exontrol\\images\\card.png");
exgantt1.set_HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragCopySnapShot;
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exThinLine;
exgantt1.ShowFocusRect = false;
exgantt1.DefaultItemHeight = 26;
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
	var_Chart.LevelCount = 2;
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Color32 = 0x1000000;
		var_Bar.Height = 18;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("<img>p1:32</img>Group 1");
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemBold(h,true);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
	h = var_Items.AddItem("<img>p2:32</img>Group 2");
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
	var_Items.set_ItemBold(h,true);
	var_Items.set_ItemDivider(h,0);
	h1 = var_Items.InsertItem(h,null,"Task");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ExpandItem(0,true);
exgantt1.EndUpdate();

799:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

exgantt1.BeginUpdate();
exgantt1.set_HTMLPicture("p1","c:\\exontrol\\images\\card.png");
exgantt1.set_HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
exgantt1.Chart.set_PaneWidth(true,0);
object var_HTMLPicture = exgantt1.get_HTMLPicture("aka1");
exgantt1.HeaderHeight = 24;
exgantt1.DefaultItemHeight = 48;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exRowLines;
exgantt1.GridLineColor = Color.FromArgb(240,240,240);
exgantt1.SelBackMode = exontrol.EXGANTTLib.BackModeEnum.exTransparent;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Columns[0].set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exgantt1.Columns[0].FormatColumn = "value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`";
exgantt1.Columns[0].Width = 112;
exgantt1.Columns[1].set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,1);
exgantt1.Columns[2].LevelKey = "1";
exgantt1.Columns[3].LevelKey = "1";
exgantt1.Columns[4].LevelKey = "1";
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragCopyImage;
exgantt1.SingleSel = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items[1];
	var_Items.set_SelectItem(h,true);
	h = var_Items[2];
	var_Items.set_SelectItem(h,true);
	h = var_Items[3];
	var_Items.set_SelectItem(h,true);
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,1);
	h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,0);
	var_Items.set_CellCaption(h,1,"<font ;16>Click the selection and <b>wait to start dragging</b>, and then drop to Microsoft Word, ...");
	var_Items.set_CellSingleLine(h,1,false);
	var_Items.set_CellCaptionFormat(h,1,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemDivider(h,1);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXGANTTLib.DividerAlignmentEnum.DividerTop);
exgantt1.EndUpdate();

798:
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Columns[2].LevelKey = "1";
exgantt1.Columns[3].LevelKey = "1";
exgantt1.Columns[4].LevelKey = "1";
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragCopyText;
exgantt1.SingleSel = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items[1];
	var_Items.set_SelectItem(h,true);
	h = var_Items[3];
	var_Items.set_SelectItem(h,true);
	h = var_Items[4];
	var_Items.set_SelectItem(h,true);
	h = var_Items[5];
	var_Items.set_SelectItem(h,true);
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,1);
	h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,0);
	var_Items.set_CellCaption(h,0,"<font ;16>Click the selection and <b>wait to start dragging</b>, and then drop to Microsoft Word, Excel, ...");
	var_Items.set_CellSingleLine(h,0,false);
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,0,exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXGANTTLib.DividerAlignmentEnum.DividerTop);
exgantt1.EndUpdate();

797:
Is it possible to change the indentation during the drag and drop

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragPositionAny;
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exSolidLine;
exgantt1.HasButtons = exontrol.EXGANTTLib.ExpandButtonEnum.exWPlus;
exgantt1.ShowFocusRect = false;
exgantt1.SelBackMode = exontrol.EXGANTTLib.BackModeEnum.exTransparent;
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	var_Chart.LevelCount = 2;
	var_Chart.Bars["Task"].Color32 = 0x1000000;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Group 1");
	var_Items.set_ItemBold(h,true);
	var_Items.set_ItemDivider(h,0);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.InsertItem(h1,null,"Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	h2 = var_Items.InsertItem(h1,null,"Task 3");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ExpandItem(h1,true);
	h = var_Items.AddItem("Group 2");
	var_Items.set_ItemBold(h,true);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,1);
	h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,0);
	var_Items.set_CellCaption(h,0,"Click a row, and move by dragging <b>up, down</b> to change the row's parent or <b>left,right</b> to increase or decrease the i" +
"ndentation.");
	var_Items.set_CellSingleLine(h,0,false);
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
exgantt1.EndUpdate();

796:
Is it possible to allow moving an item to another, but keeping its indentation

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragPositionKeepIndent;
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exThinLine;
exgantt1.ShowFocusRect = false;
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
	var_Chart.LevelCount = 2;
	var_Chart.Bars["Task"].Color32 = 0x1000000;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Group 1");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemBold(h,true);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Group 2");
	var_Items.set_ItemBold(h,true);
	var_Items.set_ItemDivider(h,0);
exgantt1.EndUpdate();

795:
How can I change the row's position to another, by drag and drop. Is it possible

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragPosition;
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.Bars["Task"].Color32 = 0x1000000;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
exgantt1.EndUpdate();

794:
Have seen the RenderType, but do not know what kind of values should I use

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.Columns.Add("Task");
exgantt1.BackColorHeader32 = 0x1000000;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.BackColorLevelHeader32 = 0x1000000;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.Bars["Task"].Color32 = 0x1000000;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
exgantt1.VisualAppearance.RenderType = -2147483393;
exgantt1.EndUpdate();

793:
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Item") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.Filter = "Child 1";
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.DisplayFilterDate = true;
	var_Column1.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowExclude | exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exNoItems;
	var_Column1.Filter = Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")).ToString();
	var_Column1.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exDate;
exgantt1.FilterCriteria = "%0 or %1";
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exFilterBarOr,"<font ;18><fgcolor=FF0000>or</fgcolor></font>");
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exFilterBarAnd,"<font ;18><fgcolor=FF0000>and</fgcolor></font>");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1"),1,Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2"),1,Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1"),1,Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2"),1,Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

792:
Is it possible exclude the dates being selected in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column);
	var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowExclude | exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exNoItems;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.EndUpdate();

791:
How can I display a calendar control inside the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column);
	var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exNoItems;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.EndUpdate();

790:
Is it possible to include the dates as checkb-boxes in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Dates") as exontrol.EXGANTTLib.Column);
	var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exDate;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

789:
How can I filter items for dates before a specified date

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Dates") as exontrol.EXGANTTLib.Column);
	var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exNoItems;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exDate;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

788:
Is it possible to filter dates

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Dates") as exontrol.EXGANTTLib.Column);
	var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exNoItems;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgantt1.EndUpdate();

787:
Is it possible to change the Exclude field name to something different, in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exFilterBarExclude,"Leaving out");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowExclude | exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
exgantt1.EndUpdate();

786:
How can I display the Exclude field in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowExclude | exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
exgantt1.EndUpdate();

785:
Is it possible to show and ensure the focused item from the control, in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_SelectItem(var_Items.InsertItem(h,null,"Child 2"),true);
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

784:
Is it possible to show only blanks items with no listed items from the control

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowBlanks | exontrol.EXGANTTLib.FilterListEnum.exNoItems;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

783:
How can I include the blanks items in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowBlanks | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

782:
How can I select multiple items in the drop down filter window, using check-boxes

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

781:
Is it possible to allow a single item being selected in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exSingleSel;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

780:
How can I display no (All) item in the drop down filter window

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exFilterBarAll,"");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exNoItems;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

779:
Is it possible to display no items in the drop down filter window, so only the pattern is visible

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exNoItems;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

778:
How can I show the child items with no identation

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exGroupLinesOutside;
exgantt1.Indent = 12;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exThinLine;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");

777:
Is there other ways of showing the hierarchy lines (exGroupLinesAtRoot)

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
exgantt1.Indent = 12;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

776:
Is there other ways of showing the hierarchy lines (exGroupLinesOutside)

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exGroupLinesOutside;
exgantt1.Indent = 12;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");

775:
Is there other ways of showing the hierarchy lines (exGroupLinesInsideLeaf)

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exGroupLinesInsideLeaf;
exgantt1.Indent = 12;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

774:
Is there other ways of showing the hierarchy lines (exGroupLinesInside)

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exGroupLinesInside;
exgantt1.Indent = 12;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

773:
Is there other ways of showing the hierarchy lines (exGroupLines)

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exGroupLines;
exgantt1.Indent = 12;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(var_Items.InsertItem(h,null,"Child 2"),null,"SubChild 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

772:
Is it possible background color displayed when the mouse passes over an item

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Def");
exgantt1.HotBackColor = Color.FromArgb(0,0,128);
exgantt1.HotForeColor = Color.FromArgb(255,255,255);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgantt1.EndUpdate();

771:
How can I simulate displaying groups

exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exNoLine;
exgantt1.ScrollBySingleLine = true;
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Name");
	var_Columns.Add("A");
	var_Columns.Add("B");
	var_Columns.Add("C");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Group 1");
	var_Items.set_CellHAlignment(h,0,exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXGANTTLib.DividerAlignmentEnum.DividerBoth);
	var_Items.set_ItemHeight(h,24);
	var_Items.set_SortableItem(h,false);
	int h1 = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_CellCaption(h1,1,1);
	var_Items.set_CellCaption(h1,2,2);
	var_Items.set_CellCaption(h1,3,3);
	h1 = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellCaption(h1,1,4);
	var_Items.set_CellCaption(h1,2,5);
	var_Items.set_CellCaption(h1,3,6);
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Group 2");
	var_Items.set_CellHAlignment(h,0,exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXGANTTLib.DividerAlignmentEnum.DividerBoth);
	var_Items.set_ItemHeight(h,24);
	var_Items.set_SortableItem(h,false);
	h1 = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_CellCaption(h1,1,1);
	var_Items.set_CellCaption(h1,2,2);
	var_Items.set_CellCaption(h1,3,3);
	h1 = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellCaption(h1,1,4);
	var_Items.set_CellCaption(h1,2,5);
	var_Items.set_CellCaption(h1,3,6);
	var_Items.set_ExpandItem(h,true);

770:
Is it possible to change the height for all items at once

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(0,true);
exgantt1.EndUpdate();
exgantt1.DefaultItemHeight = 12;
exgantt1.Items.set_ItemHeight(0,12);

769:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.Columns.Add("Value");
exgantt1.Columns.Add("FormatCell");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(1);
	var_Items.set_CellCaption(h,1,12);
	var_Items.set_FormatCell(h,1,"currency(value)");
	h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaptionFormat(h,1,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
	var_Items.set_FormatCell(h,1,"longdate(value) replace '2001' with '<b>2001</b>'");
exgantt1.EndUpdate();

768:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Name");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Values") as exontrol.EXGANTTLib.Column);
		var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.set_FormatCell(h,1,"'<none>'");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1"),1,10);
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2"),1,15);
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 3"),1,25);
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

767:
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Name");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Values") as exontrol.EXGANTTLib.Column);
		var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.set_FormatCell(h,1," ");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1"),1,10);
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2"),1,15);
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 3"),1,25);
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

766:
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = exgantt1.ConditionalFormats.Add("1","K1");
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat1 = exgantt1.ConditionalFormats.Add("1","K2");
	var_ConditionalFormat1.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat1.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x2;
exgantt1.MarkSearchColumn = false;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exRowLines;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(null);
	var_Items.AddItem(null);
	var_Items.AddItem(null);
exgantt1.EndUpdate();

765:
How can I get the list of items as they are displayed
exgantt1.BeginUpdate();
exgantt1.BackColorAlternate = Color.FromArgb(240,240,240);
exgantt1.Columns.Add("Names");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Mantel");
	var_Items.AddItem("Mechanik");
	var_Items.AddItem("Motor");
	var_Items.AddItem("Murks");
	var_Items.AddItem("Märchen");
	var_Items.AddItem("Möhren");
	var_Items.AddItem("Mühle");
exgantt1.Columns[0].SortOrder = exontrol.EXGANTTLib.SortOrderEnum.SortAscending;
exgantt1.EndUpdate();
System.Diagnostics.Debug.Print( exgantt1.GetItems(1).ToString() );

764:
Is posible to reduce the size of the picture to be shown in the column's caption

exgantt1.BeginUpdate();
exgantt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exgantt1.HeaderHeight = 48;
(exgantt1.Columns.Add("DefaultSize") as exontrol.EXGANTTLib.Column).HTMLCaption = "Default-Size <img>pic1</img> Picture";
(exgantt1.Columns.Add("CustomSize") as exontrol.EXGANTTLib.Column).HTMLCaption = "Custom-Size <img>pic1:16</img> Picture";
exgantt1.EndUpdate();

763:
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = exgantt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
exgantt1.Columns.Add("C1");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("C2") as exontrol.EXGANTTLib.Column);
	var_Column.HeaderBold = true;
	var_Column.HTMLCaption = "<fgcolor=FF0000>C2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(10),1,11);
	var_Items.set_CellCaption(var_Items.AddItem(12),1,13);
exgantt1.EndUpdate();

762:
The item is not getting selected when clicking the cell's checkbox. What should I do

// CellStateChanged event - Fired after cell's state has been changed.
private void exgantt1_CellStateChanged(object sender,int Item,int ColIndex)
{
	exgantt1.Items.set_SelectItem(Item,true);
}
//this.exgantt1.CellStateChanged += new exontrol.EXGANTTLib.exg2antt.CellStateChangedEventHandler(this.exgantt1_CellStateChanged);

(exgantt1.Columns.Add("Check") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0);
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);

761:
Is it possible to limit the height of the item while resizing

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int Item)
{
	exgantt1.Items.set_ItemMinHeight(Item,18);
	exgantt1.Items.set_ItemMaxHeight(Item,72);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ItemsAllowSizing = exontrol.EXGANTTLib.ItemsAllowSizingEnum.exResizeItem;
exgantt1.ScrollBySingleLine = false;
exgantt1.BackColorAlternate = Color.FromArgb(240,240,240);
exgantt1.Columns.Add("Names");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Mantel");
	var_Items.AddItem("Mechanik");
	var_Items.AddItem("Motor");
	var_Items.AddItem("Murks");
	var_Items.AddItem("Märchen");
	var_Items.AddItem("Möhren");
	var_Items.AddItem("Mühle");
exgantt1.Columns[0].SortOrder = exontrol.EXGANTTLib.SortOrderEnum.SortAscending;
exgantt1.EndUpdate();

760:
Is it possible to copy the hierarchy of the control using the GetItems method

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Def");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.PutItems(exgantt1.GetItems(-1),null);

759:
Does your control supports multiple lines tooltip

exgantt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exgantt1.ToolTipDelay = 1;
(exgantt1.Columns.Add("tootip") as exontrol.EXGANTTLib.Column).ToolTip = "<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, " +
"icons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>";

758:
It is possible to write the word in red/color or to add a tooltip or a link to the word

exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,32);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","some <fgcolor=FF0000>red</fgcolor> text");
	var_Items.set_ItemBar(h1,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPercent,false);
	var_Items.set_ItemBar(h1,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarToolTip,"And here goes the <b>tooltip</b> of the text. ");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(h2,"K2",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarToolTip,"And here goes the <b>tooltip</b> of the bar. ");
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L<b>inke</b>d to a bar");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkToolTip,"And here goes the <b>tooltip</b> of the link. ");

757:
It is possible to use seconds/minutes/hours as time scale in your control, but using my regional settings

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMonth,"<|><%loc_m1%><|><%loc_m2%><|><%loc_m3%><|><%loc_mmmm%><|><%loc_m3%> '<%yy%><|><%loc_mmmm%> <%yyyy%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%loc_m3%> <%d%>, '<%yy%><r><%ww%><|><%loc_mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%loc_d1%><|><%loc_d2%><|><%loc_d3%><|><%loc_dddd%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%><|><%loc_dddd%>, <%loc_mmmm%> <%d" +
"%>, <%yyyy%><||><||>4096");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exHour,"<|><%hh%><|><%h%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%" +
"> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> " +
"<%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>" +
"<|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMonth,"<%loc_mmmm%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%loc_mmmm%> <%d%>, <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exHour,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMinute,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exSecond,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
exontrol.EXGANTTLib.Chart var_Chart1 = exgantt1.Chart;
	var_Chart1.set_PaneWidth(false,0);
	var_Chart1.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart1.LevelCount = 4;
	var_Chart1.get_Level(0).Label = 4096;
	var_Chart1.get_Level(1).Label = 65536;
	var_Chart1.get_Level(2).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart1.get_Level(3);
		var_Level.Count = 15;
		var_Level.Label = 16777216;
exgantt1.EndUpdate();

756:
The chart's header is displayed in English. Can I change so it is the same as in my regional settings

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMonth,"<|><%loc_m1%><|><%loc_m2%><|><%loc_m3%><|><%loc_mmmm%><|><%loc_m3%> '<%yy%><|><%loc_mmmm%> <%yyyy%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%loc_m3%> <%d%>, '<%yy%><r><%ww%><|><%loc_mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%loc_d1%><|><%loc_d2%><|><%loc_d3%><|><%loc_dddd%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%><|><%loc_dddd%>, <%loc_mmmm%> <%d" +
"%>, <%yyyy%><||><||>4096");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exHour,"<|><%hh%><|><%h%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%" +
"> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> " +
"<%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>" +
"<|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMonth,"<%loc_mmmm%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%loc_mmmm%> <%d%>, <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exHour,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMinute,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exSecond,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
exontrol.EXGANTTLib.Chart var_Chart1 = exgantt1.Chart;
	var_Chart1.set_PaneWidth(false,0);
	var_Chart1.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart1.LevelCount = 2;
	var_Chart1.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

755:
It is possible to use seconds/minutes/hours as time scale in your control

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 4;
	var_Chart.get_Level(0).Label = 4096;
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.get_Level(2).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(3);
		var_Level.Count = 15;
		var_Level.Label = 16777216;
exgantt1.EndUpdate();

754:
How can I prevent highlighting the column from the cursor - point

exgantt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJ" +
"gEgI=");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exCursorHoverColumn,0x1000000);
(exgantt1.Columns.Add("S") as exontrol.EXGANTTLib.Column).Width = 32;
(exgantt1.Columns.Add("Level 1") as exontrol.EXGANTTLib.Column).LevelKey = 1;
(exgantt1.Columns.Add("Level 2") as exontrol.EXGANTTLib.Column).LevelKey = 1;
(exgantt1.Columns.Add("Level 3") as exontrol.EXGANTTLib.Column).LevelKey = 1;
(exgantt1.Columns.Add("E1") as exontrol.EXGANTTLib.Column).Width = 32;
(exgantt1.Columns.Add("E2") as exontrol.EXGANTTLib.Column).Width = 32;
(exgantt1.Columns.Add("E3") as exontrol.EXGANTTLib.Column).Width = 32;
(exgantt1.Columns.Add("E4") as exontrol.EXGANTTLib.Column).Width = 32;

753:
Can I use and display PNG pictures

exgantt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\card.png");
exgantt1.HeaderHeight = 48;
(exgantt1.Columns.Add("ColumnName") as exontrol.EXGANTTLib.Column).HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture";

752:
Is it possible to specify the background color for the item in the chart part only

exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	exgantt1.Chart.set_ItemBackColor(hC,Color.FromArgb(255,0,0));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

751:
Is it possible to apply different visual appearance, color, sizes for item in the list and chart part

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
exgantt1.VisualAppearance.Add(3,"CP:2 2 2 -2 -2");
exgantt1.Columns.Add("Default");
exgantt1.SelBackMode = exontrol.EXGANTTLib.BackModeEnum.exTransparent;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor32(hC,0x1ffff00);
	exgantt1.Chart.set_ItemBackColor32(hC,0x300ff00);
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

750:
How do I change the visual appearance for the entire item, using your EBN technology

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor32(hC,0x1000000);
	exgantt1.Chart.set_ItemBackColor32(hC,0x1000000);
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

749:
is it possible to specify the a different background color for the item, list and chart part

exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,Color.FromArgb(255,0,0));
	exgantt1.Chart.set_ItemBackColor(hC,Color.FromArgb(255,255,0));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

748:
Is it possible to specify the background color for the entire row, including the chart part

exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,Color.FromArgb(255,0,0));
	exgantt1.Chart.set_ItemBackColor(hC,Color.FromArgb(255,0,0));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

747:
How can I show the tooltip programmatically ( I want to be able to set the tooltip content dynamically just before the tooltip start to appear, not using the exBarTooltip )

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	exgantt1.ShowToolTip(exgantt1.Chart.get_BarFromPoint(-1,-1),"","8","8",null);
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Def");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"C","C");
exgantt1.EndUpdate();

746:
Is it possible to move an item from a parent to another

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.InsertItem(var_Items.AddItem("C"),"","D");
	var_Items.SetParent(var_Items.get_FindItem("D",0,null),var_Items.get_FindItem("A",0,null));
exgantt1.EndUpdate();

745:
How can I change the identation for an item

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.InsertItem(var_Items.AddItem("C"),"","D");
	var_Items.SetParent(var_Items.get_FindItem("D",0,null),0);
exgantt1.EndUpdate();

744:
How can I specify the levels using the user's Regional and Language Options

exgantt1.BeginUpdate();
exgantt1.Font.Name = "Arial Unicode MS";
exgantt1.HeaderHeight = 36;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("5/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.UnitWidth = 36;
	var_Chart.LevelCount = 2;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<b><%loc_mmmm%></b> <%yyyy%><br><%loc_sdate%><r> <%ww%> ";
		var_Level.ToolTip = var_Level.Label;
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exWeek;
	exontrol.EXGANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%loc_ddd%><br><%d%>";
		var_Level1.ToolTip = var_Level1.Label;
	var_Chart.ToolTip = "<%loc_ldate%>";
exgantt1.EndUpdate();

743:
How can I display a bar only using a gradient color and shadow

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = Color.FromArgb(255,255,255);
		var_Bar.EndColor = var_Bar.Color;
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,8291);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

742:
Is it possible to display a bar only using a gradient color using the exBarColor option

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = Color.FromArgb(255,255,255);
		var_Bar.EndColor = var_Bar.StartColor;
		var_Bar.Height = 17;
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,227);
	h = var_Items.AddItem("W/h Color");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,227);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

741:
Is it possible to display a bar only using a gradient color

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = Color.FromArgb(255,255,255);
		var_Bar.EndColor = var_Bar.StartColor;
		var_Bar.Height = 17;
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,227);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

740:
Is it possible to display a bar only using a gradient color

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = Color.FromArgb(255,255,255);
		var_Bar.EndColor = var_Bar.Color;
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,99);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

739:
How can I display a specified bar only with a thicker border

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Border");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,4099);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

738:
Is it possible to display the shadow for a specified bar

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Shadow");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPattern,8195);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

737:
Is it possible to display the task bars with a gradient color

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.Bars.Copy("Task","TaskO");
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
		var_Bar.StartColor = Color.FromArgb(255,255,255);
		var_Bar.EndColor = var_Bar.Color;
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"TaskO",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Original"),"TaskO",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

736:
How can I know the type of bars I can displays using predefined patterns

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	exontrol.EXGANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars.Add("Box").Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternBox;
		var_Bars.Add("ThickBox").Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternThickBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
		var_Bars.Add("DiagBox").Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternThickBox | exontrol.EXGANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bars.Copy("Task","Shadow").Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
		var_Bars.Copy("Task","TShadow").Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXGANTTLib.PatternEnum.exPatternThickBox | exontrol.EXGANTTLib.PatternEnum.exPatternDiagCross;
		exontrol.EXGANTTLib.Bar var_Bar = var_Bars.Add("HGrad1");
			var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternBox;
			var_Bar.StartColor = Color.FromArgb(255,255,255);
			var_Bar.EndColor = Color.FromArgb(0,0,255);
		exontrol.EXGANTTLib.Bar var_Bar1 = var_Bars.Add("HGrad2");
			var_Bar1.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternBox | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
			var_Bar1.StartColor = Color.FromArgb(255,255,255);
			var_Bar1.EndColor = Color.FromArgb(0,0,255);
			var_Bar1.Color = Color.FromArgb(0,0,255);
		exontrol.EXGANTTLib.Bar var_Bar2 = var_Bars.Add("HGrad3");
			var_Bar2.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternBox | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
			var_Bar2.StartColor = Color.FromArgb(255,255,255);
			var_Bar2.EndColor = var_Bar2.StartColor;
			var_Bar2.Color = Color.FromArgb(0,0,255);
		exontrol.EXGANTTLib.Bar var_Bar3 = var_Bars.Add("HGrad4");
			var_Bar3.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternThickBox | exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
			var_Bar3.StartColor = Color.FromArgb(255,255,255);
			var_Bar3.EndColor = var_Bar3.StartColor;
			var_Bar3.Color = Color.FromArgb(0,0,255);
		exontrol.EXGANTTLib.Bar var_Bar4 = var_Bars.Add("HGrad5");
			var_Bar4.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
			var_Bar4.StartColor = Color.FromArgb(0,255,0);
			var_Bar4.EndColor = Color.FromArgb(255,0,0);
			var_Bar4.Color = Color.FromArgb(0,0,255);
		exontrol.EXGANTTLib.Bar var_Bar5 = var_Bars.Add("VGrad1");
			var_Bar5.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
			var_Bar5.StartColor = Color.FromArgb(255,255,255);
			var_Bar5.EndColor = Color.FromArgb(0,0,255);
			var_Bar5.Height = 14;
		exontrol.EXGANTTLib.Bar var_Bar6 = var_Bars.Add("VGrad2");
			var_Bar6.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
			var_Bar6.StartColor = Color.FromArgb(255,255,255);
			var_Bar6.EndColor = Color.FromArgb(0,0,255);
			var_Bar6.Color = Color.FromArgb(0,0,255);
			var_Bar6.Height = 14;
		exontrol.EXGANTTLib.Bar var_Bar7 = var_Bars.Add("VGrad3");
			var_Bar7.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
			var_Bar7.StartColor = Color.FromArgb(255,255,255);
			var_Bar7.EndColor = var_Bar7.StartColor;
			var_Bar7.Color = Color.FromArgb(0,0,255);
			var_Bar7.Height = 14;
		exontrol.EXGANTTLib.Bar var_Bar8 = var_Bars.Add("VGrad4");
			var_Bar8.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternThickBox | exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
			var_Bar8.StartColor = Color.FromArgb(255,255,255);
			var_Bar8.EndColor = var_Bar8.StartColor;
			var_Bar8.Color = Color.FromArgb(0,0,255);
			var_Bar8.Height = -1;
		exontrol.EXGANTTLib.Bar var_Bar9 = var_Bars.Add("VGrad5");
			var_Bar9.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
			var_Bar9.StartColor = Color.FromArgb(0,255,0);
			var_Bar9.EndColor = Color.FromArgb(255,0,0);
			var_Bar9.Color = Color.FromArgb(0,0,255);
			var_Bar9.Height = 14;
exgantt1.Columns.Add("Types");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Box"),"Box",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Thick Box"),"ThickBox",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Thick Box Diag"),"DiagBox",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Shadow"),"Shadow",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Thick Shadow"),"TShadow",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient"),"HGrad1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient"),"HGrad2",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient 3 Colors"),"HGrad3",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient 3 Colors"),"HGrad4",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Gradient Shadow"),"HGrad5",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient"),"VGrad1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient"),"VGrad2",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Pattern Gradient 3 Colors"),"VGrad3",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Solid Gradient 3 Colors"),"VGrad4",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Gradient Shadow"),"VGrad5",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

735:
Is it possible to display the bars with a thicker border

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.set_PaneWidth(false,48);
exgantt1.Chart.Bars.Copy("Task","TaskB").Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternThickBox | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"TaskB",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

734:
Is it possible to display the shadow for EBN bars

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.set_PaneWidth(false,48);
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars.Copy("Task","EBN");
	var_Bar.Color32 = 0x1000000;
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternFrameShadow;
exgantt1.Chart.Bars.Copy("Task","EBN2").Color32 = 0x1000000;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"EBN2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"EBN",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"EBN2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

733:
Can I display a shadow for my bars

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.set_PaneWidth(false,48);
exgantt1.Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternFrameShadow | exontrol.EXGANTTLib.PatternEnum.exPatternShadow;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

732:
How can I use the Color property for gradient bars

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.set_PaneWidth(false,48);
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars.Add("V");
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.StartColor = Color.FromArgb(0,255,0);
	var_Bar.EndColor = var_Bar.StartColor;
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
	var_Bar.Height = -1;
exontrol.EXGANTTLib.Bar var_Bar1 = exgantt1.Chart.Bars.Add("H");
	var_Bar1.Color = Color.FromArgb(255,0,0);
	var_Bar1.StartColor = Color.FromArgb(0,255,0);
	var_Bar1.EndColor = var_Bar1.StartColor;
	var_Bar1.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradient3Colors | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"V",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"H",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exgantt1.EndUpdate();

731:
Is there any option to show bars with vertical gradient

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars["Task"];
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.StartColor = Color.FromArgb(0,255,0);
	var_Bar.EndColor = Color.FromArgb(255,255,0);
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternGradientVBox | exontrol.EXGANTTLib.PatternEnum.exPatternBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);

730:
How can I define a new milestone bar

exgantt1.BeginUpdate();
exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bars var_Bars = exgantt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars.AddShapeCorner(12346,2);
	var_Bars.Copy("Milestone","M1").StartShape = (exontrol.EXGANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconRight;
	var_Bars.Copy("Milestone","M2").StartShape = (exontrol.EXGANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconSquare | exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconRight;
	exontrol.EXGANTTLib.Bar var_Bar = var_Bars.Copy("Milestone","MP");
		var_Bar.StartShape = exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconStar;
		var_Bar.StartColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Default"),"Milestone",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Predefined"),"MP",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Custom 1"),"M1",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Custom 2"),"M2",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exgantt1.EndUpdate();

729:
How can I define my milestone bar, using my icons or pictures

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bars var_Bars = exgantt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars["Milestone"].StartShape = (exontrol.EXGANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXGANTTLib.ShapeCornerEnum.exShapeIconRight;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Milestone",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

728:
I haven't found options to localize (in Italian) the strings ( dates, tooltip ) that shows in the chart area

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "gennaio febbraio marzo aprile maggio giugno luglio agosto settembre ottobre novembre dicembre";
	var_Chart.WeekDays = "domenica lunedì martedì mercoledì giovedì venerdì sabato";
	var_Chart.ToolTip = "<%dddd%> <%d%> <%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

727:
I haven't found options to localize (in Dutch) the strings ( dates, tooltip ) that shows in the chart area

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "januari februari maart april mei juni juli augusts september oktober november december";
	var_Chart.WeekDays = "zondag maandag dinsdag woensdag donderdag vrijdag zaterdag";
	var_Chart.ToolTip = "<%dddd%> <%d%> <%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

726:
I haven't found options to localize (in German) the strings ( dates, tooltip ) that shows in the chart area

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%>.<%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%>.<%m3%> '<%yy%><|><%dddd%> <%d%>.<%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%d%>.<%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%dddd%>, <%d%>.<%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "Januar Februar März April Mai Juni Juli August September Oktober November Dezember";
	var_Chart.WeekDays = "Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag";
	var_Chart.ToolTip = "<%dddd%>,<%d%>.<%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

725:
I haven't found options to localize (in French) the strings ( dates, tooltip ) that shows in the chart area

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%d%> <%m3%> '<%yy%><r><%ww%><|><%d%> <%mmmm%> <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%d1%><|><%d2%><|><%d3%><|><%dddd%><|><%d3%> <%d%> <%m3%> '<%yy%><|><%dddd%> <%d%> <%mmmm%> <%yyyy%><||><||>4096");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%d%> <%mmmm%> <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%dddd%> <%d%> <%mmmm%> <%yyyy%>");
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.MonthNames = "janvier février mars avril mai juin juillet août septembre octobre novembre décembre";
	var_Chart.WeekDays = "dimanche lundi mardi mercredi jeudi vendredi samedi";
	var_Chart.ToolTip = "<%dddd%> <%d%> <%mmmm%> <%yyyy%>";
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

724:
How can I filter programatically using more columns

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Car");
	var_Columns.Add("Equipment");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag");
	var_Items.set_CellCaption(var_Items.AddItem("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Ford"),1,"Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"ABS,ESP");
exontrol.EXGANTTLib.Column var_Column = exgantt1.Columns["Car"];
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Mazda";
exontrol.EXGANTTLib.Column var_Column1 = exgantt1.Columns["Equipment"];
	var_Column1.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exPattern;
	var_Column1.Filter = "*ABS*|*ESP*";
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

723:
I have seen the IN function but it returns -1 or 0. How can I display the value being found ( SWITCH usage )

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Value") as exontrol.EXGANTTLib.Column);
	var_Column.Width = 24;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("SWITCH - statment") as exontrol.EXGANTTLib.Column);
	var_Column1.ComputedField = "%0 switch ('not found', 1,2,3,4,5,7,8,9,11,13,14)";
	var_Column1.ToolTip = var_Column1.ComputedField;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0);
	var_Items.AddItem(1);
	var_Items.AddItem(2);
exgantt1.EndUpdate();

722:
I have a large collection of constant values and using or operator is a time consuming (IN usage). Is there any way to increase the speed to check if a value maches the collection

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Value") as exontrol.EXGANTTLib.Column);
	var_Column.Width = 24;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("IN - statment") as exontrol.EXGANTTLib.Column);
	var_Column1.ComputedField = "%0 in (1,2,3,4,5,7,8,9,11,13,14) ? 'found' : ''";
	var_Column1.ToolTip = var_Column1.ComputedField;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0);
	var_Items.AddItem(1);
	var_Items.AddItem(2);
exgantt1.EndUpdate();

721:
How can I use the CASE statement (CASE usage)

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Value") as exontrol.EXGANTTLib.Column);
	var_Column.Width = 24;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("CASE - statment") as exontrol.EXGANTTLib.Column);
	var_Column1.ComputedField = "%0 case (default:'not found';1:%0;2:2*%0;3:3*%0;4:4*%0;5:5*%0;7:'Seven';8:'Eight';9:'Nine';11:'Eleven';13:'Thirtheen';14:'Fourt" +
"heen')";
	var_Column1.ToolTip = var_Column1.ComputedField;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0);
	var_Items.AddItem(1);
	var_Items.AddItem(2);
exgantt1.EndUpdate();

720:
How can I use the CASE statement (CASE usage)

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Value") as exontrol.EXGANTTLib.Column);
	var_Column.Width = 24;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("CASE - statment") as exontrol.EXGANTTLib.Column);
	var_Column1.ComputedField = "%0 case (default:'not found';1:'One';2:'Two';3:'Three';4:'Four';5:'Five';7:'Seven';8:'Eight';9:'Nine';11:'Eleven';13:'Thirtheen" +
"';14:'Fourtheen')";
	var_Column1.ToolTip = var_Column1.ComputedField;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0);
	var_Items.AddItem(1);
	var_Items.AddItem(2);
exgantt1.EndUpdate();

719:
Is is possible to use HTML tags to display in the filter caption

exgantt1.BeginUpdate();
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarCaption = "This is a bit of text being displayed in the filter bar.";
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
exgantt1.EndUpdate();

718:
How can I find the number of items after filtering
exgantt1.BeginUpdate();
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("");
	var_Items.set_CellCaption(h,0,var_Items.VisibleItemCount);
exgantt1.EndUpdate();

717:
How can I change the filter caption

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptWords | exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
exgantt1.FilterBarPromptPattern = "london robert";
exgantt1.FilterBarCaption = "<r>Found: ... ";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

716:
While using the filter prompt is it is possible to use wild characters

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptPattern;
exgantt1.FilterBarPromptPattern = "lon* seat*";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

715:
How can I list all items that contains any of specified words, not necessary at the beggining

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptStartWords | exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
exgantt1.FilterBarPromptPattern = "london davolio";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

714:
How can I list all items that contains any of specified words, not strings

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptWords | exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
exgantt1.FilterBarPromptPattern = "london nancy";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

713:
How can I list all items that contains all specified words, not strings

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptWords | exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
exgantt1.FilterBarPromptPattern = "london robert";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

712:
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptCaseSensitive | exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
exgantt1.FilterBarPromptPattern = "Anne";
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

711:
Is it possible to list only items that ends with any of specified strings

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptEndWith;
exgantt1.FilterBarPromptColumns = "0";
exgantt1.FilterBarPromptPattern = "Fuller";
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

710:
Is it possible to list only items that ends with any of specified strings

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptEndWith;
exgantt1.FilterBarPromptColumns = "0";
exgantt1.FilterBarPromptPattern = "Fuller";
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

709:
Is it possible to list only items that starts with any of specified strings

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptStartWith;
exgantt1.FilterBarPromptColumns = "0";
exgantt1.FilterBarPromptPattern = "An M";
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

708:
Is it possible to list only items that starts with specified string

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptStartWith;
exgantt1.FilterBarPromptColumns = "0";
exgantt1.FilterBarPromptPattern = "A";
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

707:
How can I specify that the list should include any of the seqeunces in the pattern

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
exgantt1.FilterBarPromptPattern = "london seattle";
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

706:
How can I specify that all sequences in the filter pattern must be included in the list

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptType = exontrol.EXGANTTLib.FilterPromptEnum.exFilterPromptContainsAll;
exgantt1.FilterBarPromptPattern = "london manager";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

705:
How do I change at runtime the filter prompt

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptPattern = "london manager";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

704:
How do I specify to filter only a single column when using the filter prompt

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptColumns = "2,3";
exgantt1.FilterBarPromptPattern = "london";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

703:
How do I change the prompt or the caption being displayed in the filter bar

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPrompt = "changed";
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exgantt1.EndUpdate();

702:
How do I enable the filter prompt feature

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarPromptVisible = true;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.EndUpdate();

701:
Is it possible to colour a particular column, I mean the cell's foreground color

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = exgantt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,1);
	var_Items.set_CellCaption(var_Items.AddItem(2),1,3);
	var_Items.set_CellCaption(var_Items.AddItem(4),1,5);
exgantt1.EndUpdate();

700:
Is it possible to colour a particular column for specified values

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = exgantt1.ConditionalFormats.Add("int(%1) in (3,4,5)",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,1);
	var_Items.set_CellCaption(var_Items.AddItem(2),1,3);
	var_Items.set_CellCaption(var_Items.AddItem(4),1,5);
exgantt1.EndUpdate();

699:
Is it possible to colour a particular column

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellBackColor,255);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,1);
	var_Items.set_CellCaption(var_Items.AddItem(2),1,3);
	var_Items.set_CellCaption(var_Items.AddItem(4),1,5);
exgantt1.EndUpdate();

698:
How do i get all the children items that are under a certain parent Item handle
exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("P");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exontrol.EXGANTTLib.Items var_Items1 = exgantt1.Items;
	int hChild = var_Items1.get_ItemChild(var_Items1.FirstVisibleItem);
	System.Diagnostics.Debug.Print( var_Items1.get_CellCaption(hChild,0).ToString() );
	System.Diagnostics.Debug.Print( var_Items1.get_CellCaption(var_Items1.get_NextSiblingItem(hChild),0).ToString() );
exgantt1.EndUpdate();

697:
How can I change the predefined labels being displayed in the chart's header so it shows the data in short format with no literals

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 3;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
	var_Chart.AllowOverviewZoom = exontrol.EXGANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exYear,"<%yy%><|><%yyyy%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMonth,"<|><%m%><|><%m%>/<%yy%><|><%m%>/<%yyyy%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%m%>/<%d%>/<%yy%><r><%ww%><|><%m%>/<%d%>/<%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exDay,"<|><%d%><|><%m%>/<%d%>/<%yy%><|><%m%>/<%d%>/<%yyyy%><||><||>4096");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exHour,"<|><%hh%><|><%m%>/<%d%>/<%yy%> <%h%> <%AM/PM%><|><%m%>/<%d%>/<%yyyy%> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn% <%AM/PM%>><|><%m%>/<%d%>/<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(exontrol.EXGANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%m%>/<%d%>/<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%m%>/<%d%>/<%yy" +
"yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exYear,"<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMonth,"<%m%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exWeek,"<%m%>/<%d%>/<%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exDay,"<%m%>/<%d%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exHour,"<%m%>/<%d%>/<%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exMinute,"<%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(exontrol.EXGANTTLib.UnitEnum.exSecond,"<%m%>/<%d%>/<%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
exgantt1.EndUpdate();

696:
How can I get the caption of focused item
// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		System.Diagnostics.Debug.Print( "Handle" );
		System.Diagnostics.Debug.Print( var_Items.FocusItem.ToString() );
		System.Diagnostics.Debug.Print( "Caption" );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(var_Items.FocusItem,0).ToString() );
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

695:
How can I get the caption of selected item
// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		System.Diagnostics.Debug.Print( "Handle" );
		System.Diagnostics.Debug.Print( var_Items.get_SelectedItem(0).ToString() );
		System.Diagnostics.Debug.Print( "Caption" );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(var_Items.get_SelectedItem(0),0).ToString() );
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

694:
How can I highligth the item from the cursor as it moves
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	exgantt1.BeginUpdate();
	int h = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.ClearItemBackColor(exgantt1.get_Background((exontrol.EXGANTTLib.BackgroundPartEnum)0x200 | exontrol.EXGANTTLib.BackgroundPartEnum.exHSRight | exontrol.EXGANTTLib.BackgroundPartEnum.exListOLEDropPosition));
		var_Items.set_ItemBackColor(h,Color.FromArgb(240,250,240));
	exgantt1.set_Background((exontrol.EXGANTTLib.BackgroundPartEnum)0x200 | exontrol.EXGANTTLib.BackgroundPartEnum.exHSRight | exontrol.EXGANTTLib.BackgroundPartEnum.exListOLEDropPosition,h);
	exgantt1.EndUpdate();
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exHLines;
exgantt1.SelBackColor = Color.FromArgb(240,250,240);
exgantt1.SelForeColor = Color.FromArgb(0,0,0);
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.SelBackColor = Color.FromArgb(240,250,240);
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

693:
How can I get the item from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	int h = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( "Handle" );
	System.Diagnostics.Debug.Print( h.ToString() );
	System.Diagnostics.Debug.Print( "Index" );
	System.Diagnostics.Debug.Print( exgantt1.Items.get_ItemToIndex(h).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exHLines;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

692:
How can I get the column from the cursor, not only in the header
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	System.Diagnostics.Debug.Print( exgantt1.get_ColumnFromPoint(-1,0).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("P1");
exgantt1.Columns.Add("P2");
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.set_CellCaption(h,1,"R2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

691:
How can I get the column from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	System.Diagnostics.Debug.Print( exgantt1.get_ColumnFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.Columns.Add("P1");
exgantt1.Columns.Add("P2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.set_CellCaption(h,1,"R2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

690:
How can I get the cell's caption from the cursor
// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	int h = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exgantt1.Items.get_CellCaption(h,c).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"Cell 1.1");
	var_Items.InsertItem(h,null,"Cell 1.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"Cell 2.1");
	var_Items.InsertItem(h,null,"Cell 2.2");
	var_Items.set_ExpandItem(h,true);
exgantt1.EndUpdate();

689:
Is it possible to change the style for the vertical or horizontal grid lines, in the list area

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesVSolid | exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesHDot4;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exgantt1.Columns.Add("C3");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_CellCaption(h,1,"SubItem 1.2");
	var_Items.set_CellCaption(h,2,"SubItem 1.3");
	h = var_Items.AddItem("Item 2");
	var_Items.set_CellCaption(h,1,"SubItem 2.2");
	var_Items.set_CellCaption(h,2,"SubItem 2.3");
exgantt1.EndUpdate();

688:
How can I show the bars over the grid lines, i.e. so you cannot see the grid lines 'through' the bar

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineColor = Color.FromArgb(220,220,220);
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesBehind;
	var_Chart.LevelCount = 2;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.DrawGridLines = true;
		var_Level.GridLineColor = Color.FromArgb(220,220,220);
	exontrol.EXGANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
		var_Bar.Height = 14;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exgantt1.EndUpdate();

687:
Is it possible to change the style for the vertical grid lines, in the chart area only

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesDash;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesDash;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.GridLineColor = Color.FromArgb(255,0,0);
		var_Level.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesVSolid;
	var_Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exgantt1.EndUpdate();

686:
Is it possible to change the style for the grid lines, for instance to be solid not dotted

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesSolid;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXGANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exgantt1.EndUpdate();

685:
How can I show the grid lines for the chart and list area

exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(1).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);

684:
How can I get the link from the point

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	System.Diagnostics.Debug.Print( exgantt1.Chart.get_LinkFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L1");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkText,"L2");
exgantt1.EndUpdate();

683:
How can I get the bar from the point

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	System.Diagnostics.Debug.Print( exgantt1.Chart.get_BarFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/29/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
exgantt1.EndUpdate();

682:
How can I get the level from the cursor

// MouseMove event - Occurs when the user moves the mouse.
private void exgantt1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	System.Diagnostics.Debug.Print( exgantt1.Chart.get_LevelFromPoint(-1,-1).ToString() );
}
//this.exgantt1.MouseMoveEvent += new exontrol.EXGANTTLib.exg2antt.MouseMoveEventHandler(this.exgantt1_MouseMoveEvent);

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/25/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 4;

681:
I display numbers in my chart, but the AddBar requires a date how can I add a bar

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "";
	var_Chart.UnitWidth = 24;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",2,4,null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",6,10,null,null);
exgantt1.EndUpdate();

680:
I display numbers in the chart's header but do not want to get displayed negative numbers. How can i do that

// DateChange event - Occurs when the first visible date is changed.
private void exgantt1_DateChange(object sender)
{
	exgantt1.Chart.FirstVisibleDate = 0;
	exgantt1.set_ScrollPartEnable(exontrol.EXGANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXGANTTLib.ScrollPartEnum.exLeftBPart,false);
}
//this.exgantt1.DateChange += new exontrol.EXGANTTLib.exg2antt.DateChangeEventHandler(this.exgantt1_DateChange);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "<%i%>";
	var_Chart.UnitWidth = 24;
exgantt1.EndUpdate();

679:
How can I display numbers in the chart's header instead dates

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.ToolTip = "";
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%i%>";
		var_Level.ToolTip = "";
	var_Chart.UnitWidth = 24;
exgantt1.EndUpdate();

678:
How can I determine that a certain bar is the topmost

exgantt1.Columns.Add("Task");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Bars A B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);
	h = var_Items.AddItem("Bars B A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

677:
Is there any automatic way to change a property for all bars in the chart

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(0,"<*>",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

676:
I have an EBN file how can I apply different colors to it, so no need to create a new one

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exNoLine;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Default");
	var_Items.set_ItemBackColor32(hC,0x1000000);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Light Green");
	var_Items.set_ItemBackColor32(hC,0x100ff00);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Dark Green");
	var_Items.set_ItemBackColor32(hC,0x1007f00);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Magenta");
	var_Items.set_ItemBackColor32(hC,0x1ff7fff);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	hC = var_Items.InsertItem(h,null,"Yellow");
	var_Items.set_ItemBackColor32(hC,0x17fffff);
	var_Items.set_ItemHeight(var_Items.InsertItem(h,null,""),6);
	var_Items.set_ExpandItem(h,true);

675:
How can I remove all bars from the chart
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.ClearBars(0);

674:
How can I change the color for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

673:
Is there any automatic way to change a property for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

672:
How can I remove all bars with specified key
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.RemoveBar(0,"K1");

671:
Is there any option to show gradient bars without using EBN technology

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars["Task"];
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.StartColor = Color.FromArgb(0,255,0);
	var_Bar.EndColor = Color.FromArgb(255,255,0);
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);

670:
How can I disable the control's splitter so the user can't resize the list area

exgantt1.OnResizeControl = exontrol.EXGANTTLib.OnResizeControlEnum.exDisableSplitter | exontrol.EXGANTTLib.OnResizeControlEnum.exResizeChart;
exgantt1.Chart.set_PaneWidth(false,60);

669:
How can I disable the control's splitter so the user can't resize the chart area

exgantt1.OnResizeControl = exontrol.EXGANTTLib.OnResizeControlEnum.exDisableSplitter;
exgantt1.Chart.set_PaneWidth(true,60);

668:
How can I define a bar that shows two colors, one up and one down, without using skin or EBN files

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Bar var_Bar = exgantt1.Chart.Bars.Add("A");
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.Shape = exontrol.EXGANTTLib.ShapeBarEnum.exShapeSolidUp;
	var_Bar.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exontrol.EXGANTTLib.Bar var_Bar1 = exgantt1.Chart.Bars.Add("B");
	var_Bar1.Color = Color.FromArgb(128,0,0);
	var_Bar1.Shape = exontrol.EXGANTTLib.ShapeBarEnum.exShapeSolidDown;
	var_Bar1.Pattern = exontrol.EXGANTTLib.PatternEnum.exPatternSolid;
exgantt1.Chart.Bars.Add("A%B").Shortcut = "AB";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"AB",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarPercent,1);
exgantt1.EndUpdate();

667:
Does your control support RightToLeft property for RTL languages or right to left

exgantt1.BeginUpdate();
exgantt1.ScrollBars = exontrol.EXGANTTLib.ScrollBarsEnum.exDisableBoth;
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("P1") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exgantt1.RightToLeft = true;
exgantt1.EndUpdate();

666:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

exgantt1.BeginUpdate();
exgantt1.ScrollBars = exontrol.EXGANTTLib.ScrollBarsEnum.exDisableBoth;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.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");
exgantt1.RightToLeft = true;
exgantt1.EndUpdate();

665:
Can I display the cell's check box after the text

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellHasCheckBox(var_Items.AddItem("Caption 1"),0,true);
	var_Items.set_CellHasCheckBox(var_Items.AddItem("Caption 2"),0,true);

664:
Can I change the order of the parts in the cell, as checkbox after the text, and so on

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Text");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellHasCheckBox(h,0,true);

663:
Can I have an image displayed after the text. Can I get that effect without using HTML content

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,icon,check,icons,picture");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Text");
	var_Items.set_CellImage(h,0,1);

662:
Is there any option to print the columns section on each page

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Col 1");
exgantt1.Columns.Add("Col 2");
exgantt1.MarkSearchColumn = false;
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Col 1");
	var_Items.set_CellCaption(h1,1,"Col 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Col 1");
	var_Items.set_CellCaption(h2,1,"Col 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("2/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.Options = "ColumnsOnEveryPage=-2";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

661:
Is there any option to print the columns section on each page

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.LevelCount = 2;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("2/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.Options = "ColumnsOnEveryPage=1";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

660:
How do I print the control's content

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXGANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exgantt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

659:
How can I display the column using currency format and enlarge the font for certain values

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.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");

658:
How can I highlight only parts of the cells

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

657:
How can I get the number of occurrences of a specified string in the cell

exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("occurrences") as exontrol.EXGANTTLib.Column);
	var_Column.ComputedField = "lower(%0) count 'o'";
	var_Column.FormatColumn = "'contains ' + value + ' of \\'o\\' chars'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1 oooof the root");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

656:
How can I display dates in my format

exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/21/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/24/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

655:
How can I display dates in short format

(exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column).FormatColumn = "shortdate(value)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

654:
How can I display dates in long format

(exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column).FormatColumn = "longdate(value)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

653:
How can I display only the right part of the cell

exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Right") as exontrol.EXGANTTLib.Column);
	var_Column.ComputedField = "%0 right 2";
	var_Column.FormatColumn = "'\"' + value + '\"'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"SChild 3");
	var_Items.set_ExpandItem(h,true);

652:
How can I display only the left part of the cell

exgantt1.Columns.Add("");
(exgantt1.Columns.Add("Left") as exontrol.EXGANTTLib.Column).ComputedField = "%0 left 2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"SChild 3");
	var_Items.set_ExpandItem(h,true);

651:
How can I display true or false instead 0 and -1

(exgantt1.Columns.Add("Boolean") as exontrol.EXGANTTLib.Column).FormatColumn = "value != 0 ? 'true' : 'false'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(0);
	var_Items.AddItem(1);

650:
How can I display icons or images instead numbers

exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Icons") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.FormatColumn = "'The cell displays the icon <img>'+value+'</img> instead ' + value";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);

649:
How can I display the column using currency

(exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column).FormatColumn = "currency(dbl(value))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("0");
	var_Items.AddItem(5);
	var_Items.AddItem("10000.99");

648:
How can I display the currency only for not empty cells

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
exontrol.EXGANTTLib.Items var_Items = exgantt1.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");

647:
Is there a function to display the number of days between two date including the number of hours

(exgantt1.Columns.Add("Start") as exontrol.EXGANTTLib.Column).Width = 32;
exgantt1.Columns.Add("End");
(exgantt1.Columns.Add("Duration") as exontrol.EXGANTTLib.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.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

646:
Is there a function to display the number of days between two date including the number of hours

exgantt1.Columns.Add("Start");
exgantt1.Columns.Add("End");
(exgantt1.Columns.Add("Duration") as exontrol.EXGANTTLib.Column).ComputedField = "\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001 23:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

645:
How can I display the number of days between two dates

exgantt1.Columns.Add("Start");
exgantt1.Columns.Add("End");
(exgantt1.Columns.Add("Duration") as exontrol.EXGANTTLib.Column).ComputedField = "(date(%1)-date(%0)) + ' days'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("3/14/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("4/11/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

644:
How can I get second part of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Second") as exontrol.EXGANTTLib.Column).ComputedField = "sec(date(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:01:22",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:23:01",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:11:59",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

643:
How can I get minute part of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Minute") as exontrol.EXGANTTLib.Column).ComputedField = "min(date(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:01:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:23:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:11:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

642:
How can I check the hour part only so I know it was afternoon

exgantt1.ConditionalFormats.Add("hour(%0)>=12",null).Bold = true;
exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Hour") as exontrol.EXGANTTLib.Column).ComputedField = "hour(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

641:
What about a function to get the day in the week, or days since Sunday

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("WeekDay") as exontrol.EXGANTTLib.Column).ComputedField = "weekday(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

640:
Is there any function to get the day of the year or number of days since January 1st

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Day since January 1st") as exontrol.EXGANTTLib.Column).ComputedField = "yearday(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

639:
How can I display only the day of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Day") as exontrol.EXGANTTLib.Column).ComputedField = "day(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

638:
How can I display only the month of the date

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Month") as exontrol.EXGANTTLib.Column).ComputedField = "month(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

637:
How can I get only the year part from a date expression

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Year") as exontrol.EXGANTTLib.Column).ComputedField = "year(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

636:
Can I convert the expression to date

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column).ComputedField = "date(dbl(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("30000.99");
	var_Items.AddItem("3561.23");
	var_Items.AddItem("1232.34");

635:
Can I convert the expression to a number, double or float

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Number + 2") as exontrol.EXGANTTLib.Column).ComputedField = "dbl(%0)+2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

634:
How can I display dates in long format

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("LongFormat") as exontrol.EXGANTTLib.Column).ComputedField = "longdate(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

633:
How can I display dates in short format

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("ShortFormat") as exontrol.EXGANTTLib.Column).ComputedField = "shortdate(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

632:
How can I display the time only of a date expression

exgantt1.Columns.Add("Date");
(exgantt1.Columns.Add("Time") as exontrol.EXGANTTLib.Column).ComputedField = "'time is:' + time(date(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

631:
Is there any function to display currencies, or money formatted as in the control panel

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Currency") as exontrol.EXGANTTLib.Column).ComputedField = "currency(dbl(%0))";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");
	var_Items.AddItem("10000.99");

630:
How can I convert the expression to a string so I can look into the date string expression for month's name

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Str") as exontrol.EXGANTTLib.Column).ComputedField = "str(%0) + ' AA'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

629:
Can I display the absolute value or positive part of the number

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Abs") as exontrol.EXGANTTLib.Column).ComputedField = "abs(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

628:
Is there any function to get largest number with no fraction part that is not greater than the value

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Floor") as exontrol.EXGANTTLib.Column).ComputedField = "floor(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

627:
Is there any function to round the values base on the .5 value

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Round") as exontrol.EXGANTTLib.Column).ComputedField = "round(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

626:
How can I get or display the integer part of the cell

exgantt1.Columns.Add("Number");
(exgantt1.Columns.Add("Int") as exontrol.EXGANTTLib.Column).ComputedField = "int(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("-1.98");
	var_Items.AddItem("0.99");
	var_Items.AddItem("1.23");
	var_Items.AddItem("2.34");

625:
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )

(exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column).ComputedField = "proper(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("root");
	var_Items.InsertItem(h,null,"child child");
	var_Items.InsertItem(h,null,"child child");
	var_Items.InsertItem(h,null,"child child");
	var_Items.set_ExpandItem(h,true);

624:
Is there any option to display cells in uppercase

(exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column).ComputedField = "upper(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

623:
Is there any option to display cells in lowercase

(exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column).ComputedField = "lower(%0)";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

622:
How can I mark the cells that has a specified type, ie strings only

exgantt1.ConditionalFormats.Add("type(%0) = 8",null).ForeColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,2);
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

621:
How can I bold the items that contains data or those who displays empty strings

exgantt1.ConditionalFormats.Add("not len(%1)=0",null).Bold = true;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	int hC = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellCaption(hC,1,"1");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

620:
Can I change the background color for items or cells that contains a specified string

exgantt1.ConditionalFormats.Add("%0 contains 'hi'",null).BackColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Chld 3");
	var_Items.set_ExpandItem(h,true);

619:
Is there any option to change the fore color for cells or items that ends with a specified string

exgantt1.ConditionalFormats.Add("%0 endwith '22'",null).ForeColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 1.22");
	var_Items.InsertItem(h,null,"Child 2.22");
	var_Items.set_ExpandItem(h,true);

618:
How can I highlight the cells or items that starts with a specified string

exgantt1.ConditionalFormats.Add("%0 startwith 'C'",null).Underline = true;
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"SChild 3");
	var_Items.set_ExpandItem(h,true);

617:
How can I change the background color or the visual appearance using ebn for a particular column

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderBackColor,16777216);
	(var_Columns.Add("Column 3") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderBackColor,16777471);
	var_Columns.Add("Column 4");

616:
How can I change the background color for a particular column

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");

615:
Is it possible to define level in terms of just increasing numbers (not a Date)

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,32);
	var_Chart.UnitWidth = 32;
	var_Chart.FirstVisibleDate = 1000;
	var_Chart.get_Level(0).Label = "<%i%>";

614:
How can I hide the non-working units ( days or hours )

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.NonworkingHours = 16773375;
	var_Chart.ShowNonworkingUnits = false;
exgantt1.EndUpdate();

613:
Is there a way to have the display show the word "Noon" instead "12:00 PM" in the chart's header/levels

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<b><%mmm%> <%d%>, <%yyyy%></b>";
		var_Level.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exDay;
	exontrol.EXGANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>:00 <%AM/PM%>";
		var_Level1.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level1.Unit = exontrol.EXGANTTLib.UnitEnum.exHour;
		var_Level1.DrawTickLines = true;
		var_Level1.DrawGridLines = true;
		var_Level1.set_ReplaceLabel("12:00 PM","<fgcolor=0000FF><b>Noon</b></fgcolor>");
	exontrol.EXGANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Label = "";
		var_Level2.Unit = exontrol.EXGANTTLib.UnitEnum.exMinute;
		var_Level2.Count = 15;

612:
How can I change the selection background color in the chart area

exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.SelBackColor = Color.FromArgb(255,0,0);
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

611:
How can I change the selection background color in the chart area

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.SelBackColor32 = 0x1000000;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

610:
Is there any way to extend the selection on the chart

exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.Chart.SelBackColor = exgantt1.SelBackColor;
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

609:
How can I display the column's header using multiple lines

exgantt1.HeaderHeight = 128;
exgantt1.HeaderSingleLine = false;
(exgantt1.Columns.Add("This is just a column that should break the header.") as exontrol.EXGANTTLib.Column).Width = 32;
exgantt1.Columns.Add("This is just another column that should break the header.");

608:
How can change the width, transparency, style, visual appearance ( EBN), of the vertical bar that shows the current date-time

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor32 = 0x1000000;
	var_Chart.MarkNowWidth = 6;
	var_Chart.MarkNowTransparent = 50;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

607:
How can change the width, style, visual appearance ( EBN), of the vertical bar that shows the current time

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor32 = 0x1000000;
	var_Chart.MarkNowWidth = 6;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

606:
How can I show a vertical bar that indicates the current time

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor = Color.FromArgb(0,0,255);
	var_Chart.MarkNowWidth = 7;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

605:
How can I show semi-transparent the vertical bar that indicates the current time

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor = Color.FromArgb(0,0,255);
	var_Chart.MarkNowWidth = 7;
	var_Chart.MarkNowTransparent = 50;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

604:
Is there any way to highlight or show a vertical bar that indicates the current time, from 15 to 15 seconds

exgantt1.Chart.LevelCount = 2;
exgantt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXGANTTLib.Level var_Level = exgantt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exgantt1.Chart.MarkNowColor = Color.FromArgb(0,0,255);
exgantt1.Chart.MarkNowCount = 15;
exgantt1.Chart.MarkNowWidth = 3;

603:
Is there any way to highlight or show a vertical bar that indicates the current time, from minute to minute, hour and so on

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.UnitWidth = 48;
	var_Chart.LevelCount = 1;
	var_Chart.get_Level(0).Label = 1048576;
	var_Chart.MarkNowColor = Color.FromArgb(255,0,0);
	var_Chart.MarkNowUnit = exontrol.EXGANTTLib.UnitEnum.exMinute;
	var_Chart.MarkNowWidth = var_Chart.UnitWidth;

602:
Is there any way to highlight or show a vertical bar that indicates the current time

exgantt1.Chart.LevelCount = 2;
exgantt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXGANTTLib.Level var_Level = exgantt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exgantt1.Chart.MarkNowColor = Color.FromArgb(255,0,0);

601:
Is there a way of making a bar flash on the screen
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Flashy task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarTransparent,80);