486:
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Date') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDate;
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exSortItemsDesc);
	end;
	with (Columns.Add('DateTime') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDateTime;
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exSortItemsDesc);
	end;
	with (Columns.Add('Time') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortTime;
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exSortItemsDesc);
		FormatColumn := 'time(value)';
	end;
	with (Columns.Add('Numeric') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortNumeric;
		DisplayFilterButton := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exSortItemsDesc);
	end;
	with (Columns.Add('String') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exSortItemsDesc);
	end;
	with Items do
	begin
		h := Add('1/27/2010');
		Caption[h,TObject(1)] := '1/27/2010 10:00:00 AM';
		Caption[h,TObject(2)] := Caption[h,TObject(1)];
		Caption[h,TObject(3)] := TObject(1);
		Caption[h,TObject(4)] := Caption[h,TObject(3)];
		h := Add('1/27/2011');
		Caption[h,TObject(1)] := '1/27/2011 9:00:00 AM';
		Caption[h,TObject(2)] := Caption[h,TObject(1)];
		Caption[h,TObject(3)] := TObject(11);
		Caption[h,TObject(4)] := Caption[h,TObject(3)];
		h := Add('11/2/2010');
		Caption[h,TObject(1)] := '11/2/2010 9:00:00 AM';
		Caption[h,TObject(2)] := Caption[h,TObject(1)];
		Caption[h,TObject(3)] := TObject(2);
		Caption[h,TObject(4)] := Caption[h,TObject(3)];
	end;
	Columns.Item['DateTime'].DisplayFilterDate := False;
	EndUpdate();
end
485:
How can I get ride / hide the image being dragged by OLE Drag and Drop
// OLEStartDrag event - Occurs when the OLEDrag method is called.
procedure TWinForm1.AxList1_OLEStartDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_OLEStartDragEvent);
begin
	// Data.SetData("data to drag")
	with AxList1 do
	begin
		e.allowedEffects := 1;
	end
end;

with AxList1 do
begin
	OLEDropMode := EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
	set_Background(EXLISTLib.BackgroundPartEnum.exDragDropAfter,$ffffff);
	Columns.Add('Default');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
	end;
end
484:
Is there an event that fires on the exList control when the order of items in the list is changed via dragging
// AllowAutoDrag event - Occurs when the user drags the item between InsertA and InsertB.
procedure TWinForm1.AxList1_AllowAutoDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_AllowAutoDragEvent);
begin
	with AxList1 do
	begin
		with Items do
		begin
			OutputDebugString( 'After' );
			OutputDebugString( Caption[e.insertA,TObject(0)] );
			OutputDebugString( 'Before' );
			OutputDebugString( Caption[e.insertB,TObject(0)] );
		end;
		e.cancel := True;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	AutoDrag := EXLISTLib.AutoDragEnum.exAutoDragPosition;
	Columns.Add('Task');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
		Add('Item 4');
	end;
	EndUpdate();
end
483:
How can I export checked items only

with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		(Add('C1') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		(Add('C2') as EXLISTLib.Column).FormatColumn := '1 index `A-Z`';
		(Add('C3') as EXLISTLib.Column).FormatColumn := '100 index ``';
	end;
	with Items do
	begin
		Add('Item 1');
		CellState[Add('Item 2'),TObject(0)] := 1;
		CellState[Add('Item 3'),TObject(0)] := 1;
	end;
	EndUpdate();
	OutputDebugString( 'Export CSV Checked Items Only:' );
	OutputDebugString( Export('','chk') );
end
482:
How can I export a hidden column

with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		Add('C1');
		with (Add('C2') as EXLISTLib.Column) do
		begin
			FormatColumn := '1 index `A-Z`';
			Visible := False;
		end;
		with (Add('C3') as EXLISTLib.Column) do
		begin
			FormatColumn := '100 index ``';
			Visible := False;
		end;
	end;
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
	end;
	EndUpdate();
	OutputDebugString( 'Export CSV Hidden Columns (1,2):' );
	OutputDebugString( Export('','|1,2') );
end
481:
Is it possible to have a different alignment for parts of the cell's caption

with AxList1 do
begin
	BeginUpdate();
	DrawGridLines := EXLISTLib.GridLinesEnum.exAllLines;
	with (Columns.Add('Default') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	end;
	with Items do
	begin
		CellHAlignment[Add('all-left'),TObject(0)] := EXLISTLib.AlignmentEnum.LeftAlignment;
		CellHAlignment[Add('all-center'),TObject(0)] := EXLISTLib.AlignmentEnum.CenterAlignment;
		CellHAlignment[Add('all-right'),TObject(0)] := EXLISTLib.AlignmentEnum.RightAlignment;
		h := Add('left<c>center<r>right');
		CaptionFormat[h,TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
	EndUpdate();
end
480:
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
with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		with (Add('MultipleLine') as EXLISTLib.Column) do
		begin
			Width := 32;
			Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(False);
			Def[EXLISTLib.DefColumnEnum.exColumnResizeContiguously] := TObject(True);
		end;
		with (Add('SingleLine') as EXLISTLib.Column) do
		begin
			Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(False);
		end;
	end;
	with Items do
	begin
		Caption[Add('This is a bit of long text that should break the line'),TObject(1)] := 'This is a bit of long text that should break the line';
	end;
	EndUpdate();
end
479:
How can I hide the cell's tooltip
// ToolTip event - Fired when the control prepares the object's tooltip.
procedure TWinForm1.AxList1_ToolTip(sender: System.Object; e: AxEXLISTLib._IListEvents_ToolTipEvent);
begin
	with AxList1 do
	begin
		OutputDebugString( 'The tooltip is about to be shown' );
		e.visible := False;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	Columns.Add('Def');
	with Items do
	begin
		CellToolTip[Add('Item 1'),TObject(0)] := 'This is a bit of text that''s shown when cursor hovers the item.';
		CellToolTip[Add('Item 2'),TObject(0)] := 'This is a bit of text that''s shown when cursor hovers the item.';
		CellToolTip[Add('Item 3'),TObject(0)] := 'This is a bit of text that''s shown when cursor hovers the item.';
	end;
	EndUpdate();
end
478:
How can I find out if an item is selected or unselected
// MouseMove event - Occurs when the user moves the mouse.
procedure TWinForm1.AxList1_MouseMoveEvent(sender: System.Object; e: AxEXLISTLib._IListEvents_MouseMoveEvent);
begin
	with AxList1 do
	begin
		i := get_ItemFromPoint(-1,-1,c,hit);
		with Items do
		begin
			OutputDebugString( SelectItem[i] );
		end;
	end
end;

with AxList1 do
begin
	Columns.Add('Header');
	with Items do
	begin
		Add('Item 1');
		SelectItem[Add('Item 2')] := True;
		Add('Item 3');
	end;
end
477:
How do I sort the index column as numeric

// AddItem event - Occurs after a new Item is inserted to Items collection.
procedure TWinForm1.AxList1_AddItem(sender: System.Object; e: AxEXLISTLib._IListEvents_AddItemEvent);
begin
	with AxList1 do
	begin
		with Items do
		begin
			CellData[e.item,TObject(1)] := TObject(e.item);
		end;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	DrawGridLines := EXLISTLib.GridLinesEnum.exAllLines;
	ColumnAutoResize := True;
	ShowFocusRect := False;
	with (Columns.Add('Next') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exCellPaddingLeft] := TObject(4);
		Def[EXLISTLib.DefColumnEnum.exHeaderPaddingLeft] := TObject(4);
	end;
	with (Columns.Add('Index') as EXLISTLib.Column) do
	begin
		AllowSizing := False;
		Width := 48;
		FormatColumn := '(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)';
		Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
		SortType := EXLISTLib.SortTypeEnum.SortUserData;
		Position := 0;
	end;
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
		Add('Item 4');
		Add('Item 5');
		Add('Item 6');
		Add('Item 7');
		Add('Item 8');
		Add('Item 9');
		Add('Item 10');
	end;
	EndUpdate();
end
476:
How can I put icons/images into buttons

with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := True;
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('C+B') as EXLISTLib.Column) do
	begin
		AllowSizing := False;
		Width := 48;
		FormatColumn := '` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `';
		Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
		Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		Def[EXLISTLib.DefColumnEnum.exCellHasButton] := TObject(True);
		Def[Integer(EXLISTLib.DefColumnEnum.exCellHasButton) Or Integer(EXLISTLib.DefColumnEnum.exCellHasRadioButton)] := TObject(True);
	end;
	Columns.Add('');
	DrawGridLines := EXLISTLib.GridLinesEnum.exVLines;
	DefaultItemHeight := 20;
	with Items do
	begin
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
	end;
	EndUpdate();
end
475:
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

// CellButtonClick event - Fired after the user clicks the cell's button.
procedure TWinForm1.AxList1_CellButtonClick(sender: System.Object; e: AxEXLISTLib._IListEvents_CellButtonClickEvent);
begin
	with AxList1 do
	begin
			OutputDebugString( 'CellButtonClick' );
		OutputDebugString( e.item );
	end
end;

// CellStateChanged event - Fired after cell's state is changed.
procedure TWinForm1.AxList1_CellStateChanged(sender: System.Object; e: AxEXLISTLib._IListEvents_CellStateChangedEvent);
begin
	with AxList1 do
	begin
			OutputDebugString( 'CellStateChanged' );
		OutputDebugString( e.item );
	end
end;

with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := True;
	with (Columns.Add('') as EXLISTLib.Column) do
	begin
		AllowSizing := False;
		Width := 32;
		FormatColumn := '1 index ``';
	end;
	with (Columns.Add('Def') as EXLISTLib.Column) do
	begin
		AllowSizing := False;
		Width := 48;
		FormatColumn := '`     `';
		Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		Def[EXLISTLib.DefColumnEnum.exCellHasButton] := TObject(True);
		Def[Integer(EXLISTLib.DefColumnEnum.exCellHasButton) Or Integer(EXLISTLib.DefColumnEnum.exCellHasRadioButton)] := TObject(True);
	end;
	Columns.Add('');
	with Items do
	begin
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
		Add('');
	end;
	EndUpdate();
end
474:
Does filtering work with umlauts / accents characters
with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Names') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exPattern;
	end;
	with Items do
	begin
		Add('Mantel');
		Add('Mechanik');
		Add('Motor');
		Add('Murks');
		Add('Märchen');
		Add('Möhren');
		Add('Mühle');
		Add('Sérigraphie');
	end;
	Columns.Item[TObject(0)].Filter := '*ä*';
	ApplyFilter();
	EndUpdate();
end
473:
Can I set the search box / filterbarprompt to invisible, so I can use my own input and *string* via VBA
with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := True;
	ContinueColumnScroll := False;
	MarkSearchColumn := False;
	SearchColumnIndex := 1;
	FilterBarHeight := 0;
	FilterBarPromptVisible := True;
	with Columns do
	begin
		(Add('Name') as EXLISTLib.Column).Width := 96;
		(Add('Title') as EXLISTLib.Column).Width := 96;
		Add('City');
	end;
	with Items do
	begin
		h0 := Add('Nancy Davolio');
		Caption[h0,TObject(1)] := 'Sales Representative';
		Caption[h0,TObject(2)] := 'Seattle';
		h0 := Add('Andrew Fuller');
		Caption[h0,TObject(1)] := 'Vice President, Sales';
		Caption[h0,TObject(2)] := 'Tacoma';
		SelectItem[h0] := True;
		h0 := Add('Janet Leverling');
		Caption[h0,TObject(1)] := 'Sales Representative';
		Caption[h0,TObject(2)] := 'Kirkland';
		h0 := Add('Margaret Peacock');
		Caption[h0,TObject(1)] := 'Sales Representative';
		Caption[h0,TObject(2)] := 'Redmond';
		h0 := Add('Steven Buchanan');
		Caption[h0,TObject(1)] := 'Sales Manager';
		Caption[h0,TObject(2)] := 'London';
		h0 := Add('Michael Suyama');
		Caption[h0,TObject(1)] := 'Sales Representative';
		Caption[h0,TObject(2)] := 'London';
		h0 := Add('Robert King');
		Caption[h0,TObject(1)] := 'Sales Representative';
		Caption[h0,TObject(2)] := 'London';
		h0 := Add('Laura Callahan');
		Caption[h0,TObject(1)] := 'Inside Sales Coordinator';
		Caption[h0,TObject(2)] := 'Seattle';
		h0 := Add('Anne Dodsworth');
		Caption[h0,TObject(1)] := 'Sales Representative';
		Caption[h0,TObject(2)] := 'London';
	end;
	FilterBarPromptPattern := 'London';
	EndUpdate();
end
472:
How can I align captions of items with checkbox, with items with no checkbox

with AxList1 do
begin
	BeginUpdate();
	Columns.Add('Default');
	with Items do
	begin
		CellImages[Add(TObject(0)),TObject(0)] := '1';
		CellHasCheckBox[Add(TObject(1)),TObject(0)] := True;
		CellImages[Add(TObject(2)),TObject(0)] := '1';
	end;
	EndUpdate();
end
471:
How do I programmatically scroll the control (method 2)
with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := False;
	ContinueColumnScroll := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\SAMPLE.MDB',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	Layout := 'vscroll = 10';
	EndUpdate();
end
470:
How do I programmatically scroll the control (method 1)
with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := False;
	ContinueColumnScroll := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\SAMPLE.MDB',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	set_ScrollPos(True,10);
	EndUpdate();
end
469:
How can I decode the Layout property
with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		Add('C1');
		(Add('C2') as EXLISTLib.Column).Position := 1;
	end;
	with Items do
	begin
		Caption[Add('SubItem 1.1'),TObject(1)] := 'SubItem 1.2';
		Caption[Add('SubItem 2.1'),TObject(1)] := 'SubItem 2.2';
	end;
	Columns.Item['C2'].SortOrder := EXLISTLib.SortOrderEnum.SortDescending;
	EndUpdate();
	OutputDebugString( 'Encoded:' );
	OutputDebugString( Layout );
	with (ComObj.CreateComObject(ComObj.ProgIDToClassID('Exontrol.Print')) as EXPRINTLib.Print) do
	begin
		OutputDebugString( 'Decoded: ' );
		OutputDebugString( Decode64TextW[AxList1.Layout] );
	end;
end
468:
Does the title of the cell's tooltip supports HTML format

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('') as EXLISTLib.Column) do
	begin
		Caption := '';
		HTMLCaption := 'Column';
	end;
	with Items do
	begin
		h := Add('tooltip w/h different title');
		CellToolTip[h,TObject(0)] := '<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' + 
	'e centered with a different color.';
	end;
	EndUpdate();
end
467:
How do I specify a different title for the cell's tooltip

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('') as EXLISTLib.Column) do
	begin
		Caption := 'This is the title';
		HTMLCaption := 'Column';
	end;
	with Items do
	begin
		h := Add('tooltip w/h different title');
		CellToolTip[h,TObject(0)] := 'This is bit of text that''s shown when the user hovers the cell.';
	end;
	EndUpdate();
end
466:
The cell's tooltip displays the column's caption in its title. How can I get ride of that

with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		Add('C1');
		Add('C2');
	end;
	with Items do
	begin
		h := Add('tooltip w/h caption');
		CellToolTip[h,TObject(0)] := 'This is bit of text that''s shown when the user hovers the cell. This shows the column''s caption in the title.';
		Caption[h,TObject(1)] := 'tooltip no caption';
		CellToolTip[h,TObject(1)] := 'This is bit of text that''s shown when the user hovers the cell. This shows no column''s caption in the title.';
	end;
	with Columns.Item['C2'] do
	begin
		HTMLCaption := Caption;
		Caption := '';
	end;
	EndUpdate();
end
465:
When you click the cell it takes some time before the edit box appears, can this delay be removed

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
procedure TWinForm1.AxList1_ClickEvent(sender: System.Object; e: System.EventArgs);
begin
	with AxList1 do
	begin
		h := get_ItemFromPoint(-1,-1,ColIndex,HitTestInfo);
		Items.Edit(h,TObject(ColIndex));
	end
end;

with AxList1 do
begin
	AllowEdit := True;
	Columns.Add('Default');
	with Items do
	begin
		Add('');
		Add('Edit');
		Add('');
	end;
end
464:
How can I programmatically show the column's filter

// RClick event - Fired when right mouse button is clicked
procedure TWinForm1.AxList1_RClick(sender: System.Object; e: System.EventArgs);
begin
	with AxList1 do
	begin
		i := get_ItemFromPoint(-1,-1,c,hit);
		Columns.Item[TObject(c)].ShowFilter('-1,-1,128,128');
	end
end;

with AxList1 do
begin
	BeginUpdate();
	ShowFocusRect := False;
	with (Columns.Add('Items ') as EXLISTLib.Column) do
	begin
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowExclude) Or Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox);
	end;
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
	end;
	EndUpdate();
end
463:
I want to be able to click on one of the headers, and sort by other column. How can I do that

// ColumnClick event - Fired after the user clicks on column's header.
procedure TWinForm1.AxList1_ColumnClick(sender: System.Object; e: AxEXLISTLib._IListEvents_ColumnClickEvent);
begin
	// Column.SortOrder = 1
	with AxList1 do
	begin
		SortOnClick := EXLISTLib.SortOnClickEnum.exDefaultSort;
		Columns.Item['Sort'].SortOrder := EXLISTLib.SortOrderEnum.SortAscending;
		SortOnClick := EXLISTLib.SortOnClickEnum.exUserSort;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	SortOnClick := EXLISTLib.SortOnClickEnum.exUserSort;
	Columns.Add('Items');
	(Columns.Add('Sort') as EXLISTLib.Column).Visible := False;
	with Items do
	begin
		Caption[Add('Item 1 (3)'),TObject(1)] := TObject(3);
		Caption[Add('Item 2 (1)'),TObject(1)] := TObject(1);
		Caption[Add('Item 3 (2)'),TObject(1)] := TObject(2);
	end;
	EndUpdate();
end
462:
How can I sort by two-columns, one by date and one by time

with AxList1 do
begin
	BeginUpdate();
	SingleSort := False;
	with Columns do
	begin
		(Add('Index') as EXLISTLib.Column).FormatColumn := '1 index ``';
		(Add('Date') as EXLISTLib.Column).SortType := EXLISTLib.SortTypeEnum.SortDate;
		with (Add('Time') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortTime;
			FormatColumn := 'time(value)';
		end;
	end;
	with Items do
	begin
		h := Add(TObject(0));
		Caption[h,TObject(1)] := '1/1/2001';
		Caption[h,TObject(2)] := '1/1/2001 10:00:00 AM';
		h := Add(TObject(0));
		Caption[h,TObject(1)] := '12/31/2000';
		Caption[h,TObject(2)] := '1/1/2001 10:00:00 AM';
		h := Add(TObject(0));
		Caption[h,TObject(1)] := '1/1/2001';
		Caption[h,TObject(2)] := '1/1/2001 6:00:00 AM';
		h := Add(TObject(0));
		Caption[h,TObject(1)] := '12/31/2000';
		Caption[h,TObject(2)] := '1/1/2001 8:00:00 AM';
		h := Add(TObject(0));
		Caption[h,TObject(1)] := '1/1/2001';
		Caption[h,TObject(2)] := '1/1/2001 8:00:00 AM';
		h := Add(TObject(0));
		Caption[h,TObject(1)] := '12/31/2000';
		Caption[h,TObject(2)] := '1/1/2001 6:00:00 AM';
	end;
	Layout := 'multiplesort="C1:1 C2:1"';
	EndUpdate();
end
461:
How can I connect to a DBF file
with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := False;
	ContinueColumnScroll := False;
	MarkSearchColumn := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADODB.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Select * From foxcode.DBF','Provider=vfpoledb;Data Source=C:\Program Files\Microsoft Visual FoxPro 9\',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	EndUpdate();
end
460:
Does your control supports scrolling by touching the screen

with AxList1 do
begin
	ColumnAutoResize := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExTree\Sample\VB\SAMPLE.MDB',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	ContinueColumnScroll := True;
	ScrollBySingleLine := True;
	AutoDrag := Integer(EXLISTLib.AutoDragEnum.exAutoDragScrollOnShortTouch) Or Integer(EXLISTLib.AutoDragEnum.exAutoDragScroll);
end
459:
How can I enlarge the size of the control's scroll bars, for using on touch screens

with AxList1 do
begin
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableBoth;
	ScrollWidth := 32;
	ScrollHeight := 32;
	ScrollButtonHeight := 32;
	ScrollButtonWidth := 32;
end
458:
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

// CellStateChanged event - Fired after cell's state is changed.
procedure TWinForm1.AxList1_CellStateChanged(sender: System.Object; e: AxEXLISTLib._IListEvents_CellStateChangedEvent);
begin
	with AxList1 do
	begin
		with Items do
		begin
			Caption[e.item,TObject(2)] := TObject(CellState[e.item,TObject(0)]);
		end;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	ShowFocusRect := False;
	MarkSearchColumn := False;
	SelBackMode := EXLISTLib.BackModeEnum.exTransparent;
	var_ConditionalFormat := ConditionalFormats.Add('%2 != 0',Nil);
	with var_ConditionalFormat do
	begin
		Bold := True;
		ForeColor := $ff;
		ApplyTo := EXLISTLib.FormatApplyToEnum.exFormatToItems;
	end;
	with (Columns.Add('') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		Width := 16;
		AllowSizing := False;
	end;
	Columns.Add('Information');
	(Columns.Add('Hidden') as EXLISTLib.Column).Visible := False;
	with Items do
	begin
		Caption[Add(''),TObject(1)] := 'This is a bit of text associated';
		h := Add('');
		Caption[h,TObject(1)] := 'This is a bit of text associated';
		CellState[h,TObject(0)] := 1;
		Caption[Add(''),TObject(1)] := 'This is a bit of text associated';
	end;
	EndUpdate();
end
457:
How can I display the caption bellow to picture

with AxList1 do
begin
	BeginUpdate();
	ScrollBySingleLine := True;
	set_HTMLPicture('p1','c:\exontrol\images\zipdisk.gif');
	set_HTMLPicture('p2','c:\exontrol\images\auction.gif');
	Columns.Add('Default');
	with Items do
	begin
		h := Add('<c><img>p1</img><br><c>your caption1');
		CellSingleLine[h,TObject(0)] := False;
		CaptionFormat[h,TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
		h := Add('<c><img>p2</img><br><c>your caption2');
		CellSingleLine[h,TObject(0)] := False;
		CaptionFormat[h,TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
	EndUpdate();
end
456:
How can I add a vertical padding

with AxList1 do
begin
	BeginUpdate();
	DrawGridLines := EXLISTLib.GridLinesEnum.exAllLines;
	with (Columns.Add('Padding') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(False);
		Def[EXLISTLib.DefColumnEnum.exCellPaddingLeft] := TObject(6);
		Def[EXLISTLib.DefColumnEnum.exCellPaddingRight] := TObject(6);
		Def[EXLISTLib.DefColumnEnum.exCellPaddingTop] := TObject(6);
		Def[EXLISTLib.DefColumnEnum.exCellPaddingBottom] := TObject(6);
	end;
	with Items do
	begin
		Add('padding');
		Add('padding');
	end;
	EndUpdate();
end
455:
How do you embed HTML options into the anchor click string

// AnchorClick event - Occurs when an anchor element is clicked.
procedure TWinForm1.AxList1_AnchorClick(sender: System.Object; e: AxEXLISTLib._IListEvents_AnchorClickEvent);
begin
	with AxList1 do
	begin
		OutputDebugString( e.anchorID );
		OutputDebugString( e.options );
	end
end;

with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		(Add('Car') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	end;
	with Items do
	begin
		Add('<a mazda_1;options for 1>Mazda <b>1</b></a>');
		Add('<a mazda_2;options for 2>Mazda <b>2</b></a>');
		Add('<a mazda_3;options for 3a>Mazda <b>3.a</b></a>');
		Add('<a mazda_3;options for 3b>Mazda <b>3.b</b></a>');
	end;
	EndUpdate();
end
454:
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)

with AxList1 do
begin
	BeginUpdate();
	VisualAppearance.Add(1,'gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78eg' + 
	'BHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRxL' + 
	'C8Mw3BDvYDkOAABAIgI=');
	(GetOcx() as EXLISTLib.List).SelBackColor := $1fffffe;
	ShowFocusRect := False;
	Columns.Add('Items');
	with Items do
	begin
		ItemBackColor[Add('red')] := $ff;
		ItemBackColor[Add('blue')] := $ff0000;
		ItemBackColor[Add('green')] := $ff00;
	end;
	EndUpdate();
end
453:
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)

with AxList1 do
begin
	BeginUpdate();
	SelBackMode := EXLISTLib.BackModeEnum.exTransparent;
	ShowFocusRect := False;
	Columns.Add('Items');
	with Items do
	begin
		ItemBackColor[Add('red')] := $ff;
		ItemBackColor[Add('blue')] := $ff0000;
		ItemBackColor[Add('green')] := $ff00;
	end;
	EndUpdate();
end
452:
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)

with AxList1 do
begin
	BeginUpdate();
	SelBackColor := BackColor;
	SelForeColor := ForeColor;
	ShowFocusRect := True;
	Columns.Add('Items');
	with Items do
	begin
		ItemBackColor[Add('red')] := $ff;
		ItemBackColor[Add('blue')] := $ff0000;
		ItemBackColor[Add('green')] := $ff00;
	end;
	EndUpdate();
end
451:
I am using the FormatColumn property, but is it also possible to have a blank field when the value is '0'. I've tried the 'leading zero' flag in the FormatColumn, but that did not work

with AxList1 do
begin
	(Columns.Add('Currency') as EXLISTLib.Column).FormatColumn := 'int(value) != 0 ? (value format `0||3|,`) : ``';
	Items.Add(TObject(123456789));
	Items.Add(TObject(1234));
	Items.Add(TObject(0));
	Items.Add(TObject(2345));
end
450:
Do you have a VB sample on how to use .FormatColumn to show this number '123456789' like '123,456,789'

with AxList1 do
begin
	(Columns.Add('Currency') as EXLISTLib.Column).FormatColumn := 'value format `0||3|,`';
	Items.Add(TObject(123456789));
	Items.Add(TObject(1234));
end
449:
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event - Occurs when the OLEDrag method is called.
procedure TWinForm1.AxList1_OLEStartDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_OLEStartDragEvent);
begin
	// Data.SetData(Items.FocusItem)
end;

with AxList1 do
begin
	Columns.Add('Default');
	Items.Add('Item 1');
	Items.Add('Item 2');
	OLEDropMode := EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
	set_HTMLPicture('OLEDragDropImage','C:\Program Files\Exontrol\ExList\Sample\VB\UNICODE\unicode.jpg');
end
448:
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event - Occurs when the OLEDrag method is called.
procedure TWinForm1.AxList1_OLEStartDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_OLEStartDragEvent);
begin
	// Data.SetData(Items.FocusItem)
end;

with AxList1 do
begin
	Columns.Add('Default');
	Items.Add('Item 1');
	Items.Add('Item 2');
	OLEDropMode := EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
	VisualAppearance.Add(1,'C:\Program Files\Exontrol\ExG2antt\Sample\EBN\xpbselIcon.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exDragDropAfter,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exDragDropBefore,$ffffff);
end
447:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
with AxList1 do
begin
	BeginUpdate();
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_HTMLPicture('p1','c:\exontrol\images\card.png');
	set_HTMLPicture('p2','c:\exontrol\images\sun.png');
	AutoDrag := EXLISTLib.AutoDragEnum.exAutoDragCopySnapShot;
	ShowFocusRect := False;
	DefaultItemHeight := 26;
	Columns.Add('Task');
	with Items do
	begin
		CaptionFormat[Add('<img>p1:32</img> Group 1'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
		CaptionFormat[Add('<img>p2:32</img> Group 2'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
	EndUpdate();
end
446:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

with AxList1 do
begin
	BeginUpdate();
	set_HTMLPicture('p1','c:\exontrol\images\card.png');
	set_HTMLPicture('p2','c:\exontrol\images\sun.png');
	HeaderHeight := 24;
	DefaultItemHeight := 48;
	DrawGridLines := EXLISTLib.GridLinesEnum($fffffffc Or Integer(EXLISTLib.GridLinesEnum.exVLines));
	GridLineColor := Color.FromArgb(240,240,240);
	SelBackMode := EXLISTLib.BackModeEnum.exTransparent;
	ColumnAutoResize := False;
	ContinueColumnScroll := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\SAMPLE.MDB',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	Columns.Item[TObject(0)].Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	Columns.Item[TObject(0)].FormatColumn := 'value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`';
	Columns.Item[TObject(0)].Width := 112;
	AutoDrag := EXLISTLib.AutoDragEnum.exAutoDragCopyImage;
	SingleSel := False;
	with Items do
	begin
		SelectItem[1] := True;
		SelectItem[2] := True;
		SelectItem[3] := True;
	end;
	EndUpdate();
end
445:
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := False;
	ContinueColumnScroll := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\SAMPLE.MDB',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	AutoDrag := EXLISTLib.AutoDragEnum.exAutoDragCopyText;
	SingleSel := False;
	with Items do
	begin
		SelectItem[1] := True;
		SelectItem[3] := True;
		SelectItem[4] := True;
		SelectItem[5] := True;
	end;
	EndUpdate();
end
444:
How can I change the row's position to another, by drag and drop. Is it possible

with AxList1 do
begin
	BeginUpdate();
	AutoDrag := EXLISTLib.AutoDragEnum.exAutoDragPosition;
	Columns.Add('Task');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
		Add('Item 4');
	end;
	EndUpdate();
end
443:
Does your control support subscript or superscript, in HTML captions

with AxList1 do
begin
	(Columns.Add('Column') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	Items.Add('<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1');
end
442:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (2)

with AxList1 do
begin
	BeginUpdate();
	Columns.Add('Column');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
	end;
	Layout := 'Select="0";SingleSort="C0:2";Columns=1';
	EndUpdate();
end
441:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (1)

with AxList1 do
begin
	BeginUpdate();
	Columns.Add('Column');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
	end;
	Layout := 'gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAGQ' + 
	'Aqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0j' + 
	'E3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI=';
	EndUpdate();
end
440:
Is there any public method to export the selected data

with AxList1 do
begin
	BeginUpdate();
	with Columns do
	begin
		Add('C1');
		(Add('C2') as EXLISTLib.Column).FormatColumn := '1 index `A-Z`';
		(Add('C3') as EXLISTLib.Column).FormatColumn := '100 index ``';
	end;
	with Items do
	begin
		Add('Item 1');
		SelectItem[Add('Item 2')] := True;
		Add('Item 3');
	end;
	EndUpdate();
	OutputDebugString( 'Export CSV Selected Items Only:' );
	OutputDebugString( Export('','sel') );
end
439:
How can I change the visual aspect of the links in the sort bar

with AxList1 do
begin
	BeginUpdate();
	ColumnAutoResize := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExGrid\Sample\SAMPLE.MDB',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
	SortBarHeight := 24;
	HeaderHeight := 24;
	BackColorSortBar := Color.FromArgb(240,240,240);
	BackColorSortBarCaption := BackColor;
	VisualAppearance.Add(1,'gBFLBCJwBAEHhEJAEGg4BdsIQAAYAQGKIYBkAKBQAGaAoDDgNw0QwAAxjMK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpAA' + 
	'WL4tCyMc7QHKAWhrEAbJjgQYJUh+TQAAZCIJRXRQAL/K6rKwnSCQIgkUBpGKdBynEYoYxAfyESCJWyIahWAwoQjUMB1HLQAAxC5kKbkIxyBABFBdVjVeBYG78Bz+ABjE' + 
	'ovbAMEwPBqAMwmIAZDheA4FR4AGhTXKcbxrFaXZSzKckPRoADSZq1Sg5LjDJI2ABqU6ABqNLZtJKsZS4apABrWeZ3Q7QMLdFTwA4PH6EZhxXAYbTVeaPZjQIBAgI');
	SortBarVisible := True;
	SortBarCaption := 'Drag a <b>column</b> header here to group by that column.';
	with Columns.Item[TObject(1)] do
	begin
		Alignment := EXLISTLib.AlignmentEnum.CenterAlignment;
		Def[EXLISTLib.DefColumnEnum.exCellBackColor] := TObject(15790320);
		SortOrder := True;
	end;
	with Columns.Item[TObject(5)] do
	begin
		Alignment := EXLISTLib.AlignmentEnum.CenterAlignment;
		Def[EXLISTLib.DefColumnEnum.exCellBackColor] := TObject(16119285);
		SortOrder := True;
	end;
	set_Background(EXLISTLib.BackgroundPartEnum.exSortBarLinkColor,$1000000);
	EndUpdate();
end
438:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

with AxList1 do
begin
	BeginUpdate();
	MarkSearchColumn := False;
	with Columns do
	begin
		with (Add('Car') as EXLISTLib.Column) do
		begin
			DisplayFilterButton := True;
			FilterType := EXLISTLib.FilterTypeEnum.exFilter;
			Filter := 'MAZDA';
		end;
		with (Add('Equipment') as EXLISTLib.Column) do
		begin
			DisplayFilterButton := True;
			DisplayFilterPattern := False;
			CustomFilter := 'Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*';
			FilterType := EXLISTLib.FilterTypeEnum.exPattern;
			Filter := 'AIR BAG';
		end;
	end;
	with Items do
	begin
		Caption[Add('Mazda'),TObject(1)] := 'Air Bag';
		Caption[Add('Toyota'),TObject(1)] := 'Air Bag,Air condition';
		Caption[Add('Ford'),TObject(1)] := 'Air condition';
		Caption[Add('Nissan'),TObject(1)] := 'Air Bag,ABS,ESP';
		Caption[Add('Mazda'),TObject(1)] := 'Air Bag, ABS,ESP';
		Caption[Add('Mazda'),TObject(1)] := 'ABS,ESP';
	end;
	ApplyFilter();
	EndUpdate();
end
437:
How can I have a case-sensitive filter

with AxList1 do
begin
	BeginUpdate();
	MarkSearchColumn := False;
	with Columns do
	begin
		with (Add('Car') as EXLISTLib.Column) do
		begin
			DisplayFilterButton := True;
			FilterType := Integer(EXLISTLib.FilterTypeEnum.exFilterDoCaseSensitive) Or Integer(EXLISTLib.FilterTypeEnum.exFilter);
			Filter := 'Mazda';
		end;
		with (Add('Equipment') as EXLISTLib.Column) do
		begin
			DisplayFilterButton := True;
			DisplayFilterPattern := False;
			CustomFilter := 'Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*';
			FilterType := Integer(EXLISTLib.FilterTypeEnum.exFilterDoCaseSensitive) Or Integer(EXLISTLib.FilterTypeEnum.exPattern);
			Filter := 'Air Bag';
		end;
	end;
	with Items do
	begin
		Caption[Add('Mazda'),TObject(1)] := 'Air Bag';
		Caption[Add('Toyota'),TObject(1)] := 'Air Bag,Air condition';
		Caption[Add('Ford'),TObject(1)] := 'Air condition';
		Caption[Add('Nissan'),TObject(1)] := 'Air Bag,ABS,ESP';
		Caption[Add('Mazda'),TObject(1)] := 'Air Bag, ABS,ESP';
		Caption[Add('Mazda'),TObject(1)] := 'ABS,ESP';
	end;
	ApplyFilter();
	EndUpdate();
end
436:
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Item') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		Filter := 'Child 1';
		FilterType := EXLISTLib.FilterTypeEnum.exFilter;
	end;
	with (Columns.Add('Date') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowExclude) Or Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exNoItems);
		Filter := '12/28/2010';
		FilterType := EXLISTLib.FilterTypeEnum.exDate;
	end;
	FilterCriteria := '%0 or %1';
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarOr,'<font ;18><fgcolor=FF0000>or</fgcolor></font>');
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarAnd,'<font ;18><fgcolor=FF0000>and</fgcolor></font>');
	with Items do
	begin
		h := Add('Root 1');
		Caption[Add('Child 1'),TObject(1)] := '12/27/2010';
		Caption[Add('Child 2'),TObject(1)] := '12/28/2010';
		h := Add('Root 2');
		Caption[Add('Child 1'),TObject(1)] := '12/29/2010';
		Caption[Add('Child 2'),TObject(1)] := '12/30/2010';
	end;
	ApplyFilter();
	EndUpdate();
end
435:
Is it possible exclude the dates being selected in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Date') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDate;
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowExclude) Or Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exNoItems);
	end;
	with Items do
	begin
		Add('12/27/2010');
		Add('12/28/2010');
		Add('12/29/2010');
		Add('12/30/2010');
		Add('12/31/2010');
	end;
	EndUpdate();
end
434:
How can I display a calendar control inside the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Date') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDate;
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox) Or Integer(EXLISTLib.FilterListEnum.exNoItems);
	end;
	with Items do
	begin
		Add('12/27/2010');
		Add('12/28/2010');
		Add('12/29/2010');
		Add('12/30/2010');
		Add('12/31/2010');
	end;
	EndUpdate();
end
433:
Is it possible to include the dates as checkb-boxes in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Dates') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDate;
		DisplayFilterButton := True;
		DisplayFilterPattern := True;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox);
		Filter := 'to 12/27/2010';
		FilterType := EXLISTLib.FilterTypeEnum.exDate;
	end;
	with Items do
	begin
		Add('12/27/2010');
		Add('12/28/2010');
		Add('12/29/2010');
		Add('12/30/2010');
		Add('12/31/2010');
	end;
	ApplyFilter();
	EndUpdate();
end
432:
How can I filter items for dates before a specified date

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Dates') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDate;
		DisplayFilterButton := True;
		DisplayFilterPattern := True;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exNoItems);
		Filter := 'to 12/27/2010';
		FilterType := EXLISTLib.FilterTypeEnum.exDate;
	end;
	with Items do
	begin
		Add('12/27/2010');
		Add('12/28/2010');
		Add('12/29/2010');
		Add('12/30/2010');
		Add('12/31/2010');
	end;
	ApplyFilter();
	EndUpdate();
end
431:
Is it possible to filter dates

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Dates') as EXLISTLib.Column) do
	begin
		SortType := EXLISTLib.SortTypeEnum.SortDate;
		DisplayFilterButton := True;
		DisplayFilterPattern := True;
		DisplayFilterDate := True;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exNoItems);
	end;
	with Items do
	begin
		Add('12/27/2010');
		Add('12/28/2010');
		Add('12/29/2010');
		Add('12/30/2010');
		Add('12/31/2010');
	end;
	EndUpdate();
end
430:
Is it possible to change the Exclude field name to something different, in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarExclude,'Leaving out');
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowExclude) Or Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox);
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
	end;
	EndUpdate();
end
429:
How can I display the Exclude field in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowExclude) Or Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox);
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
	end;
	EndUpdate();
end
428:
Is it possible to show and ensure the focused item from the control, in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowFocusItem) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox);
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		SelectItem[Add('Child 2')] := True;
	end;
	EndUpdate();
end
427:
Is it possible to show only blanks items with no listed items from the control

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowBlanks) Or Integer(EXLISTLib.FilterListEnum.exNoItems);
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		Add('Child 2');
	end;
	EndUpdate();
end
426:
How can I include the blanks items in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := Integer(EXLISTLib.FilterListEnum.exShowBlanks) Or Integer(EXLISTLib.FilterListEnum.exShowCheckBox);
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		Add('Child 2');
	end;
	EndUpdate();
end
425:
How can I select multiple items in the drop down filter window, using check-boxes

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := EXLISTLib.FilterListEnum.exShowCheckBox;
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		Add('Child 2');
	end;
	EndUpdate();
end
424:
Is it possible to allow a single item being selected in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := EXLISTLib.FilterListEnum.exSingleSel;
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		Add('Child 2');
	end;
	EndUpdate();
end
423:
How can I display no (All) item in the drop down filter window

with AxList1 do
begin
	BeginUpdate();
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarAll,'');
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := True;
		FilterList := EXLISTLib.FilterListEnum.exNoItems;
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		Add('Child 2');
	end;
	EndUpdate();
end
422:
Is it possible to display no items in the drop down filter window, so only the pattern is visible

with AxList1 do
begin
	BeginUpdate();
	with (Columns.Add('Items') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := True;
		FilterList := EXLISTLib.FilterListEnum.exNoItems;
	end;
	with Items do
	begin
		h := Add('Root 1');
		Add('Child 1');
		Add('Child 2');
		h := Add('Root 2');
		Add('Child 1');
		Add('Child 2');
	end;
	EndUpdate();
end
421:
How can I sort the value gets listed in the drop down filter window

with AxList1 do
begin
	MarkSearchColumn := False;
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarAll,'');
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarBlanks,'');
	set_Description(EXLISTLib.DescriptionTypeEnum.exFilterBarNonBlanks,'');
	with (Columns.Add('P1') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := EXLISTLib.FilterListEnum.exSortItemsDesc;
	end;
	with (Columns.Add('P2') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		DisplayFilterPattern := False;
		FilterList := EXLISTLib.FilterListEnum.exSortItemsAsc;
	end;
	with Items do
	begin
		h := Add('Z3');
		Caption[h,TObject(1)] := 'C';
		Caption[Add('Z1'),TObject(1)] := 'B';
		Caption[Add('Z2'),TObject(1)] := 'A';
	end;
end
420:
How can I add or change the padding (spaces) for captions in the control's header

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Padding-Left') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exHeaderPaddingLeft] := TObject(18);
	with (Columns.Add('Padding-Right') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exHeaderPaddingRight] := TObject(18);
		HeaderAlignment := EXLISTLib.AlignmentEnum.RightAlignment;
	end;
	EndUpdate();
end
419:
Do you have any plans to add cell spacing and cell padding to the cells

with AxList1 do
begin
	BeginUpdate();
	DrawGridLines := EXLISTLib.GridLinesEnum($fffffffc Or Integer(EXLISTLib.GridLinesEnum.exVLines));
	with (Columns.Add('Padding-Left') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
		Def[EXLISTLib.DefColumnEnum.exCellPaddingLeft] := TObject(18);
	end;
	(Columns.Add('No-Padding') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	(Columns.Add('Empty') as EXLISTLib.Column).Position := 0;
	with Items do
	begin
		Caption[Add('Item A.1'),TObject(1)] := 'Item A.2';
		Caption[Add('Item B.1'),TObject(1)] := 'Item B.2';
		Caption[Add('Item C.1'),TObject(1)] := 'Item C.2';
	end;
	EndUpdate();
end
418:
Is it possible display numbers in the same format no matter of regional settings in the control panel

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(100000.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default positive)''';
		h := Add(TObject(100000.27));
		FormatCell[h,TObject(0)] := '(value format ''2|.|3|,|1|1'')';
		h := Add(TObject(-100000.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default negative)''';
		h := Add(TObject(-100000.27));
		FormatCell[h,TObject(0)] := '(value format ''2|.|3|,|1|1'')';
	end;
	EndUpdate();
end
417:
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(0.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default)''';
		h := Add(TObject(0.27));
		FormatCell[h,TObject(0)] := '(value format ''|||||0'') +  '' <fgcolor=808080>(Display no leading zeros)''';
	end;
	EndUpdate();
end
416:
How can I specify the format for negative numbers

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(-100000.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default)''';
		h := Add(TObject(-100000.27));
		FormatCell[h,TObject(0)] := '(value format ''||||1'') +  '' <fgcolor=808080>(Negative sign, number; for example, -1.1)''';
	end;
	EndUpdate();
end
415:
Is it possible to change the grouping character when display numbers

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(100000.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default)''';
		h := Add(TObject(100000.27));
		FormatCell[h,TObject(0)] := '(value format ''|||-'') +  '' <fgcolor=808080>(grouping character is -)''';
	end;
	EndUpdate();
end
414:
How can I display numbers with 2 digits in each group

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(100000.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default)''';
		h := Add(TObject(100000.27));
		FormatCell[h,TObject(0)] := '(value format ''||2'') +  '' <fgcolor=808080>(grouping by 2 digits)''';
	end;
	EndUpdate();
end
413:
How can I display my numbers using a different decimal separator

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(100.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default)''';
		h := Add(TObject(100.27));
		FormatCell[h,TObject(0)] := '(value format ''|;'') +  '' <fgcolor=808080>(decimal separator is <b>;</b>)''';
	end;
	EndUpdate();
end
412:
Is it possible to display the numbers using 3 (three) digits

with AxList1 do
begin
	BeginUpdate();
	(Columns.Add('Def') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	with Items do
	begin
		h := Add(TObject(100.27));
		FormatCell[h,TObject(0)] := '(value format '''') +  '' <fgcolor=808080>(default)''';
		h := Add(TObject(100.27));
		FormatCell[h,TObject(0)] := '(value format ''3'') +  '' <fgcolor=808080>(3 digits)''';
		h := Add(TObject(100.27));
		FormatCell[h,TObject(0)] := '(value format 2) +  ''  <fgcolor=808080>(2 digits)''';
		h := Add(TObject(100.27));
		FormatCell[h,TObject(0)] := '(value format 1) +  '' <fgcolor=808080>(1 digit)''';
	end;
	EndUpdate();
end
411:
Is it possible to format numbers

with AxList1 do
begin
	BeginUpdate();
	MarkSearchColumn := False;
	SelBackColor := BackColor;
	SelForeColor := ForeColor;
	ShowFocusRect := True;
	with Columns do
	begin
		Add('Name');
		with (Add('A') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortNumeric;
			AllowSizing := False;
			Width := 36;
			FormatColumn := 'len(value) ? value + '' +''';
		end;
		with (Add('B') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortNumeric;
			AllowSizing := False;
			Width := 36;
			FormatColumn := 'len(value) ? value + '' +''';
		end;
		with (Add('C') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortNumeric;
			AllowSizing := False;
			Width := 36;
			FormatColumn := 'len(value) ? value + '' =''';
		end;
		with (Add('A+B+C') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortNumeric;
			Width := 64;
			ComputedField := 'dbl(%1)+dbl(%2)+dbl(%3)';
			FormatColumn := 'type(value) in (0,1) ? ''null'' : ( dbl(value)<0 ? ''<fgcolor=FF0000>''+ (value format ''2|.|3|,|1'' ) : (dbl(value)>0 ? ''<fgcolor=000' + 
	'0FF>+''+(value format ''2|.|3|,'' ): ''0.00'') )';
			Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
		end;
	end;
	with Items do
	begin
		h := Add('Item');
		CaptionFormat[h,TObject(4)] := EXLISTLib.CaptionFormatEnum.exComputedField;
		h := Add('Item 1');
		Caption[h,TObject(1)] := TObject(7);
		Caption[h,TObject(2)] := TObject(3);
		Caption[h,TObject(3)] := TObject(1);
		h := Add('Item 2');
		Caption[h,TObject(1)] := TObject(-2);
		Caption[h,TObject(2)] := TObject(-2);
		Caption[h,TObject(3)] := TObject(-4);
		h := Add('Item 3');
		Caption[h,TObject(1)] := TObject(2);
		Caption[h,TObject(2)] := TObject(2);
		Caption[h,TObject(3)] := TObject(-4);
	end;
	EndUpdate();
end
410:
Is it possible background color displayed when the mouse passes over an item

with AxList1 do
begin
	BeginUpdate();
	Columns.Add('Def');
	HotBackColor := Color.FromArgb(0,0,128);
	HotForeColor := Color.FromArgb(255,255,255);
	with Items do
	begin
		Add('Item A');
		Add('Item B');
		Add('Item C');
	end;
	EndUpdate();
end
409:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

with AxList1 do
begin
	BeginUpdate();
	MarkSearchColumn := False;
	with Columns do
	begin
		Add('Name');
		with (Add('Values') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortNumeric;
			AllowSizing := False;
			Width := 64;
			FormatColumn := '((0:=dbl(value)) < 10? ''<fgcolor=808080><font ;7>'' :''<b>'') + currency(=:0)';
			Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
		end;
	end;
	with Items do
	begin
		FormatCell[Add('Item A'),TObject(1)] := '`<none>`';
		Caption[Add('Item 1'),TObject(1)] := TObject(10);
		Caption[Add('Item 2'),TObject(1)] := TObject(15);
		Caption[Add('Item 3'),TObject(1)] := TObject(25);
	end;
	EndUpdate();
end
408:
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

with AxList1 do
begin
	BeginUpdate();
	MarkSearchColumn := False;
	with Columns do
	begin
		Add('Name');
		with (Add('Values') as EXLISTLib.Column) do
		begin
			SortType := EXLISTLib.SortTypeEnum.SortNumeric;
			AllowSizing := False;
			Width := 64;
			FormatColumn := '((0:=dbl(value)) < 10? ''<fgcolor=808080><font ;7>'' :''<b>'') + currency(=:0)';
			Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
		end;
	end;
	with Items do
	begin
		FormatCell[Add('Item A'),TObject(1)] := ' ';
		Caption[Add('Item 1'),TObject(1)] := TObject(10);
		Caption[Add('Item 2'),TObject(1)] := TObject(15);
		Caption[Add('Item 3'),TObject(1)] := TObject(25);
	end;
	EndUpdate();
end
407:
I am using the FormatColumn 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 is selected.
procedure TWinForm1.AxList1_SelectionChanged(sender: System.Object; e: System.EventArgs);
begin
	with AxList1 do
	begin
		with Items do
		begin
			ClearItemBackColor(-1);
			ItemBackColor[SelectedItem[0]] := $ffff80;
		end;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	MarkSearchColumn := False;
	SelForeColor := ForeColor;
	SelBackColor := BackColor;
	ShowFocusRect := False;
	with Columns do
	begin
		with (Add('Format') as EXLISTLib.Column) do
		begin
			FormatColumn := 'type(value) in (0,1) ? ''null'' : ( dbl(value)<0 ? ''<fgcolor=FF0000>''+ (value format ''2|.|3|,|1'' ) : (dbl(value)>0 ? ''<fgcolor=000' + 
	'0FF>+''+(value format ''2|.|3|,'' ): ''0.00'') )';
			Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
		end;
	end;
	with Items do
	begin
		Add(TObject(10));
		Add(TObject(-8));
	end;
	EndUpdate();
end
406:
Is it possible to change the height for all items at once

with AxList1 do
begin
	BeginUpdate();
	Columns.Add('Items');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
		Add('Item 4');
	end;
	EndUpdate();
	DefaultItemHeight := 12;
	Items.ItemHeight[-1] := 12;
end
405:
How can I change the shape of the line to be shown when user drag and drop data over the control

// OLEStartDrag event - Occurs when the OLEDrag method is called.
procedure TWinForm1.AxList1_OLEStartDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_OLEStartDragEvent);
begin
	// Data.SetData("data to be dragged")
end;

with AxList1 do
begin
	OLEDropMode := EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
	VisualAppearance.Add(1,'C:\Program Files\Exontrol\ExList\Sample\VB\DragDrop\insert_bottom.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exListOLEDropPosition,$1000000);
	Columns.Add('Default');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
	end;
end
404:
How can I highlight the item from cursor when the user drag and drop data over the control

// OLEStartDrag event - Occurs when the OLEDrag method is called.
procedure TWinForm1.AxList1_OLEStartDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_OLEStartDragEvent);
begin
	// Data.SetData("data to be dragged")
end;

with AxList1 do
begin
	OLEDropMode := EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
	set_Background(EXLISTLib.BackgroundPartEnum.exListOLEDropPosition,$1);
	Columns.Add('Default');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
	end;
end
403:
How can I start drag and drop items

// OLEStartDrag event - Occurs when the OLEDrag method is called.
procedure TWinForm1.AxList1_OLEStartDrag(sender: System.Object; e: AxEXLISTLib._IListEvents_OLEStartDragEvent);
begin
	// Data.SetData("to be carried by drag and drop")
	with AxList1 do
	begin
		e.allowedEffects := 1;
	end
end;

with AxList1 do
begin
	BeginUpdate();
	OLEDropMode := EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
	Columns.Add('Default');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
	end;
	EndUpdate();
end
402:
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

with AxList1 do
begin
	with Columns do
	begin
		Add('Value');
		with (Add('CellSingleLine = False') as EXLISTLib.Column) do
		begin
			ComputedField := '%0';
			Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(False);
		end;
		with (Add('FormatColumn/replace CRLF') as EXLISTLib.Column) do
		begin
			ComputedField := '%0';
			FormatColumn := 'value replace `\r\n` with ``';
		end;
		with (Add('FormatColumn/replace TAB,CRLF') as EXLISTLib.Column) do
		begin
			ComputedField := '%0';
			FormatColumn := '(value replace `\t` with ``) replace `\r\n` with ``';
		end;
	end;
	with Items do
	begin
		Add('a\ta\r\nb\tb');
	end;
end
401:
The Column.Alignment property does not seem to work for cells with images in them. What can be done

with AxList1 do
begin
	BeginUpdate();
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	DrawGridLines := EXLISTLib.GridLinesEnum.exAllLines;
	HeaderHeight := 24;
	DefaultItemHeight := 24;
	with (Columns.Add('Image') as EXLISTLib.Column) do
	begin
		AllowSizing := False;
		Width := 32;
		HTMLCaption := '<img>1</img>';
		HeaderAlignment := EXLISTLib.AlignmentEnum.CenterAlignment;
		Alignment := EXLISTLib.AlignmentEnum.CenterAlignment;
		Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	end;
	Columns.Add('Rest');
	with Items do
	begin
		Add('<img>1</img>');
		Add('<img>2</img>');
		Add('<img>3</img>');
	end;
	EndUpdate();
end