940:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 4)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_s = "gBFLBWIgBAEHhEJAEGg6VAkHeLpgwChAOhULB8XAUUg8MAAREEHGMcgRCJ0ei8dhABDEcQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcT";
	var_s = var_s + "SBCIZBqEqSZLiEZRQiiCYsS5GQBRWAkEwiBiEQTjea5CgOIAFS7LIqjRQEBxhIaZYIGaiQADENo9TxIMZAfBIHShK6NJABCCSQKkYx0HScRijDIEFwGIQmbKiej4DCiC";
	var_s = var_s + "QQW7OYYRVCNMQSfa8HivJyrcamfp/YBgOBYHb1eLVPR5LwfPCGUw1P6PLxkORZHimK4tSLHV7xVpMIwZFafIQhCCoHomS5NU7UNR0TQUFx9FaGX7rDDsGwLAJ6XRgF4b";
	var_s = var_s + "g2VpnHePpenAN4bH2GwHFmApSjEGBLnWOpRGOTBZHOegrE6BxPiWVJqCweQrn0LgJAWJBjwgaw1gKO5HmWch5h+fovF+G5bmich4BgfZkB8dynRUVYqiUR5rnmex/F6N";
	var_s = var_s + "4tn2AJfnebZ3DEXw3HWXgzAyIwgicKJKBKEIhCeCgiHyHYFEmSAFmqBghFIdgSCeIJygYDAyAgJx6AoIINAMOJNCgCZCGoGoLmMCI+CwJoihMNglCCIhzFCUg0EmMhgh";
	var_s = var_s + "WDBkAiQg9CUY4jEYN4Jk2IxklYJoJHIUg+CSZJSESFwkkkGI+FOFIJEIRhPhMCRJCSVoRrSBhiDgTZjHYT4PEkYhwhgJYm0SaIaiaSYuE+GQNlmCIBGCJxjhiZQ5AkMh";
	var_s = var_s + "Ag6ExJCkPhPguaAiFYUAlAkKZ0g6HoOEmWR/GHcA4m0OwIlIJIHCRgQshGJhpjoaocieaZiC6GAimkUgehIOwnGYGYIGkah6jaE4rg6SpCjKK5rEOMYlGIGIihKOgglo";
	var_s = var_s + "Foqj6L5aGaBo6CkGIkAQjiPpCAAaJILCTJQlKPACDaXJgmSaJsnCdJ4nygKEoijKQpSmKcqCpKoqysK0rivLAsSyLMtC1LYty4Lkui7LwvS+L8wDBMIwzEMUxjHMgyTK";
	var_s = var_s + "MszDNM4zzQNE0jTNQ1TWNc2DZNo2zcN03jfOA4TiOM5DlOY5zoOk6jrOw7TuO88DxPI8z0PU9j3Pg+T6Ps/D9P4/0AQFAkDQRBUGQdCEJQpC0MQ1DkPRBEUSRNFEVBhF";
	var_s = var_s + "kXRhGQ9D6Dxfh+W5gGGd4QH2XQjCmDpFFaKoVB+D5Xmed5+H8YAHnIAh9EwV5Fl0d4MkMKJICmSgygSJAoEmMUCIPgnDCCIOQFYCxJjwFoCcA4kxoF+AIJkAgExegDEg";
	var_s = var_s + "EYQInAzCUAIOEGgfxiiRDYF1Q4EQ2BSCaEQYwbAiKREMpRSymFNDIAkAxT6oVRgSA2qdVKq1WqvVirMZQUhSCnBUMoIgoQRgnGSIQUgkg1hIHYAkAYMROAmHiLsE4xxS";
	var_s = var_s + "CxBwEwCQ0wmDdBsE0GYXBtg2CSPMFIuwYiQBYBQeAcwOCnBCCZgw0g0glBONAQgqQThCGgPQGoBQfiRGmOEZIPAXjsBoPAO4HRThhA0EQSA5BAgaCKJIGg3QdhOCmNUB";
	var_s = var_s + "oQAijTCIF0FwQxpCHDIPAYYMQGgtCmFcaQtRAjZCyFYSojQ2B2BoKwIYFApBXEIBsIQ1QsAWAWEwaA1xCgjAoIAQBAQ=";
	exgantt1.VisualDesign(var_s);
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
939:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 3)

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

	super();

	exgantt1.BeginUpdate();
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQSB";
		var_s = var_s + "cQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+OpfD";
		var_s = var_s + "xXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4l";
		var_s = var_s + "lWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5JlgX";
		var_s = var_s + "IcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIRg";
		var_s = var_s + "wZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOMI";
		var_s = var_s + "NCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=";
		com_Appearance.Add(3,COMVariant::createFromStr(var_s));
		com_Appearance.Add(1,"CP:3 -2 -2 2 2");
		var_s1 = "gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQSB";
		var_s1 = var_s1 + "cQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+OpfD";
		var_s1 = var_s1 + "xXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4l";
		var_s1 = var_s1 + "lWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCEe";
		var_s1 = var_s1 + "Bkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchOF";
		var_s1 = var_s1 + "SFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQOJ";
		var_s1 = var_s1 + "tDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=";
		com_Appearance.Add(4,COMVariant::createFromStr(var_s1));
		com_Appearance.Add(2,"CP:4 -2 -2 2 2");
	exgantt1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgantt1.HasButtons(4/*exCustom*/);
	exgantt1.HasButtonsCustom(0,16777216);
	exgantt1.HasButtonsCustom(1,33554432);
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
938:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 2)

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

	super();

	exgantt1.BeginUpdate();
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		com_Appearance.Add(1,"XP:TREEVIEW 2 1");
		com_Appearance.Add(2,"XP:TREEVIEW 2 2");
	exgantt1.Background(180/*exTreeGlyphOpen*/,0x1000000);
	exgantt1.Background(181/*exTreeGlyphClose*/,0x2000000);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
937:
How can I find if the control is running in DPI mode
public void init()
{
	;

	super();

	print( exgantt1.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`") );
}
936:
How can I change the visual appearance of the +/- buttons (method 1)

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

	super();

	exgantt1.BeginUpdate();
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQSB";
		var_s = var_s + "cQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+OpfD";
		var_s = var_s + "xXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4l";
		var_s = var_s + "lWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5JlgX";
		var_s = var_s + "IcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIRg";
		var_s = var_s + "wZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOMI";
		var_s = var_s + "NCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
		var_s1 = "gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQSB";
		var_s1 = var_s1 + "cQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+OpfD";
		var_s1 = var_s1 + "xXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4l";
		var_s1 = var_s1 + "lWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCEe";
		var_s1 = var_s1 + "Bkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchOF";
		var_s1 = var_s1 + "SFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQOJ";
		var_s1 = var_s1 + "tDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=";
		com_Appearance.Add(2,COMVariant::createFromStr(var_s1));
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Background(180/*exTreeGlyphOpen*/,0x1000000);
	exgantt1.Background(181/*exTreeGlyphClose*/,0x2000000);
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
935:
How can I display the control's filter bar in the Items section only, as it was displayed before

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

public void init()
{
	COM com_Chart,com_Column,com_Column1,com_Column2,com_Column3,com_Items;
	anytype var_Chart,var_Column,var_Column1,var_Column2,var_Column3,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column2 = var_Column2;
		com_Column2.AllowSizing(false);
		com_Column2.AllowSort(false);
		com_Column2.Width(32);
		com_Column2.FormatColumn("1 apos ``");
		com_Column2.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		com_Items.CellCaption(com_Items.AddItem("Item B"),COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarPromptVisible(4096/*exFilterBarShort*/);
	var_Column3 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(1)); com_Column3 = var_Column3;
		com_Column3.FilterType(3/*exPattern*/);
		com_Column3.Filter("*B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
934:
FilterBarCaption ALL Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COMVariant i;
	;
	i = exgantt1.FormatABC("value + 1",exgantt1.Items().ItemToIndex(_Item));
	exgantt1.Items().CellImage(_Item,COMVariant::createFromInt(3),i);
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column2 = var_Column2;
		com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterType(6/*exCheck*/);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column3 = var_Column3;
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterType(10/*exImage*/);
		com_Column3.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column4 = var_Column4;
		com_Column4.AllowSizing(false);
		com_Column4.AllowSort(false);
		com_Column4.Width(32);
		com_Column4.FormatColumn("1 apos ``");
		com_Column4.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellState(h,COMVariant::createFromInt(2),1);
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	var_s1 = "(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[<";
	var_s1 = var_s1 + "s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchit";
	var_s1 = var_s1 + "emcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount ";
	var_s1 = var_s1 + "+ ` item(s)`) )))";
	exgantt1.FilterBarCaption(var_s1);
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column5 = var_Column5;
		com_Column5.FilterType(240/*exFilter*/);
		com_Column5.Filter("Item A|Item B");
	var_Column6 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column6 = var_Column6;
	com_Column6.Filter(1);
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
933:
FilterBarCaption ALL Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COMVariant i;
	;
	i = exgantt1.FormatABC("value + 1",exgantt1.Items().ItemToIndex(_Item));
	exgantt1.Items().CellImage(_Item,COMVariant::createFromInt(3),i);
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column2 = var_Column2;
		com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterType(6/*exCheck*/);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column3 = var_Column3;
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterType(10/*exImage*/);
		com_Column3.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column4 = var_Column4;
		com_Column4.AllowSizing(false);
		com_Column4.AllowSort(false);
		com_Column4.Width(32);
		com_Column4.FormatColumn("1 apos ``");
		com_Column4.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellState(h,COMVariant::createFromInt(2),1);
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	exgantt1.FilterBarCaption("all");
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column5 = var_Column5;
		com_Column5.FilterType(240/*exFilter*/);
		com_Column5.Filter("Item A|Item B");
	var_Column6 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column6 = var_Column6;
	com_Column6.Filter(1);
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
932:
FilterBarCaption ALLUI Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COMVariant i;
	;
	i = exgantt1.FormatABC("value + 1",exgantt1.Items().ItemToIndex(_Item));
	exgantt1.Items().CellImage(_Item,COMVariant::createFromInt(3),i);
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column2 = var_Column2;
		com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterType(6/*exCheck*/);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column3 = var_Column3;
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterType(10/*exImage*/);
		com_Column3.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column4 = var_Column4;
		com_Column4.AllowSizing(false);
		com_Column4.AllowSort(false);
		com_Column4.Width(32);
		com_Column4.FormatColumn("1 apos ``");
		com_Column4.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellState(h,COMVariant::createFromInt(2),1);
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	var_s1 = "(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `";
	var_s1 = var_s1 + "[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( match";
	var_s1 = var_s1 + "itemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcoun";
	var_s1 = var_s1 + "t + ` item(s)`) )))";
	exgantt1.FilterBarCaption(var_s1);
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column5 = var_Column5;
		com_Column5.FilterType(240/*exFilter*/);
		com_Column5.Filter("Item A|Item B");
	var_Column6 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column6 = var_Column6;
	com_Column6.Filter(1);
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
931:
FilterBarCaption ALLUI Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COMVariant i;
	;
	i = exgantt1.FormatABC("value + 1",exgantt1.Items().ItemToIndex(_Item));
	exgantt1.Items().CellImage(_Item,COMVariant::createFromInt(3),i);
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column2 = var_Column2;
		com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterType(6/*exCheck*/);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column3 = var_Column3;
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterType(10/*exImage*/);
		com_Column3.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column4 = var_Column4;
		com_Column4.AllowSizing(false);
		com_Column4.AllowSort(false);
		com_Column4.Width(32);
		com_Column4.FormatColumn("1 apos ``");
		com_Column4.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellState(h,COMVariant::createFromInt(2),1);
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	exgantt1.FilterBarCaption("allui");
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column5 = var_Column5;
		com_Column5.FilterType(240/*exFilter*/);
		com_Column5.Filter("Item A|Item B");
	var_Column6 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column6 = var_Column6;
	com_Column6.Filter(1);
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
930:
FilterBarCaption AVAILABLE Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COMVariant i;
	;
	i = exgantt1.FormatABC("value + 1",exgantt1.Items().ItemToIndex(_Item));
	exgantt1.Items().CellImage(_Item,COMVariant::createFromInt(3),i);
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column2 = var_Column2;
		com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterType(6/*exCheck*/);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column3 = var_Column3;
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterType(10/*exImage*/);
		com_Column3.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column4 = var_Column4;
		com_Column4.AllowSizing(false);
		com_Column4.AllowSort(false);
		com_Column4.Width(32);
		com_Column4.FormatColumn("1 apos ``");
		com_Column4.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellState(h,COMVariant::createFromInt(2),1);
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	var_s1 = "(( ( value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` ) + ` ` + ( avai";
	var_s1 = var_s1 + "lable replace `[` with `<bgcolor=C0C0C0><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` replace `<s>` with ``";
	var_s1 = var_s1 + " replace `</s>` with `` ) + `<fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount ";
	var_s1 = var_s1 + "+ 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount + ` item(s)`) )))";
	exgantt1.FilterBarCaption(var_s1);
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column5 = var_Column5;
		com_Column5.FilterType(240/*exFilter*/);
		com_Column5.Filter("Item A|Item B");
	var_Column6 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column6 = var_Column6;
	com_Column6.Filter(1);
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
929:
FilterBarCaption AVAILABLE Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COMVariant i;
	;
	i = exgantt1.FormatABC("value + 1",exgantt1.Items().ItemToIndex(_Item));
	exgantt1.Items().CellImage(_Item,COMVariant::createFromInt(3),i);
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column2 = var_Column2;
		com_Column2.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterType(6/*exCheck*/);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column3 = var_Column3;
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterType(10/*exImage*/);
		com_Column3.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column4 = var_Column4;
		com_Column4.AllowSizing(false);
		com_Column4.AllowSort(false);
		com_Column4.Width(32);
		com_Column4.FormatColumn("1 apos ``");
		com_Column4.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellState(h,COMVariant::createFromInt(2),1);
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	exgantt1.FilterBarCaption("value + ` ` + available");
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column5 = var_Column5;
		com_Column5.FilterType(240/*exFilter*/);
		com_Column5.Filter("Item A|Item B");
	var_Column6 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(2)); com_Column6 = var_Column6;
	com_Column6.Filter(1);
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
928:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 3, results )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

public void init()
{
	COM com_Chart,com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Items;
	anytype var_Chart,var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Items;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column2 = var_Column2;
		com_Column2.AllowSizing(false);
		com_Column2.AllowSort(false);
		com_Column2.Width(32);
		com_Column2.FormatColumn("1 apos ``");
		com_Column2.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		com_Items.CellCaption(com_Items.AddItem("Item B"),COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	var_s = "(`<b>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ";
	var_s = var_s + "` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )) replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace";
	var_s = var_s + " `]` with ` </b></bgcolor></fgcolor>`";
	exgantt1.FilterBarCaption(var_s);
	exgantt1.FilterBarPromptVisible(256/*exFilterBarToggle*/);
	var_Column3 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column3 = var_Column3;
		com_Column3.FilterType(240/*exFilter*/);
		com_Column3.Filter("Item A|Item B");
	var_Column4 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(1)); com_Column4 = var_Column4;
		com_Column4.FilterType(3/*exPattern*/);
		com_Column4.Filter("*B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
927:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 2 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

public void init()
{
	COM com_Chart,com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Items;
	anytype var_Chart,var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column2 = var_Column2;
		com_Column2.AllowSizing(false);
		com_Column2.AllowSort(false);
		com_Column2.Width(32);
		com_Column2.FormatColumn("1 apos ``");
		com_Column2.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		com_Items.CellCaption(com_Items.AddItem("Item B"),COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	exgantt1.FilterBarCaption("value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>`");
	exgantt1.FilterBarPromptVisible(256/*exFilterBarToggle*/);
	var_Column3 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column3 = var_Column3;
		com_Column3.FilterType(240/*exFilter*/);
		com_Column3.Filter("Item A|Item B");
	var_Column4 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(1)); com_Column4 = var_Column4;
		com_Column4.FilterType(3/*exPattern*/);
		com_Column4.Filter("*B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
926:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

public void init()
{
	COM com_Chart,com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Items;
	anytype var_Chart,var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Col-1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Col-2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column2 = var_Column2;
		com_Column2.AllowSizing(false);
		com_Column2.AllowSort(false);
		com_Column2.Width(32);
		com_Column2.FormatColumn("1 apos ``");
		com_Column2.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A"),COMVariant::createFromInt(1),"Sub-Item A");
		com_Items.CellCaption(com_Items.AddItem("Item B"),COMVariant::createFromInt(1),"Sub-Item B");
		com_Items.CellCaption(com_Items.AddItem("Item C"),COMVariant::createFromInt(1),"Sub-Item C");
	exgantt1.Description(11/*exFilterBarAnd*/,exgantt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",COMVariant::createFromStr(exgantt1.Description(11/*exFilterBarAnd*/))));
	exgantt1.FilterBarCaption("value replace `[` with `<fgcolor=808080>[` replace `]` with `]</fgcolor>`");
	exgantt1.FilterBarPromptVisible(256/*exFilterBarToggle*/);
	var_Column3 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column3 = var_Column3;
		com_Column3.FilterType(240/*exFilter*/);
		com_Column3.Filter("Item A|Item B");
	var_Column4 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(1)); com_Column4 = var_Column4;
		com_Column4.FilterType(3/*exPattern*/);
		com_Column4.Filter("*B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
925:
Is it possible to automatically displays the control's filter label to the right

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Item")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.AllowSort(false);
		com_Column1.Width(32);
		com_Column1.FormatColumn("1 apos ``");
		com_Column1.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarCaption("`<r>` + value");
	exgantt1.FilterBarPromptVisible(1280/*exFilterBarShowCloseOnRight | exFilterBarToggle*/);
	var_Column2 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column2 = var_Column2;
		com_Column2.FilterType(240/*exFilter*/);
		com_Column2.Filter("Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
924:
How can I get the number of results/items being shown in the control's filter bar (sample 4)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Item")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterList(9504/*exShowExclude | exShowFocusItem | exShowCheckBox | exSortItemsAsc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.AllowSort(false);
		com_Column1.Width(32);
		com_Column1.FormatColumn("1 apos ``");
		com_Column1.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.FilterBarPrompt(exgantt1.FormatABC("`<b>` + value",COMVariant::createFromStr(exgantt1.FilterBarPrompt())));
	var_s = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount +";
	var_s = var_s + " 1) + ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )";
	exgantt1.FilterBarCaption(var_s);
	exgantt1.FilterBarPromptVisible(3591/*exFilterBarCompact | exFilterBarShowCloseOnRight | exFilterBarShowCloseIfRequired | exFilterBarCaptionVisible | exFilterBarVisible | exFilterBarPromptVisible*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
923:
How can I get the number of results being shown in the control's filter bar (sample 3)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	var_s = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount +";
	var_s = var_s + " 1) + ` result(s)` ) : ``)";
	exgantt1.FilterBarCaption(var_s);
	exgantt1.FilterBarPromptVisible(2055/*exFilterBarCompact | exFilterBarCaptionVisible | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
922:
How can I get the number of results being shown in the control's filter bar (sample 2, compact)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.FilterBarCaption("`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? `<off -4> ` + abs(matchitemcount + 1) + ` result(s)` : ``)");
	exgantt1.FilterBarPromptVisible(2071/*exFilterBarCompact | exFilterBarSingleLine | exFilterBarCaptionVisible | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
921:
How can I get the number of results being shown in the control's filter bar (sample 1)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.FilterBarCaption("`<b>` + value + `</b><r><fgcolor=808080>` + ( matchitemcount < 0 ? abs(matchitemcount + 1) + ` result(s)` : ``)");
	exgantt1.FilterBarPromptVisible(7/*exFilterBarCaptionVisible | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
920:
FilterBarCaption Predefined Keywords

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

// AfterExpandItem event - Fired after an item is expanded (collapsed).
void onEvent_AfterExpandItem(int   _Item)
{
	;
	exgantt1.Refresh();
}

public void init()
{
	COM com_Chart,com_Column,com_Column1,com_Column2,com_Items;
	anytype var_Chart,var_Column,var_Column1,var_Column2,var_Items;
	int h;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Check")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterType(6/*exCheck*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.AllowSort(false);
		com_Column1.Width(32);
		com_Column1.FormatColumn("1 apos ``");
		com_Column1.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		h = com_Items.AddItem("Item B");
		com_Items.CellState(com_Items.InsertItem(h,,"Sub-Item B1"),COMVariant::createFromInt(1),1);
		com_Items.InsertItem(h,,"Sub-Item B2");
		com_Items.ExpandItem(h,true);
		com_Items.AddItem("Item C");
	exgantt1.FilterInclude(1/*exItemsWithChilds*/);
	exgantt1.FilterBarFont(exgantt1.Font());
	var_s = "`<fgcolor=0000FF><i>value/current</i></fgcolor>: <fgcolor=808080>` + value + `</fgcolor>` + `<br><fgcolor=0000FF><i>available</i";
	var_s = var_s + "></fgcolor>: ` + available + `<br><fgcolor=0000FF><i>allui</i></fgcolor>: ` + allui + `<br><fgcolor=0000FF><i>all</i></fgcolor>:";
	var_s = var_s + " ` + all + `<br><fgcolor=0000FF><i>itemcount</i></fgcolor>: <fgcolor=808080>` + itemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><";
	var_s = var_s + "i>visibleitemcount</i></fgcolor>: <fgcolor=808080>` + visibleitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>matchitemcount</i";
	var_s = var_s + "></fgcolor>: <fgcolor=808080>` + matchitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>promptpattern</i></fgcolor>: <fgcolor=80";
	var_s = var_s + "8080>` + promptpattern + `</fgcolor>`";
	exgantt1.FilterBarCaption(var_s);
	exgantt1.FilterBarPromptPattern("B");
	exgantt1.FilterBarPromptVisible(7/*exFilterBarCaptionVisible | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column2 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column2 = var_Column2;
		com_Column2.FilterType(240/*exFilter*/);
		com_Column2.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
919:
I am using filter prompt feature, and also column's filter, just wondering if possible to compact displaying the filter bar so it won't show on multiple lines

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarFont(exgantt1.Font());
	exgantt1.FilterBarCaption("`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value");
	exgantt1.FilterBarPromptPattern("B");
	exgantt1.FilterBarPromptVisible(2067/*exFilterBarCompact | exFilterBarSingleLine | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
918:
Just wondering if it is possible to show the filter bar's close button on the right ( sample 2 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(1281/*exFilterBarShowCloseOnRight | exFilterBarToggle | exFilterBarPromptVisible*/);
	exgantt1.FilterBarPrompt(exgantt1.FormatABC("`<r>` + value",COMVariant::createFromStr(exgantt1.FilterBarPrompt())));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
917:
Just wondering if it is possible to show the filter bar's close button on the right ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	exgantt1.RightToLeft(true);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(257/*exFilterBarToggle | exFilterBarPromptVisible*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
916:
How can I change the visual appearance of the filter bar's close button (EBN)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABHQDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLOg7IJj";
		var_s = var_s + "yI4/SJAYCydKAWhxIaZKJHCZoEDaTAADCNVAQp6MEIJVbVEI0e79OgBLp/Z7kECIJJAaRjHQdJxGLA8EhtCQhCZteK6SgMKJYXhWQYRXI1JwvMBrWrdQjiOYELQtMKmS";
		var_s = var_s + "ZNLYGG4dR5SVJbcYhSYsRRFMoyDIOXYDLKsdYqSpXIThObEGgaPqJYjsUjCMKnR7HVIURrBPC9TBPE69ZgmC6ucKPX51ShKFaBWDZcwFAS+UBuYCAILiEAQGZ1XT8ORO";
		var_s = var_s + "icbgJgSTJRlCaZeDsHY7QGR4xkSYp3CaExZAQMgalQYAwjCAAfBANxcA2TgKAUOpDCGFhKg0RpXCwCwDHQHQHEyAIkCkOhbFOGA8A8DohBgRg9AccZcn8EpEjMLI2C2D";
		var_s = var_s + "YxAgQgvAIUIVkoAAPBQDJlECTZ3CCYwDACQwUA8A5MCAWAWDiQi4l8aQOEgLJuBgBgDmYFAzEoIoIl0WALgKYJbBABADAAHgHg8VAMmqCQQDMXABAATYwTmNwBDATJXA";
		var_s = var_s + "iAgjHmNQ5lgQ5QEQEQMmcWg/GwD5ylyNw2gMcJcjsBgBgOQQDDhRpVAMMwnDBFw1B0Ax8D0DxOmmJJIGQTY5hGMAwkwM4CAYLZAmAOJnAqAojiIGg6iieYkmeAYOHaKJ";
		var_s = var_s + "DCyCwjH6AoggsQpQliAJLhgaJ0CESBTnyDwjk+cg4g4P5IHIHJ+BWRRzlYWAxiOUxihsY4KjKLJRGqC44FCegkkkM58iAKAPnIWIWD8SRSFSfQnkmewUhYP4GiGKJ7G0";
		var_s = var_s + "TIbCSUoggqUo0lAQ4LnEcBcD8Coiiif4nE+eAAn2HpOkcFJqi4T5SkyMw/kqQown8IBIBOdA+A+DJrBqVxXEqYo4lCApLhGHBnD8S4ymyfxmg+cwQkQP5egOUZIWoEAk";
		var_s = var_s + "jIeIPBMBJBD+TBjBifwvkuc58hQJQPmFrYykkchclSApKjGOBuD+TRDFCfw3mmIxNi8FxFlOXhVC4aYDFyPgvg2YBcBcLZGCGCJ0DSLRzGSWQ/lmY5+mEP5gmMDBZRSM";
		var_s = var_s + "RsFsOxMhMJJ/DsTpTnwaQaE+N5ojuNhdEYNI5C4TZJO1GRDmCaxnA2Yx4n8IpIjOTBQBQC5TgyYw7gUYRYikC0BYRwsDQBoB8eA6Q2hsE0BUXgywZtYCyHMKwnxSAhAQ";
		var_s = var_s + "HkIQhRrBaDsCwA4ERiB2EWAIYIXhhiVEgAEUYwwYjyASLge4FhHgRDkM8OQih0jWPkGgBBAQ";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(257/*exFilterBarToggle | exFilterBarPromptVisible*/);
	exgantt1.Background(1/*exFooterFilterBarButton*/,0x1000000);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
915:
How can I change the visual appearance of the filter bar's close button (solid)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exgantt1.Background(1/*exFooterFilterBarButton*/,WinApi::RGB2int(255,0,0));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
914:
Is it possible to prevent definitely showing the filter bar's close button

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exgantt1.Background(1/*exFooterFilterBarButton*/,-1);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
913:
Is it possible to show the close button only if there is a filter applied

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(513/*exFilterBarShowCloseIfRequired | exFilterBarPromptVisible*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
912:
The control's filter bar is not closed once I click the close button (toggle)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
		com_Items.LockedItemCount(2/*BottomAlignment*/,1);
		h = com_Items.LockedItem(2/*BottomAlignment*/,0);
		com_Items.ItemDivider(h,0);
		com_Items.CellCaption(h,COMVariant::createFromInt(0),"<c><fgcolor=808080>Press the CTRL + F to turn on/off the control's filter bar. ALT + Up/Down moves the focus.");
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
	exgantt1.FilterBarCaption("`<r><fgcolor=808080>` + value");
	exgantt1.FilterBarPromptPattern("B");
	exgantt1.FilterBarPromptVisible(2323/*exFilterBarCompact | exFilterBarToggle | exFilterBarSingleLine | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
911:
How can I display the control's filter on a single line

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarCaption("len(value) ? `filter for: <fgcolor 808080>` + value  : `<fgcolor 808080>no filter`");
	exgantt1.FilterBarPromptVisible(18/*exFilterBarSingleLine | exFilterBarVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
910:
How can I display the control's filter on a single line (prompt-combined)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarCaption("`<r>` + value");
	exgantt1.FilterBarPromptVisible(2067/*exFilterBarCompact | exFilterBarSingleLine | exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item A|Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
909:
How can I get the number of results after a filter is applied

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
void onEvent_Click()
{
	;
	exgantt1.ClearFilter();
}

// FilterChange event - Occurs when the filter was changed.
void onEvent_FilterChange()
{
	;
	print( "Items.MatchItemCount" );
	print( exgantt1.Items().MatchItemCount() );
	print( exgantt1.FormatABC("value < 0 ? `filter applied: ` + abs(value + 1) + ` result(s)` : `no filter`",exgantt1.Items().MatchItemCount()) );
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exgantt1.FilterBarPromptPattern("Item");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
908:
How can I programmatically clear the control's filter
// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
void onEvent_Click()
{
	;
	exgantt1.ClearFilter();
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exgantt1.FilterBarPromptPattern("B");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
907:
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt-combined)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptPattern("B");
	exgantt1.FilterBarPromptVisible(3/*exFilterBarVisible | exFilterBarPromptVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
906:
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarPromptVisible(1/*exFilterBarPromptVisible*/);
	exgantt1.FilterBarPromptPattern("B");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
905:
Is it possible to prevent closing the control's filter bar, so it is always shown

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	exgantt1.Items().AddBar(_Item,"Task",COMVariant::createFromDate(str2Date("12/4/2017",213)),COMVariant::createFromDate(str2Date("12/14/2017",213)));
}

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

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/2/2017",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
	COM::createFromVariant(exgantt1.Columns().Add("Item")).DisplayFilterButton(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.AllowSort(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 apos ``");
		com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item A");
		com_Items.AddItem("Item B");
		com_Items.AddItem("Item C");
	exgantt1.FilterBarCaption("len(value) = 0 ? `<fgcolor=808080>no filter` : value");
	exgantt1.FilterBarPromptVisible(2/*exFilterBarVisible*/);
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
		com_Column1.FilterType(240/*exFilter*/);
		com_Column1.Filter("Item B");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
904:
How do I change the drop down filter icon/button (black)

public void init()
{
	COM com_Appearance,com_Chart,com_Column;
	anytype var_Appearance,var_Chart,var_Column;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQg";
		var_s = var_s + "mPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYThd";
		var_s = var_s + "r4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
	exgantt1.Background(0/*exHeaderFilterBarButton*/,0x1000000);
	exgantt1.Background(32/*exCursorHoverColumn*/,-1);
	exgantt1.Background(15/*exSplitBar*/,WinApi::RGB2int(240,240,240));
	exgantt1.HeaderAppearance(0/*None2*/);
	exgantt1.BackColorHeader(WinApi::RGB2int(0,0,0));
	exgantt1.ForeColorHeader(WinApi::RGB2int(255,255,255));
	exgantt1.HeaderVisible(1);
	exgantt1.BackColorLevelHeader(exgantt1.BackColor());
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.AllowSort(false);
		com_Column.AllowDragging(false);
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,196);
		com_Chart.LevelCount(2);
		com_Chart.BackColorLevelHeader(exgantt1.BackColorHeader());
		com_Chart.ForeColorLevelHeader(exgantt1.ForeColorHeader());
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,196);
}
*/
903:
How do I change the drop down filter icon/button (white)

public void init()
{
	COM com_Appearance,com_Chart,com_Column;
	anytype var_Appearance,var_Chart,var_Column;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAAEhABX8GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjBI8ExXFqNACkGKwYgmNYiTLAcgANJ";
		var_s = var_s + "0WBaGIZJ4gOT5fDKMoEDRRYADFCscwxJybQAqGQKKb+VgAVY/cTyBIAEQSKA0TDOQ5TSKWB4JPZQRBEbZMNBtBIUJquKaqShdQJCU5FdY3Xblez9P7AMBwLFEC4NQ8YN";
		var_s = var_s + "YuPhjR4dRTIMhvVAsUArFh8Zg9GZZFjmDIDT4ydBLTQwcyVIKnP5qOa6XbmPoCQDYKxZHYxPzVDa3axuL76dqCAT7XrXNy1TbNRrzQKfcJqfCbdw2YaDZLOOT3fjuI4h";
		var_s = var_s + "hKaRzFAHJ+jYQ4xHuY4gHuGIXGeExqC8Tp6C+PoEm+G5ImycRgh0XwvDGa5rgOeoejyXwnFeQp2mkf5ClgBB9gCWIYAwfYAEKV58mkdwOggNArgOXY2EWLoDkKOA0mgb";
		var_s = var_s + "hOGgZApgaSBIHWSYHSmbApgYThmESZYJkIeIkgeCpfliLIHgpMIcmUYYYmODAlg2SI4mWfRfGOEguDcCRjFYAJihCQhJBSDoRmONgKEcI4kFCEJhhOVYTmYnAlEAQhWB";
		var_s = var_s + "MJYJGYWoWmWSR2F6F5lnkWAQhUAgpEieRWEuSYkjWGpmkmNhuhuZwJkYcocmaaYkjyEhngnUA6lEFAlAEgI=";
		com_Appearance.Add(2,COMVariant::createFromStr(var_s));
		com_Appearance.Add(1,"CP:2 -4 -4 2 4");
	exgantt1.Background(0/*exHeaderFilterBarButton*/,0x1000000);
	exgantt1.Background(32/*exCursorHoverColumn*/,exgantt1.BackColor());
	exgantt1.HeaderAppearance(0/*None2*/);
	exgantt1.BackColorHeader(WinApi::RGB2int(255,255,255));
	exgantt1.BackColorLevelHeader(exgantt1.BackColor());
	exgantt1.HeaderHeight(24);
	exgantt1.HeaderVisible(true);
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,196);
		com_Chart.LevelCount(2);
		com_Chart.BackColorLevelHeader(exgantt1.BackColorHeader());
		com_Chart.ForeColorLevelHeader(exgantt1.ForeColorHeader());
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.AllowSort(false);
		com_Column.AllowDragging(false);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,196);
}
*/
902:
How can I display the week-number in ISO8601 format

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.LevelCount(2);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/12/2007",213)));
		com_Chart.DrawGridLines(-1/*exAllLines*/);
		com_Chart.UnitScale(256/*exWeek*/);
		com_Chart.WeekNumberAs(0/*exISO8601WeekNumber*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
901:
How can I include the child items, when a filter is applied

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.Indent(16);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.FilterBarPromptVisible(true);
	exgantt1.FilterBarPromptPattern("Nancy");
	exgantt1.FilterInclude(1/*exItemsWithChilds*/);
	exgantt1.Chart().LevelCount(2);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.InsertItem(h0,,"Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		h0 = com_Items.InsertItem(h0,,"Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.InsertItem(h0,,"Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}
900:
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("DateTime")); com_Column1 = var_Column1;
		com_Column1.SortType(3/*SortDateTime*/);
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Time")); com_Column2 = var_Column2;
		com_Column2.SortType(4/*SortTime*/);
		com_Column2.DisplayFilterButton(true);
		com_Column2.DisplayFilterPattern(false);
		com_Column2.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
		com_Column2.FormatColumn("time(value)");
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Numeric")); com_Column3 = var_Column3;
		com_Column3.SortType(1/*SortNumeric*/);
		com_Column3.DisplayFilterButton(true);
		com_Column3.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("String")); com_Column4 = var_Column4;
		com_Column4.DisplayFilterButton(true);
		com_Column4.FilterList(1296/*exShowFocusItem | exShowCheckBox | exSortItemsDesc*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/27/2010",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/27/2010 10:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),com_Items.CellCaption(h,COMVariant::createFromInt(1)));
		com_Items.CellCaption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(1));
		com_Items.CellCaption(h,COMVariant::createFromInt(4),com_Items.CellCaption(h,COMVariant::createFromInt(3)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/27/2011",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/27/2011 9:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),com_Items.CellCaption(h,COMVariant::createFromInt(1)));
		com_Items.CellCaption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(11));
		com_Items.CellCaption(h,COMVariant::createFromInt(4),com_Items.CellCaption(h,COMVariant::createFromInt(3)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("11/2/2010",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("11/2/2010 9:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),com_Items.CellCaption(h,COMVariant::createFromInt(1)));
		com_Items.CellCaption(h,COMVariant::createFromInt(3),COMVariant::createFromInt(2));
		com_Items.CellCaption(h,COMVariant::createFromInt(4),com_Items.CellCaption(h,COMVariant::createFromInt(3)));
	var_Column5 = COM::createFromObject(exgantt1.Columns()).Item("DateTime"); com_Column5 = var_Column5;
	com_Column5.DisplayFilterDate(false);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
899:
I am using Layout property to sort multiple columns at once. The problem is that all items get expanded. How do I prevent that

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("P2")); com_Column1 = var_Column1;
		com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column1.PartialCheck(true);
		com_Column1.FormatColumn("1 index ``");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child A");
		com_Items.InsertItem(h,,"Child B");
		com_Items.InsertItem(h,,"Child A");
		com_Items.InsertItem(h,,"Child B");
		com_Items.AddItem("Root");
		com_Items.AddItem("Root");
	exgantt1.SingleSort(false);
	exgantt1.Layout("multiplesort=\"C0:1 C1:2\";collapse=\"\"");
	exgantt1.EndUpdate();
}
898:
How can I get ride / hide the image being dragged by OLE Drag and Drop
// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgantt1.OLEDropMode(1/*exOLEDropManual*/);
	exgantt1.Background(34/*exDragDropAfter*/,WinApi::RGB2int(255,255,255));
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
897:
I'm trying to use automatic numbering of the outline. How can I have A, B, C for root items, 1, 2, 3 for the sub-items, and a, b, c for sub-sub-items (sample 3)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.DrawGridLines(-2/*exRowLines*/);
	exgantt1.AutoDrag(3/*exAutoDragPositionAny*/);
	exgantt1.HasLines(1/*exSolidLine*/);
	exgantt1.Indent(16);
	exgantt1.MarkSearchColumn(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("")); com_Column = var_Column;
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
			com_Column.FormatColumn("((1:=(0 :=(1 rpos '.|A-Z||a-z|')) rfind `.`) < 0 ? `<b>` + =:0 + `` :  (=:0 mid (1 + 1 + =:1) )  + `)` ) + ` ` + value");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child");
		hChild = com_Items.InsertItem(h,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(h,,"Child");
		com_Items.ExpandItem(0,true);
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child");
		hChild = com_Items.InsertItem(h,,"Child");
		com_Items.CellState(hChild,COMVariant::createFromInt(0),1);
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
896:
I'm trying to use automatic numbering of the outline. How can I have A, B, C for root items, 1, 2, 3 for the sub-items, and a, b, c for sub-sub-items (sample 2)

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	int h,hChild;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.GridLineColor(WinApi::RGB2int(190,190,190));
	exgantt1.DrawGridLines(-2/*exRowLines*/);
	exgantt1.AutoDrag(3/*exAutoDragPositionAny*/);
	exgantt1.HasLines(1/*exSolidLine*/);
	exgantt1.Indent(16);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Default");
		var_Column = COM::createFromVariant(com_Columns.Add("")); com_Column = var_Column;
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
			com_Column.Def(49/*exCellPaddingRight*/,COMVariant::createFromInt(4));
			com_Column.AllowSizing(false);
			com_Column.Width(36);
			com_Column.Position(0);
			var_s = "(1:=(0 :=(1 rpos '.|A-Z||a-z|')) rfind `.`) < 0 ? `<b>` + =:0 : (`............` left 2 * (=:0 count `.`)) + (=:0 mid (1 + 1 + =:";
			var_s = var_s + "1) ) ";
			com_Column.FormatColumn(var_s);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child");
		hChild = com_Items.InsertItem(h,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(h,,"Child");
		com_Items.ExpandItem(0,true);
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child");
		hChild = com_Items.InsertItem(h,,"Child");
		com_Items.CellState(hChild,COMVariant::createFromInt(0),1);
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
895:
I'm trying to use automatic numbering of the outline. How can I have A, B, C for root items, 1, 2, 3 for the sub-items, and a, b, c for sub-sub-items (sample 1)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.DrawGridLines(-2/*exRowLines*/);
	exgantt1.AutoDrag(3/*exAutoDragPositionAny*/);
	exgantt1.HasLines(1/*exSolidLine*/);
	exgantt1.Indent(16);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Default");
		var_Column = COM::createFromVariant(com_Columns.Add("")); com_Column = var_Column;
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
			com_Column.Def(49/*exCellPaddingRight*/,COMVariant::createFromInt(4));
			com_Column.Alignment(2/*RightAlignment*/);
			com_Column.AllowSizing(false);
			com_Column.Width(24);
			com_Column.Position(0);
			com_Column.FormatColumn("(1:=(0 :=(1 rpos '.|A-Z||a-z|')) rfind `.`) < 0 ? `<b>` + =:0 : `<i>` + (=:0 mid (1 + 1 + =:1) ) ");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child");
		hChild = com_Items.InsertItem(h,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(h,,"Child");
		com_Items.ExpandItem(0,true);
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child");
		hChild = com_Items.InsertItem(h,,"Child");
		com_Items.CellState(hChild,COMVariant::createFromInt(0),1);
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(hChild,,"Child");
		com_Items.InsertItem(h,,"Child");
	exgantt1.EndUpdate();
}
894:
Is it possible to have a different alignment for parts of the cell's caption

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.TreeColumnIndex(-1);
	exgantt1.DrawGridLines(-2/*exRowLines*/);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Default")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellHAlignment(com_Items.AddItem("all-left"),COMVariant::createFromInt(0),0/*LeftAlignment*/);
		com_Items.CellHAlignment(com_Items.AddItem("all-center"),COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.CellHAlignment(com_Items.AddItem("all-right"),COMVariant::createFromInt(0),2/*RightAlignment*/);
		h = com_Items.AddItem("left<c>center<r>right");
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(0),1/*exHTML*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
893:
I have a column with Def(exCellSingleLine) property on False, word-wrapping, and I am wondering if possible to update the column's content while user is resizing it
public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("MultipleLine")); com_Column = var_Column;
			com_Column.Width(32);
			com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
			com_Column.Def(64/*exColumnResizeContiguously*/,COMVariant::createFromBoolean(true));
		var_Column1 = COM::createFromVariant(com_Columns.Add("SingleLine")); com_Column1 = var_Column1;
			com_Column1.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"This is a bit of long text that should break the line");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
892:
How do I sort the index column as numeric

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

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

	super();

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

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("C+B")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(48);
		com_Column.FormatColumn("` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `");
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column.Def(3/*exCellButtonAutoWidth*/,COMVariant::createFromBoolean(true));
	exgantt1.Columns().Add("");
	exgantt1.DrawGridLines(2/*exVLines*/);
	exgantt1.DefaultItemHeight(20);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
	exgantt1.EndUpdate();
}
890:
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

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

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

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(32);
		com_Column.FormatColumn("1 index ``");
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Def")); com_Column1 = var_Column1;
		com_Column1.AllowSizing(false);
		com_Column1.Width(48);
		com_Column1.FormatColumn("`     `");
		com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column1.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column1.Def(3/*exCellButtonAutoWidth*/,COMVariant::createFromBoolean(true));
	exgantt1.Columns().Add("");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
		com_Items.AddItem("");
	exgantt1.EndUpdate();
}
889:
Does filtering work with umlauts / accents characters
public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Names")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(3/*exPattern*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Mantel");
		com_Items.AddItem("Mechanik");
		com_Items.AddItem("Motor");
		com_Items.AddItem("Murks");
		com_Items.AddItem("Märchen");
		com_Items.AddItem("Möhren");
		com_Items.AddItem("Mühle");
		com_Items.AddItem("Sérigraphie");
	var_Column1 = COM::createFromObject(exgantt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column1 = var_Column1;
	com_Column1.Filter("*ä*");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
888:
Can I set the search box / filterbarprompt to invisible, so I can use my own input and *string* via VBA
public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(true);
	exgantt1.ContinueColumnScroll(0);
	exgantt1.MarkSearchColumn(false);
	exgantt1.SearchColumnIndex(1);
	exgantt1.FilterBarHeight(0);
	exgantt1.FilterBarPromptVisible(true);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	exgantt1.FilterBarPromptPattern("London");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
887:
How to load a hierarchy using the control's DataSource property (Parent-ID-Relation)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.SetParent(_Item,com_Items.FindItem(com_Items.CellCaption(_Item,"ReportsTo"),"EmployeeID"));
}

public void init()
{
	COM com_Items,com_rs;
	anytype rs,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("SELECT * FROM Employees ORDER BY ReportsTo","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Items().ExpandItem(0,true);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
886:
The week number is not correct. What can I do

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstWeekDay(com_Chart.LocFirstWeekDay());
		com_Chart.MonthNames(com_Chart.LocMonthNames());
		com_Chart.WeekDays(com_Chart.LocWeekDays());
		com_Chart.AMPM(com_Chart.LocAMPM());
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.UnitScale(256/*exWeek*/);
		com_Chart.UnitWidth(32);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2016",213)));
		com_Chart.WeekNumberAs(0/*exISO8601WeekNumber*/);
		com_Chart.ScrollTo(com_Chart.FirstVisibleDate(),COMVariant::createFromInt(1));
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
885:
How can I display my logo on print/print-preview

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.PageOrientation(2/*exLandscape*/);
		com_Print.HTMLPicture("logo","c:\\exontrol\\images\\zipdisk.gif");
		com_Print.ExtraCaption("logo","<img>logo</img>",COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
884:
How can I align captions of items with checkbox, with items with no checkbox

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellImages(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(0),"1");
		com_Items.CellHasCheckBox(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),true);
		com_Items.CellImages(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(0),"1");
	exgantt1.EndUpdate();
}
883:
How do I show the chart's labels in 24-hour clock format

public void init()
{
	COM com_Chart,com_Level,com_Level1,com_Level2;
	anytype var_Chart,var_Level,var_Level1,var_Level2;
	;

	super();

	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.LevelCount(3);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<%mmm%> <%d%>, <%yyyy%>");
			com_Level.Alignment(17/*exHOutside | CenterAlignment*/);
			com_Level.Unit(4096/*exDay*/);
		var_Level1 = com_Chart.Level(1); com_Level1 = var_Level1;
			com_Level1.Label("<b><%h%>:00</b>");
			com_Level1.Alignment(1/*CenterAlignment*/);
			com_Level1.Unit(65536/*exHour*/);
			com_Level1.DrawTickLines(true);
			com_Level1.DrawGridLines(true);
		var_Level2 = com_Chart.Level(2); com_Level2 = var_Level2;
			com_Level2.Label("<%nn%>");
			com_Level2.Unit(1048576/*exMinute*/);
			com_Level2.Count(15);
		com_Chart.ScrollTo(str2Datetime("1/1/2001 8:30:00",213),COMVariant::createFromInt(0));
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
882:
How do I show the chart's labels in 12-hour clock format

public void init()
{
	COM com_Chart,com_Level,com_Level1,com_Level2;
	anytype var_Chart,var_Level,var_Level1,var_Level2;
	;

	super();

	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.LevelCount(3);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<%mmm%> <%d%>, <%yyyy%>");
			com_Level.Alignment(17/*exHOutside | CenterAlignment*/);
			com_Level.Unit(4096/*exDay*/);
		var_Level1 = com_Chart.Level(1); com_Level1 = var_Level1;
			com_Level1.Label("<b><%h%>:00</b> <%AM/PM%>");
			com_Level1.Alignment(1/*CenterAlignment*/);
			com_Level1.Unit(65536/*exHour*/);
			com_Level1.DrawTickLines(true);
			com_Level1.DrawGridLines(true);
		var_Level2 = com_Chart.Level(2); com_Level2 = var_Level2;
			com_Level2.Label("<%nn%>");
			com_Level2.Unit(1048576/*exMinute*/);
			com_Level2.Count(15);
		com_Chart.ScrollTo(str2Datetime("1/1/2001 8:30:00",213),COMVariant::createFromInt(0));
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
881:
The control does not ensure the item to fit the control's client area once the user clicks the cell's button or check box. What can be done
// MouseDown event - Occurs when the user presses a mouse button.
void onEvent_MouseDown(int   _Button,int   _Shift,int   _X,int   _Y)
{
	// Items.EnsureVisibleItem(ItemFromPoint(-1,-1,c,hit))
	;
}

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.TreeColumnIndex(-1);
	exgantt1.SelForeColor(exgantt1.ForeColor());
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Buttons")); com_Column = var_Column;
		com_Column.Alignment(1/*CenterAlignment*/);
		com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Button A");
		com_Items.AddItem("Button B");
		com_Items.AddItem("Button C");
	exgantt1.EndUpdate();
}
880:
Do you have any Fit-To-Page options when printing the control (W x T, Fit-To )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage =1 x 2");
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
879:
Do you have any Fit-To-Page options when printing the control ( x T, Fit-To Tall )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage = x 2");
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
878:
Do you have any Fit-To-Page options when printing the control ( W x, Fit-To Wide )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage = 2 x");
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
877:
Do you have any Fit-To-Page options when printing the control ( percent view, Adjust-To )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage = 50%");
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
876:
Does the title of the cell's tooltip supports HTML format

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("")); com_Column = var_Column;
		com_Column.Caption("");
		com_Column.HTMLCaption("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		var_s = "<c><b><fgcolor=FF0000>Title</fgcolor></b><br>This is bit of text that's shown when the user hovers the cell. This shows the titl";
		var_s = var_s + "e centered with a different color.";
		com_Items.CellToolTip(com_Items.AddItem("tooltip w/h different title"),COMVariant::createFromInt(0),var_s);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
875:
How do I specify a different title for the cell's tooltip

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("")); com_Column = var_Column;
		com_Column.Caption("This is the title");
		com_Column.HTMLCaption("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellToolTip(com_Items.AddItem("tooltip w/h different title"),COMVariant::createFromInt(0),"This is bit of text that's shown when the user hovers the cell.");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
874:
The cell's tooltip displays the column's caption in its title. How can I get ride of that

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("tooltip w/h caption");
		com_Items.CellToolTip(h,COMVariant::createFromInt(0),"This is bit of text that's shown when the user hovers the cell. This shows the column's caption in the title.");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"tooltip no caption");
		com_Items.CellToolTip(h,COMVariant::createFromInt(1),"This is bit of text that's shown when the user hovers the cell. This shows no column's caption in the title.");
	var_Column = COM::createFromObject(exgantt1.Columns()).Item("C2"); com_Column = var_Column;
		com_Column.HTMLCaption(com_Column.Caption());
		com_Column.Caption("");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
873:
How can I programmatically show the column's filter

// RClick event - Fired when right mouse button is clicked
void onEvent_RClick()
{
	COM com_Column;
	anytype var_Column;
	int i;
	;
	i = exgantt1.ItemFromPoint(-1,-1,c,hit);
	var_Column = COM::createFromObject(exgantt1.Columns()).Item(c); com_Column = var_Column;
	com_Column.ShowFilter("-1,-1,128,128");
}

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.ShowFocusRect(false);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items ")); com_Column = var_Column;
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
	exgantt1.EndUpdate();
}
872:
I want to be able to click on one of the headers, and sort by other column. How can I do that (method 2)

// ColumnClick event - Fired after the user clicks on column's header.
void onEvent_ColumnClick(COM   _Column)
{
	// Column.SortOrder = 1
	COM com_Column;
	anytype var_Column;
	;
	exgantt1.SortOnClick(-1/*exDefaultSort*/);
	var_Column = COM::createFromObject(exgantt1.Columns()).Item("Sort"); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	exgantt1.SortOnClick(1/*exUserSort*/);
}

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	exgantt1.SortOnClick(1/*exUserSort*/);
	exgantt1.Columns().Add("Items");
	COM::createFromVariant(exgantt1.Columns().Add("Sort")).Visible(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item 1 (3)"),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.CellCaption(com_Items.AddItem("Item 2 (1)"),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(com_Items.AddItem("Item 3 (2)"),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	exgantt1.EndUpdate();
}
871:
I want to be able to click on one of the headers, and sort by other column. How can I do that (method 1)

// ColumnClick event - Fired after the user clicks on column's header.
void onEvent_ColumnClick(COM   _Column)
{
	// Column.SortOrder = 1
	;
	exgantt1.Items().SortChildren(0,"Sort",true);
}

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	exgantt1.SortOnClick(1/*exUserSort*/);
	exgantt1.Columns().Add("Items");
	COM::createFromVariant(exgantt1.Columns().Add("Sort")).Visible(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item 1 (3)"),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.CellCaption(com_Items.AddItem("Item 2 (1)"),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(com_Items.AddItem("Item 3 (2)"),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	exgantt1.EndUpdate();
}
870:
How can I sort by two-columns, one by date and one by time

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.SingleSort(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Index")).FormatColumn("1 index ``");
		COM::createFromVariant(com_Columns.Add("Date")).SortType(2/*SortDate*/);
		var_Column = COM::createFromVariant(com_Columns.Add("Time")); com_Column = var_Column;
			com_Column.SortType(4/*SortTime*/);
			com_Column.FormatColumn("time(value)");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/31/2000",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 6:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/31/2000",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 8:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 8:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("12/31/2000",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(2),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 6:00:00",213)));
	exgantt1.Layout("multiplesort=\"C1:1 C2:1\"");
	exgantt1.EndUpdate();
}
869:
How can I connect to a DBF file
public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Select * From foxcode.DBF","Provider=vfpoledb;Data Source=C:\\Program Files\\Microsoft Visual FoxPro 9\\",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
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.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Chart,com_ConditionalFormat,com_ConditionalFormat1,com_ConditionalFormat2,com_ConditionalFormats,com_Items,com_rs;
	anytype rs,var_Chart,var_ConditionalFormat,var_ConditionalFormat1,var_ConditionalFormat2,var_ConditionalFormats,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("8/3/1994",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
		com_Chart.LevelCount(2);
		com_Chart.UnitScale(4096/*exDay*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.OverviewVisible(-1/*exOverviewShowAll*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	var_ConditionalFormats = exgantt1.ConditionalFormats(); com_ConditionalFormats = var_ConditionalFormats;
		var_ConditionalFormat = com_ConditionalFormats.Add("1"); com_ConditionalFormat = var_ConditionalFormat;
			com_ConditionalFormat.ApplyTo(1);
			com_ConditionalFormat.Bold(true);
			com_ConditionalFormat.BackColor(WinApi::RGB2int(250,250,250));
		var_ConditionalFormat1 = com_ConditionalFormats.Add("%1 = 5"); com_ConditionalFormat1 = var_ConditionalFormat1;
			com_ConditionalFormat1.ApplyToBars("Task");
			com_ConditionalFormat1.BarColor(WinApi::RGB2int(255,0,0));
			com_ConditionalFormat1.ForeColor(WinApi::RGB2int(255,0,0));
			com_ConditionalFormat1.BarOverviewColor(WinApi::RGB2int(255,0,0));
		var_ConditionalFormat2 = com_ConditionalFormats.Add("%1 = 3"); com_ConditionalFormat2 = var_ConditionalFormat2;
			com_ConditionalFormat2.ApplyToBars("Task");
			com_ConditionalFormat2.BarColor(WinApi::RGB2int(0,255,0));
			com_ConditionalFormat2.ForeColor(WinApi::RGB2int(0,255,0));
			com_ConditionalFormat2.BarOverviewColor(WinApi::RGB2int(0,255,0));
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
867:
Does your control supports scrolling by touching the screen

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Chart,com_Items,com_rs;
	anytype rs,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("8/3/1994",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
		com_Chart.LevelCount(2);
		com_Chart.UnitScale(4096/*exDay*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.OverviewVisible(-1/*exOverviewShowAll*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.ContinueColumnScroll(true);
	exgantt1.ScrollBySingleLine(true);
	exgantt1.AutoDrag(4112/*exAutoDragScrollOnShortTouch | exAutoDragScroll*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
866:
How can I export the control's content to a PDF document (method 1)

public void init()
{
	COM com_Chart,com_Items,com_Print;
	anytype var_Chart,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	exgantt1.Columns().Add("Tasks");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,196);
		com_Chart.LevelCount(2);
		com_Chart.ShowEmptyBars(1);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2009",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2009",213)),COMVariant::createFromDate(str2Date("1/7/2009",213)));
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/4/2009",213)),COMVariant::createFromDate(str2Date("1/9/2009",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.PrintExt(exgantt1);
		com_Print.CopyTo("c:/temp/xtest.pdf");
	print( "Look for C:\\Temp\\xtest.pdf file." );
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,196);
}
*/
865:
How can I export the control's content to a PDF document (method 2)

public void init()
{
	COM com_Chart,com_Items;
	COMVariant var_CopyTo;
	anytype var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	exgantt1.Columns().Add("Tasks");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,196);
		com_Chart.LevelCount(2);
		com_Chart.ShowEmptyBars(1);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2009",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2009",213)),COMVariant::createFromDate(str2Date("1/7/2009",213)));
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/4/2009",213)),COMVariant::createFromDate(str2Date("1/9/2009",213)));
	var_CopyTo = exgantt1.CopyTo("c:/temp/xtest.pdf");
	print( "Look for C:\\Temp\\xtest.pdf file." );
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,196);
}
*/
864:
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

// CellStateChanged event - Fired after cell's state has been changed.
void onEvent_CellStateChanged(int   _Item,int   _ColIndex)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(_Item,COMVariant::createFromInt(2),com_Items.CellState(_Item,COMVariant::createFromInt(0)));
}

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.ShowFocusRect(false);
	exgantt1.SelBackMode(1/*exTransparent*/);
	var_ConditionalFormat = COM::createFromObject(exgantt1.ConditionalFormats()).Add("%2 != 0"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(-1/*exFormatToItems*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Width(16);
		com_Column.AllowSizing(false);
	exgantt1.Columns().Add("Information");
	COM::createFromVariant(exgantt1.Columns().Add("Hidden")).Visible(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(""),COMVariant::createFromInt(1),"This is a bit of text associated");
		h = com_Items.AddItem("");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"This is a bit of text associated");
		com_Items.CellState(h,COMVariant::createFromInt(0),1);
		com_Items.CellCaption(com_Items.AddItem(""),COMVariant::createFromInt(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.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Chart,com_Items,com_rs;
	anytype rs,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("8/3/1994",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
		com_Chart.LevelCount(2);
		com_Chart.UnitScale(4096/*exDay*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.OverviewVisible(-1/*exOverviewShowAll*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.AutoDrag(16/*exAutoDragScroll*/);
	exgantt1.ScrollWidth(4);
	exgantt1.ScrollHeight(4);
	exgantt1.Background(384/*exHSLeft*/,WinApi::RGB2int(192,192,192));
	exgantt1.Background(392/*exHSRight*/,WinApi::RGB2int(192,192,192));
	exgantt1.Background(404/*exHSBack*/,WinApi::RGB2int(224,224,224));
	exgantt1.Background(388/*exHSThumb*/,WinApi::RGB2int(128,128,128));
	exgantt1.Background(276/*exVSBack*/,WinApi::RGB2int(224,224,224));
	exgantt1.Background(264/*exVSDown*/,WinApi::RGB2int(192,192,192));
	exgantt1.Background(260/*exVSThumb*/,WinApi::RGB2int(128,128,128));
	exgantt1.Background(256/*exVSUp*/,WinApi::RGB2int(192,192,192));
	exgantt1.ScrollButtonWidth(0);
	exgantt1.ScrollButtonHeight(0);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
862:
How can I print the selected items only

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.SingleSel(false);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.SelectItem(com_Items.ItemByIndex(0),true);
		com_Items.SelectItem(com_Items.ItemByIndex(2),true);
		com_Items.SelectItem(com_Items.ItemByIndex(4),true);
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("Print = Selection");
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
861:
How can I sort the columns to be displayed on the columns floating bar

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("City")).Visible(false);
		COM::createFromVariant(com_Columns.Add("Start")).Visible(false);
		COM::createFromVariant(com_Columns.Add("End")).Visible(false);
	exgantt1.ColumnsFloatBarVisible(true);
	exgantt1.ColumnsFloatBarSortOrder(1/*SortAscending*/);
}
860:
How can I add a vertical padding

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.DrawGridLines(-1/*exAllLines*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Padding")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(6));
		com_Column.Def(49/*exCellPaddingRight*/,COMVariant::createFromInt(6));
		com_Column.Def(50/*exCellPaddingTop*/,COMVariant::createFromInt(6));
		com_Column.Def(51/*exCellPaddingBottom*/,COMVariant::createFromInt(6));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("padding");
		com_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.
void onEvent_AnchorClick(str   _AnchorID,str   _Options)
{
	;
	print( _AnchorID );
	print( _Options );
}

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

	super();

	exgantt1.BeginUpdate();
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Car")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("<a mazda_1;options for 1>Mazda <b>1</b></a>");
		com_Items.AddItem("<a mazda_2;options for 2>Mazda <b>2</b></a>");
		com_Items.AddItem("<a mazda_3;options for 3a>Mazda <b>3.a</b></a>");
		com_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)

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

	super();

	exgantt1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78eg";
	var_s = var_s + "BHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRxL";
	var_s = var_s + "C8Mw3BDvYDkOAABAIgI=";
	exgantt1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	exgantt1.SelBackColor(0x1fffffe);
	exgantt1.ShowFocusRect(false);
	exgantt1.Columns().Add("Items");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.ItemBackColor(com_Items.AddItem("red"),WinApi::RGB2int(255,0,0));
		com_Items.ItemBackColor(com_Items.AddItem("blue"),WinApi::RGB2int(0,0,255));
		com_Items.ItemBackColor(com_Items.AddItem("green"),WinApi::RGB2int(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)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.SelBackMode(1/*exTransparent*/);
	exgantt1.ShowFocusRect(false);
	exgantt1.Columns().Add("Items");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.ItemBackColor(com_Items.AddItem("red"),WinApi::RGB2int(255,0,0));
		com_Items.ItemBackColor(com_Items.AddItem("blue"),WinApi::RGB2int(0,0,255));
		com_Items.ItemBackColor(com_Items.AddItem("green"),WinApi::RGB2int(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)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.SelBackColor(exgantt1.BackColor());
	exgantt1.SelForeColor(exgantt1.ForeColor());
	exgantt1.ShowFocusRect(true);
	exgantt1.Columns().Add("Items");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.ItemBackColor(com_Items.AddItem("red"),WinApi::RGB2int(255,0,0));
		com_Items.ItemBackColor(com_Items.AddItem("blue"),WinApi::RGB2int(0,0,255));
		com_Items.ItemBackColor(com_Items.AddItem("green"),WinApi::RGB2int(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.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Items,com_Print,com_rs;
	anytype rs,var_Items,var_Print;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("8/4/1994",213)));
	exgantt1.EndUpdate();
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage = On");
		com_Print.PrintExt(exgantt1);
		com_Print.Preview();
}
854:
How can I add a footer row

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

	super();

	exgantt1.ShowLockedItems(true);
	exgantt1.DrawGridLines(2/*exVLines*/);
	exgantt1.Columns().Add("C1");
	exgantt1.Columns().Add("C2");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.LockedItemCount(2/*BottomAlignment*/,1);
		h = com_Items.LockedItem(2/*BottomAlignment*/,0);
		com_Items.ItemBackColor(h,WinApi::RGB2int(128,128,128));
		com_Items.ItemForeColor(h,WinApi::RGB2int(255,255,255));
		com_Items.CellCaption(h,COMVariant::createFromInt(0),"footer c1");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"footer c2");
		com_Items.CellCaption(com_Items.AddItem("cell"),COMVariant::createFromInt(1),"cell");
}
853:
How can I add a header row

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

	super();

	exgantt1.ShowLockedItems(true);
	exgantt1.DrawGridLines(2/*exVLines*/);
	exgantt1.Columns().Add("C1");
	exgantt1.Columns().Add("C2");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.LockedItemCount(0/*TopAlignment*/,1);
		h = com_Items.LockedItem(0/*TopAlignment*/,0);
		com_Items.ItemBackColor(h,WinApi::RGB2int(128,128,128));
		com_Items.ItemForeColor(h,WinApi::RGB2int(255,255,255));
		com_Items.CellCaption(h,COMVariant::createFromInt(0),"footer c1");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"footer c2");
		com_Items.CellCaption(com_Items.AddItem("cell"),COMVariant::createFromInt(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

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

	super();

	exgantt1.SortBarVisible(true);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add(0);
		com_Columns.Add(1);
		com_Columns.Add(2);
		com_Columns.Add(3);
		com_Columns.Add(4);
	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
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exgantt1.ColumnAutoResize(true);
	exgantt1.Columns().Add("Sizable");
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("F")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_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

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

	super();

	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Value");
		var_Column = COM::createFromVariant(com_Columns.Add("CellSingleLine = False")); com_Column = var_Column;
			com_Column.ComputedField("%0");
			com_Column.Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
		var_Column1 = COM::createFromVariant(com_Columns.Add("FormatColumn/replace CRLF")); com_Column1 = var_Column1;
			com_Column1.ComputedField("%0");
			com_Column1.FormatColumn("value replace `\\r\\n` with ``");
		var_Column2 = COM::createFromVariant(com_Columns.Add("FormatColumn/replace TAB,CRLF")); com_Column2 = var_Column2;
			com_Column2.ComputedField("%0");
			com_Column2.FormatColumn("(value replace `\\t` with ``) replace `\\r\\n` with ``");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_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.
void onEvent_DblClick(int   _Shift,int   _X,int   _Y)
{
	COM com_Items;
	anytype var_Items;
	int h;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.CellChecked(1234);
		com_Items.CellHasCheckBox(COMVariant::createFromInt(0),h,true);
		com_Items.CellState(COMVariant::createFromInt(0),h,0);
		com_Items.CellHasCheckBox(COMVariant::createFromInt(0),h,false);
}

// SelectionChanged event - Fired after a new item has been selected.
void onEvent_SelectionChanged()
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.FocusItem(),COMVariant::createFromInt(0),1);
}

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

	super();

	exgantt1.MarkSearchColumn(false);
	exgantt1.SelBackColor(WinApi::RGB2int(255,255,128));
	exgantt1.SelForeColor(WinApi::RGB2int(0,0,0));
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Radio 1");
		com_Items.CellHasRadioButton(h,COMVariant::createFromInt(0),true);
		com_Items.CellRadioGroup(h,COMVariant::createFromInt(0),1234);
		h = com_Items.AddItem("Radio 2");
		com_Items.CellHasRadioButton(h,COMVariant::createFromInt(0),true);
		com_Items.CellRadioGroup(h,COMVariant::createFromInt(0),1234);
		com_Items.CellState(h,COMVariant::createFromInt(0),1);
		h = com_Items.AddItem("Radio 3");
		com_Items.CellHasRadioButton(h,COMVariant::createFromInt(0),true);
		com_Items.CellRadioGroup(h,COMVariant::createFromInt(0),1234);
}
848:
The Column.Alignment property does not seem to work for cells with images in them. What can be done

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

	super();

	exgantt1.BeginUpdate();
	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgantt1.Images(COMVariant::createFromStr(var_s));
	exgantt1.TreeColumnIndex(-1);
	exgantt1.DrawGridLines(-1/*exAllLines*/);
	exgantt1.HeaderHeight(24);
	exgantt1.DefaultItemHeight(24);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Image")); com_Column = var_Column;
		com_Column.AllowSizing(false);
		com_Column.Width(32);
		com_Column.HTMLCaption("<img>1</img>");
		com_Column.HeaderAlignment(1/*CenterAlignment*/);
		com_Column.Alignment(1/*CenterAlignment*/);
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	exgantt1.Columns().Add("Rest");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("<img>1</img>");
		com_Items.AddItem("<img>2</img>");
		com_Items.AddItem("<img>3</img>");
	exgantt1.EndUpdate();
}
847:
Does your control support subscript or superscript, in HTML captions

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

	super();

	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,64);
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"");
		com_Items.ItemBar(h,"",3/*exBarCaption*/,"<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");
		com_Items.ItemBar(h,"",4/*exBarHAlignCaption*/,COMVariant::createFromInt(18));
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,64);
}
*/
846:
How do I arrange my columns on multiple levels

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.ColumnAutoResize(false);
	exgantt1.DrawGridLines(-1/*exAllLines*/);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("C0")); com_Column = var_Column;
			com_Column.ExpandColumns("1,2");
			com_Column.DisplayExpandButton(false);
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
		var_Column1 = COM::createFromVariant(com_Columns.Add("C4")); com_Column1 = var_Column1;
			com_Column1.ExpandColumns("5,6");
			com_Column1.DisplayExpandButton(false);
		com_Columns.Add("C5");
		var_Column2 = COM::createFromVariant(com_Columns.Add("C6")); com_Column2 = var_Column2;
			com_Column2.ExpandColumns("6,7");
			com_Column2.DisplayExpandButton(false);
		com_Columns.Add("C7");
	exgantt1.EndUpdate();
}
845:
Does your control support expandable header or columns, so I can arrange it on multiple levels

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.DrawGridLines(-1/*exAllLines*/);
	exgantt1.BackColorLevelHeader(WinApi::RGB2int(240,240,240));
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Photo")); com_Column = var_Column;
			com_Column.AllowSizing(false);
			com_Column.Width(32);
		com_Columns.Add("Personal Info");
		com_Columns.Add("Title");
		com_Columns.Add("Name");
		com_Columns.Add("First");
		com_Columns.Add("Last");
		com_Columns.Add("Address");
		var_Column1 = COM::createFromObject(com_Columns.Item("Personal Info")); com_Column1 = var_Column1;
		com_Column1.ExpandColumns("2,3");
		var_Column1 = com_Columns.Item("Name"); com_Column1 = var_Column1;
			com_Column1.ExpandColumns("4,5");
			com_Column1.Expanded(false);
	exgantt1.EndUpdate();
}
844:
Can I change the format of date to be shown in the control

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

	super();

	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Default");
		var_Column = COM::createFromVariant(com_Columns.Add("Format.1")); com_Column = var_Column;
			com_Column.ComputedField("%0");
			com_Column.FormatColumn("dateF(value) replace `/` with `-`");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Format.2")); com_Column1 = var_Column1;
			com_Column1.ComputedField("%0");
			com_Column1.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
			com_Column1.FormatColumn("`<b>`+ shortdate(value) + `</b> ` + timeF(value)");
		var_Column2 = COM::createFromVariant(com_Columns.Add("Format.3")); com_Column2 = var_Column2;
			com_Column2.ComputedField("%0");
			com_Column2.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
			var_s = "` <b>`+ ( weekday(value) case ( 0 : `Su`; 1 : `Mo`; 2 : `Tu`; 3 : `We`; 4 : `Th`; 5 : `Fr`; 6 : `Sa`) ) + `</b> ` + ( dateF(valu";
			var_s = var_s + "e) replace `/` with `-` )";
			com_Column2.FormatColumn(var_s);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 10:00:00",213)));
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
843:
How can I remove all bars from the chart
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 3"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 4"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K2");
		com_Items.ClearBars(0);
}
842:
How can I change the color for all bars with a specified key

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

	super();

	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 3"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 4"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K2");
		com_Items.ItemBar(0,"K1",513/*exBarColor*/,COMVariant::createFromInt(255));
}
841:
Is there any automatic way to change a property for all bars with a specified key

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

	super();

	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 3"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 4"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K2");
		com_Items.ItemBar(0,"K1",513/*exBarColor*/,COMVariant::createFromInt(255));
}
840:
How can I remove all bars with specified key

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

	super();

	exgantt1.Columns().Add("Task");
	exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 2"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 3"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
		com_Items.AddBar(com_Items.AddItem("Task 4"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K2");
		com_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.
void onEvent_FilterChange()
{
	;
	print( "If negative, the filter is present, else not" );
	print( exgantt1.Items().VisibleItemCount() );
}

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

	super();

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

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

	super();

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

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.FilterInclude(4/*exMatchingItemsOnly*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("C1|C2");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	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)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_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)

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Column");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
	var_s = "gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAGQ";
	var_s = var_s + "Aqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0j";
	var_s = var_s + "E3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI=";
	exgantt1.Layout(var_s);
	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

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

	super();

	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
	exgantt1.BackColorHeader(0x1000000);
	exgantt1.Background(32/*exCursorHoverColumn*/,0x12d86ff);
}
833:
Is it possible to change the visual appearance of the columns selector/floating bar(3)

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
	exgantt1.VisualAppearance().Add(2,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.VisualAppearance().Add(3,"c:\\exontrol\\images\\pushed.ebn");
	exgantt1.Background(92/*exColumnsFloatAppearance*/,0x2000000);
	exgantt1.Background(87/*exColumnsFloatBackColor*/,0x3000000);
	exgantt1.Background(93/*exColumnsFloatCaptionBackColor*/,WinApi::RGB2int(246,245,240));
	exgantt1.ColumnsFloatBarVisible(true);
}
832:
Is it possible to change the visual appearance of the columns selector/floating bar(2)

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
	exgantt1.VisualAppearance().Add(3,"c:\\exontrol\\images\\pushed.ebn");
	exgantt1.Background(87/*exColumnsFloatBackColor*/,0x3000000);
	exgantt1.ColumnsFloatBarVisible(true);
}
831:
Is it possible to change the visual appearance of the columns selector/floating bar(1)

public void init()
{
	;

	super();

	exgantt1.VisualAppearance().Add(2,"c:\\exontrol\\images\\normal.ebn");
	exgantt1.Background(92/*exColumnsFloatAppearance*/,0x2000000);
	exgantt1.Background(87/*exColumnsFloatBackColor*/,WinApi::RGB2int(246,245,240));
	exgantt1.Background(93/*exColumnsFloatCaptionBackColor*/,WinApi::RGB2int(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

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
	exgantt1.ColumnsFloatBarVisible(true);
}
829:
Is it possible to list a column to columns selector/floating bar, but still user can use it

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
		var_Column = COM::createFromVariant(com_Columns.Add("Column 3")); com_Column = var_Column;
			com_Column.Visible(false);
			com_Column.Enabled(false);
	exgantt1.ColumnsFloatBarVisible(true);
}
828:
How can I prevent a specific column not to be listed in the columns selector/floating bar

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
		var_Column = COM::createFromVariant(com_Columns.Add("Column 3")); com_Column = var_Column;
			com_Column.Visible(false);
			com_Column.AllowDragging(false);
	exgantt1.ColumnsFloatBarVisible(true);
}
827:
Is it possible to change the "Columns" caption being shown in the columns selector/floating bar

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
	exgantt1.Description(26/*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

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

	super();

	exgantt1.ColumnAutoResize(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Visible(false);
	exgantt1.ColumnsFloatBarVisible(true);
}
825:
The column's header is changed while the cursor hovers it. Is it possible to prevent that

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

	super();

	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
	exgantt1.Background(32/*exCursorHoverColumn*/,-1);
}
824:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

public void init()
{
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.ScrollBars(15/*exDisableBoth*/);
	exgantt1.Chart().ToolTip("");
	exgantt1.ScrollPartVisible(0/*exVScroll*/,65536/*exExtentThumbPart*/,true);
	exgantt1.ScrollPartVisible(1/*exHScroll*/,65536/*exExtentThumbPart*/,true);
	exgantt1.ScrollPartVisible(2/*exHChartScroll*/,65536/*exExtentThumbPart*/,true);
	exgantt1.ScrollWidth(4);
	exgantt1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
	exgantt1.Background(260/*exVSThumb*/,WinApi::RGB2int(128,128,128));
	exgantt1.ScrollHeight(4);
	exgantt1.Background(404/*exHSBack*/,exgantt1.Background(276/*exVSBack*/));
	exgantt1.Background(388/*exHSThumb*/,exgantt1.Background(260/*exVSThumb*/));
	exgantt1.Background(511/*exScrollSizeGrip*/,exgantt1.Background(276/*exVSBack*/));
	exgantt1.EndUpdate();
}
823:
How can I display the Year in Thai, Buddhist, Korean format

public void init()
{
	COM com_Chart,com_Level;
	anytype var_Chart,var_Level;
	;

	super();

	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstWeekDay(com_Chart.LocFirstWeekDay());
		com_Chart.MonthNames(com_Chart.LocMonthNames());
		com_Chart.WeekDays(com_Chart.LocWeekDays());
		com_Chart.AMPM(com_Chart.LocAMPM());
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.UnitScale(4096/*exDay*/);
		var_Level = com_Chart.Level(0); com_Level = var_Level;
			com_Level.Label("<%mmmm%> <%d%>, <%loc_yyyy%> <r><%ww%>");
			com_Level.Unit(256/*exWeek*/);
			com_Level.ToolTip(com_Level.Label());
		com_Chart.ToolTip("<%ddd%> <%m%>/<%d%>/<%loc_yyyy%>");
	exgantt1.Description(17/*exFilterBarDateMonths*/,exgantt1.Chart().MonthNames());
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
822:
How does localization work

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstWeekDay(com_Chart.LocFirstWeekDay());
		com_Chart.MonthNames(com_Chart.LocMonthNames());
		com_Chart.WeekDays(com_Chart.LocWeekDays());
		com_Chart.AMPM(com_Chart.LocAMPM());
		com_Chart.LevelCount(2);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
821:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Car")); com_Column = var_Column;
			com_Column.DisplayFilterButton(true);
			com_Column.FilterType(240/*exFilter*/);
			com_Column.Filter("MAZDA");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Equipment")); com_Column1 = var_Column1;
			com_Column1.DisplayFilterButton(true);
			com_Column1.DisplayFilterPattern(false);
			com_Column1.CustomFilter("Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
			com_Column1.FilterType(3/*exPattern*/);
			com_Column1.Filter("AIR BAG");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
820:
How can I have a case-sensitive filter

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.MarkSearchColumn(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Car")); com_Column = var_Column;
			com_Column.DisplayFilterButton(true);
			com_Column.FilterType(496/*exFilterDoCaseSensitive | exFilter*/);
			com_Column.Filter("Mazda");
		var_Column1 = COM::createFromVariant(com_Columns.Add("Equipment")); com_Column1 = var_Column1;
			com_Column1.DisplayFilterButton(true);
			com_Column1.DisplayFilterPattern(false);
			com_Column1.CustomFilter("Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
			com_Column1.FilterType(259/*exFilterDoCaseSensitive | exPattern*/);
			com_Column1.Filter("Air Bag");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
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.
void onEvent_SelectionChanged()
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.ClearItemBackColor(0);
		com_Items.ItemBackColor(com_Items.SelectedItem(0),WinApi::RGB2int(128,255,255));
}

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

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	exgantt1.SelForeColor(exgantt1.ForeColor());
	exgantt1.SelBackColor(exgantt1.BackColor());
	exgantt1.ShowFocusRect(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Format")); com_Column = var_Column;
			var_s = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=000";
			var_s = var_s + "0FF>+'+(value format '2|.|3|,' ): '0.00') )";
			com_Column.FormatColumn(var_s);
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(10));
		com_Items.AddItem(COMVariant::createFromInt(-8));
	exgantt1.EndUpdate();
}
818:
How do I hide the selection
public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	str var_s;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.MarkSearchColumn(false);
	exgantt1.SelForeColor(exgantt1.ForeColor());
	exgantt1.SelBackColor(exgantt1.BackColor());
	exgantt1.ShowFocusRect(false);
	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Format")); com_Column = var_Column;
			var_s = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=000";
			var_s = var_s + "0FF>+'+(value format '2|.|3|,' ): '0.00') )";
			com_Column.FormatColumn(var_s);
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(10));
		com_Items.AddItem(COMVariant::createFromInt(-8));
	exgantt1.EndUpdate();
}
817:
How do I access the cells, or how do I get the values in the columns
public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h;
	;

	super();

	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"SubItem 1.1");
		com_Items.CellCaption(h,COMVariant::createFromInt(2),"SubItem 1.2");
		print( com_Items.CellCaption(h,COMVariant::createFromInt(2)) );
}
816:
How can I change the check-boxes appearance

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

	super();

	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Default")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		com_Appearance.Add(1,"XP:Button 3 12");
		com_Appearance.Add(2,"XP:Button 3 11");
		com_Appearance.Add(3,"XP:Button 3 10");
	exgantt1.CheckImage(0/*Unchecked*/,16777216);
	exgantt1.CheckImage(1/*Checked*/,33554432);
	exgantt1.CheckImage(2/*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.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Chart,com_Items,com_rs;
	anytype rs,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("8/3/1994",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
		com_Chart.LevelCount(2);
		com_Chart.UnitScale(4096/*exDay*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.OverviewVisible(-1/*exOverviewShowAll*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
814:
Is it possible display numbers in the same format no matter of regional settings in the control panel

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

	super();

	exgantt1.BeginUpdate();
	COM::createFromVariant(exgantt1.Columns().Add("Def")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromReal(666666.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default positive)'");
		h = com_Items.AddItem(COMVariant::createFromReal(666666.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '2|.|3|,|1|1')");
		h = com_Items.AddItem(COMVariant::createFromReal(-666666.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(0),"(value format '') +  ' <fgcolor=808080>(default negative)'");
		h = com_Items.AddItem(COMVariant::createFromReal(-666666.27));
		com_Items.FormatCell(h,COMVariant::createFromInt(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

public void init()
{
	COM com_Chart,com_Level;
	anytype var_Chart,var_Level;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.Columns().Add("Tasks");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.LevelCount(2);
		com_Chart.ScrollRange(0/*exStartDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.ScrollRange(1/*exEndDate*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Chart.UnitScale(65536/*exHour*/);
		com_Chart.NonworkingHours(12582975);
		com_Chart.ShowNonworkingUnits(false);
		var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level;
		com_Level.Alignment(17/*exHOutside | CenterAlignment*/);
		com_Chart.UnitWidth(18);
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(true,294);
		com_Chart.ScrollBar(false);
	exgantt1.OnResizeControl(128/*exDisableSplitter*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,294);
}
*/
812:
Can I use ebn files to display the selected dates

public void init()
{
	COM com_Appearance,com_Chart,com_Items;
	anytype var_Appearance,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Appearance = exgantt1.VisualAppearance(); com_Appearance = var_Appearance;
		com_Appearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
		com_Appearance.Add(1,"CP:2 0 -4 0 4");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2008",213)));
		com_Chart.MarkTodayColor(com_Chart.BackColor());
		com_Chart.LevelCount(2);
		com_Chart.MarkSelectDateColor(0x1000000);
		com_Chart.SelectLevel(1);
		com_Chart.SelectDate(str2Date("1/3/2008",213),true);
		com_Chart.SelectDate(str2Date("1/4/2008",213),true);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2008",213)),COMVariant::createFromDate(str2Date("1/6/2008",213)));
		com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/3/2008",213)),COMVariant::createFromDate(str2Date("1/7/2008",213)));
		com_Items.AddBar(com_Items.AddItem("Item 3"),"Task",COMVariant::createFromDate(str2Date("1/4/2008",213)),COMVariant::createFromDate(str2Date("1/8/2008",213)));
		com_Items.AddBar(com_Items.AddItem("Item 4"),"Task",COMVariant::createFromDate(str2Date("1/5/2008",213)),COMVariant::createFromDate(str2Date("1/9/2008",213)));
	exgantt1.EndUpdate();
}
811:
Can I use ebn files to display the selected dates

public void init()
{
	COM com_Chart,com_Items;
	anytype var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2008",213)));
		com_Chart.MarkTodayColor(com_Chart.BackColor());
		com_Chart.LevelCount(2);
		com_Chart.MarkSelectDateColor(0x1000000);
		com_Chart.SelectLevel(1);
		com_Chart.SelectDate(str2Date("1/3/2008",213),true);
	exgantt1.Columns().Add("Default");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2008",213)),COMVariant::createFromDate(str2Date("1/6/2008",213)));
		com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/3/2008",213)),COMVariant::createFromDate(str2Date("1/7/2008",213)));
		com_Items.AddBar(com_Items.AddItem("Item 3"),"Task",COMVariant::createFromDate(str2Date("1/4/2008",213)),COMVariant::createFromDate(str2Date("1/8/2008",213)));
	exgantt1.EndUpdate();
}
810:
How can I change the color for selected dates to be solid

public void init()
{
	COM com_Chart;
	anytype var_Chart;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,0);
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2008",213)));
		com_Chart.MarkTodayColor(com_Chart.BackColor());
		com_Chart.LevelCount(2);
		com_Chart.MarkSelectDateColor(0x7fff0000);
		com_Chart.SelectLevel(1);
		com_Chart.SelectDate(str2Date("1/15/2008",213),true);
		com_Chart.SelectDate(str2Date("1/16/2008",213),true);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,0);
}
*/
809:
How can I add or change the padding (spaces) for captions in the control's header

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	COM::createFromVariant(exgantt1.Columns().Add("Padding-Left")).Def(52/*exHeaderPaddingLeft*/,COMVariant::createFromInt(18));
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Padding-Right")); com_Column = var_Column;
		com_Column.Def(53/*exHeaderPaddingRight*/,COMVariant::createFromInt(18));
		com_Column.HeaderAlignment(2/*RightAlignment*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
808:
Do you have any plans to add cell spacing and cell padding to the cells

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.DrawGridLines(-1/*exAllLines*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Padding-Left")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(18));
	COM::createFromVariant(exgantt1.Columns().Add("No-Padding")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	COM::createFromVariant(exgantt1.Columns().Add("Empty")).Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Item A.1"),COMVariant::createFromInt(1),"Item A.2");
		com_Items.CellCaption(com_Items.AddItem("Item B.1"),COMVariant::createFromInt(1),"Item B.2");
		com_Items.CellCaption(com_Items.AddItem("Item C.1"),COMVariant::createFromInt(1),"Item C.2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
807:
Is it possible to display information about the firing events
// Event event - Notifies the application once the control fires an event.
void onEvent_Event(int   _EventID)
{
	;
	print( exgantt1.EventParam(-2) );
}

public void init()
{
	;

	super();

}
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.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Chart,com_Items,com_rs;
	anytype rs,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("8/3/1994",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
		com_Chart.LevelCount(2);
		com_Chart.UnitScale(4096/*exDay*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.OverviewVisible(-1/*exOverviewShowAll*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.AutoDrag(16/*exAutoDragScroll*/);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
805:
How do I load bars from my ADO table/database

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddBar(_Item,"Task",com_Items.CellCaption(_Item,COMVariant::createFromInt(2)),com_Items.CellCaption(_Item,COMVariant::createFromInt(4)));
}

public void init()
{
	COM com_Chart,com_Items,com_rs;
	anytype rs,var_Chart,var_Items;
	;

	super();

	exgantt1.BeginUpdate();
	var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
		com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("8/3/1994",213)));
	/*should be called during the form's activate method*/ 	com_Chart.PaneWidth(false,256);
		com_Chart.LevelCount(2);
		com_Chart.UnitScale(4096/*exDay*/);
		com_Chart.FirstWeekDay(1/*exMonday*/);
		com_Chart.OverviewVisible(-1/*exOverviewShowAll*/);
	exgantt1.ColumnAutoResize(false);
	exgantt1.ContinueColumnScroll(false);
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exgantt1.DataSource(rs);
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(false,256);
}
*/
804:
Is it possible to auto-numbering the children items but still keeps the position after filtering

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Child 2");
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Pos.1")); com_Column1 = var_Column1;
		com_Column1.FormatColumn("1 ropos ''");
		com_Column1.Position(0);
		com_Column1.Width(32);
		com_Column1.AllowSizing(false);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Pos.2")); com_Column2 = var_Column2;
		com_Column2.FormatColumn("1 ropos ':'");
		com_Column2.Position(1);
		com_Column2.Width(32);
		com_Column2.AllowSizing(false);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Pos.3")); com_Column3 = var_Column3;
		com_Column3.FormatColumn("1 ropos ':|A-Z'");
		com_Column3.Position(2);
		com_Column3.Width(32);
		com_Column3.AllowSizing(false);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos.4")); com_Column4 = var_Column4;
		com_Column4.FormatColumn("1 ropos '|A-Z|'");
		com_Column4.Position(3);
		com_Column4.Width(32);
		com_Column4.AllowSizing(false);
	var_Column5 = COM::createFromVariant(exgantt1.Columns().Add("Pos.5")); com_Column5 = var_Column5;
		com_Column5.FormatColumn("'<font Tahoma;7>' + 1 ropos '-<b>||A-Z'");
		com_Column5.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column5.Position(4);
		com_Column5.Width(32);
		com_Column5.AllowSizing(false);
	var_Column6 = COM::createFromVariant(exgantt1.Columns().Add("Pos.6")); com_Column6 = var_Column6;
		com_Column6.FormatColumn("'<b>'+ 1 ropos '</b>:<fgcolor=FF0000>|A-Z|'");
		com_Column6.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column6.Position(5);
		com_Column6.Width(48);
		com_Column6.AllowSizing(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.ApplyFilter();
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
803:
Is it possible to auto-numbering the children items too

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

	super();

	exgantt1.BeginUpdate();
	/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(true,0);
	exgantt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgantt1.Columns().Add("Items");
	var_Column = COM::createFromVariant(exgantt1.Columns().Add("Pos.1")); com_Column = var_Column;
		com_Column.FormatColumn("1 rpos ''");
		com_Column.Position(0);
		com_Column.Width(32);
		com_Column.AllowSizing(false);
	var_Column1 = COM::createFromVariant(exgantt1.Columns().Add("Pos.2")); com_Column1 = var_Column1;
		com_Column1.FormatColumn("1 rpos ':'");
		com_Column1.Position(1);
		com_Column1.Width(32);
		com_Column1.AllowSizing(false);
	var_Column2 = COM::createFromVariant(exgantt1.Columns().Add("Pos.3")); com_Column2 = var_Column2;
		com_Column2.FormatColumn("1 rpos ':|A-Z'");
		com_Column2.Position(2);
		com_Column2.Width(32);
		com_Column2.AllowSizing(false);
	var_Column3 = COM::createFromVariant(exgantt1.Columns().Add("Pos.4")); com_Column3 = var_Column3;
		com_Column3.FormatColumn("1 rpos '|A-Z|'");
		com_Column3.Position(3);
		com_Column3.Width(32);
		com_Column3.AllowSizing(false);
	var_Column4 = COM::createFromVariant(exgantt1.Columns().Add("Pos.5")); com_Column4 = var_Column4;
		com_Column4.FormatColumn("'<font Tahoma;7>' + 1 rpos '-<b>||A-Z'");
		com_Column4.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column4.Position(4);
		com_Column4.Width(32);
		com_Column4.AllowSizing(false);
	var_Column5 = COM::createFromVariant(exgantt1.Columns().Add("Pos.6")); com_Column5 = var_Column5;
		com_Column5.FormatColumn("'<b>'+ 1 rpos '</b>:<fgcolor=FF0000>|A-Z|'");
		com_Column5.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column5.Position(5);
		com_Column5.Width(48);
		com_Column5.AllowSizing(false);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	exgantt1.EndUpdate();
}

/*
public void activate(boolean _active)
{
	;

	super(_active);

	exgantt1.Chart().PaneWidth(true,0);
}
*/
802:
Is there any way to add auto-numbering

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

	super();

	var_Columns = exgantt1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Items");
		var_Column = COM::createFromVariant(com_Columns.Add("Pos")); com_Column = var_Column;
			com_Column.FormatColumn("1 pos ''");
			com_Column.Position(0);
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
}
801:
How can I format my column to display the percent values “5,00%”

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

	super();

	COM::createFromVariant(exgantt1.Columns().Add("Percent")).FormatColumn("((dbl(value) * 100) format '2|,|3.')+'%'");
	var_Items = exgantt1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromReal(0.5));
		com_Items.AddItem(COMVariant::createFromReal(0.4));
		com_Items.AddItem(COMVariant::createFromReal(0.75));
}