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

With List1
	.BeginUpdate 
	.SingleSort = False
	With .Columns
		.Add("Index").FormatColumn = "1 index ``"
		.Add("Date").SortType = SortDate
		With .Add("Time")
			.SortType = SortTime
			.FormatColumn = "time(value)"
		End With
	End With
	With .Items
		h = .Add(0)
		.Caption(h,1) = #1/1/2001#
		.Caption(h,2) = #1/1/2001 10:00:00 AM#
		h = .Add(0)
		.Caption(h,1) = #12/31/2000#
		.Caption(h,2) = #1/1/2001 10:00:00 AM#
		h = .Add(0)
		.Caption(h,1) = #1/1/2001#
		.Caption(h,2) = #1/1/2001 6:00:00 AM#
		h = .Add(0)
		.Caption(h,1) = #12/31/2000#
		.Caption(h,2) = #1/1/2001 8:00:00 AM#
		h = .Add(0)
		.Caption(h,1) = #1/1/2001#
		.Caption(h,2) = #1/1/2001 8:00:00 AM#
		h = .Add(0)
		.Caption(h,1) = #12/31/2000#
		.Caption(h,2) = #1/1/2001 6:00:00 AM#
	End With
	.Layout = "multiplesort=""C1:1 C2:1"""
	.EndUpdate 
End With
461:
How can I connect to a DBF file
With List1
	.BeginUpdate 
	.ColumnAutoResize = False
	.ContinueColumnScroll = False
	.MarkSearchColumn = False
	Set rs = CreateObject("ADODB.Recordset")
	With rs
		.Open "Select * From foxcode.DBF","Provider=vfpoledb;Data Source=C:\Program Files\Microsoft Visual FoxPro 9\",3,3
	End With
	.DataSource = rs
	.EndUpdate 
End With
460:
Does your control supports scrolling by touching the screen

With List1
	.ColumnAutoResize = False
	Set rs = CreateObject("ADOR.Recordset")
	With rs
		.Open "Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExTree\Sample\VB\SAMPLE.MDB",3,3
	End With
	.DataSource = rs
	.ContinueColumnScroll = True
	.ScrollBySingleLine = True
	.AutoDrag = AutoDragEnum.exAutoDragScrollOnShortTouch Or AutoDragEnum.exAutoDragScroll
End With
459:
How can I enlarge the size of the control's scroll bars, for using on touch screens

With List1
	.ScrollBars = DisableBoth
	.ScrollWidth = 32
	.ScrollHeight = 32
	.ScrollButtonHeight = 32
	.ScrollButtonWidth = 32
End With
458:
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

' CellStateChanged event - Fired after cell's state is changed.
Private Sub List1_CellStateChanged(ByVal Item As Long,ByVal ColIndex As Long)
	With List1
		With .Items
			.Caption(Item,2) = .CellState(Item,0)
		End With
	End With
End Sub

With List1
	.BeginUpdate 
	.ShowFocusRect = False
	.MarkSearchColumn = False
	.SelBackMode = exTransparent
	Set var_ConditionalFormat = .ConditionalFormats.Add("%2 != 0")
	With var_ConditionalFormat
		.Bold = True
		.ForeColor = RGB(255,0,0)
		.ApplyTo = exFormatToItems
	End With
	With .Columns.Add("")
		.Def(exCellHasCheckBox) = True
		.Width = 16
		.AllowSizing = False
	End With
	.Columns.Add "Information"
	.Columns.Add("Hidden").Visible = False
	With .Items
		.Caption(.Add(""),1) = "This is a bit of text associated"
		h = .Add("")
		.Caption(h,1) = "This is a bit of text associated"
		.CellState(h,0) = 1
		.Caption(.Add(""),1) = "This is a bit of text associated"
	End With
	.EndUpdate 
End With
457:
How can I display the caption bellow to picture

With List1
	.BeginUpdate 
	.ScrollBySingleLine = True
	.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"
	.HTMLPicture("p2") = "c:\exontrol\images\auction.gif"
	.Columns.Add "Default"
	With .Items
		h = .Add("<c><img>p1</img><br><c>your caption1")
		.CellSingleLine(h,0) = False
		.CaptionFormat(h,0) = exHTML
		h = .Add("<c><img>p2</img><br><c>your caption2")
		.CellSingleLine(h,0) = False
		.CaptionFormat(h,0) = exHTML
	End With
	.EndUpdate 
End With
456:
How can I add a vertical padding

With List1
	.BeginUpdate 
	.DrawGridLines = exAllLines
	With .Columns.Add("Padding")
		.Def(exCellHasCheckBox) = True
		.Def(exCellSingleLine) = False
		.Def(exCellPaddingLeft) = 6
		.Def(exCellPaddingRight) = 6
		.Def(exCellPaddingTop) = 6
		.Def(exCellPaddingBottom) = 6
	End With
	With .Items
		.Add "padding"
		.Add "padding"
	End With
	.EndUpdate 
End With
455:
How do you embed HTML options into the anchor click string

' AnchorClick event - Occurs when an anchor element is clicked.
Private Sub List1_AnchorClick(ByVal AnchorID As String,ByVal Options As String)
	With List1
		Debug.Print( AnchorID )
		Debug.Print( Options )
	End With
End Sub

With List1
	.BeginUpdate 
	With .Columns
		.Add("Car").Def(exCaptionFormat) = 1
	End With
	With .Items
		.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 With
	.EndUpdate 
End With
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 List1
	.BeginUpdate 
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78e" & _
"gBHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRx" & _
"LC8Mw3BDvYDkOAABAIgI="
	.SelBackColor = &H1fffffe
	.ShowFocusRect = False
	.Columns.Add "Items"
	With .Items
		.ItemBackColor(.Add("red")) = RGB(255,0,0)
		.ItemBackColor(.Add("blue")) = RGB(0,0,255)
		.ItemBackColor(.Add("green")) = RGB(0,255,0)
	End With
	.EndUpdate 
End With
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 List1
	.BeginUpdate 
	.SelBackMode = exTransparent
	.ShowFocusRect = False
	.Columns.Add "Items"
	With .Items
		.ItemBackColor(.Add("red")) = RGB(255,0,0)
		.ItemBackColor(.Add("blue")) = RGB(0,0,255)
		.ItemBackColor(.Add("green")) = RGB(0,255,0)
	End With
	.EndUpdate 
End With
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 List1
	.BeginUpdate 
	.SelBackColor = .BackColor
	.SelForeColor = .ForeColor
	.ShowFocusRect = True
	.Columns.Add "Items"
	With .Items
		.ItemBackColor(.Add("red")) = RGB(255,0,0)
		.ItemBackColor(.Add("blue")) = RGB(0,0,255)
		.ItemBackColor(.Add("green")) = RGB(0,255,0)
	End With
	.EndUpdate 
End With
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 List1
	.Columns.Add("Currency").FormatColumn = "int(value) != 0 ? (value format `0||3|,`) : ``"
	.Items.Add 123456789
	.Items.Add 1234
	.Items.Add 0
	.Items.Add 2345
End With
450:
Do you have a VB sample on how to use .FormatColumn to show this number '123456789' like '123,456,789'

With List1
	.Columns.Add("Currency").FormatColumn = "value format `0||3|,`"
	.Items.Add 123456789
	.Items.Add 1234
End With
449:
Is it possible to change the image while do OLE Drag and Drop operations

' OLEStartDrag event - Occurs when the OLEDrag method is called.
Private Sub List1_OLEStartDrag(ByVal Data As EXLISTLibCtl.IExDataObject,AllowedEffects As Long)
	' Data.SetData(Items.FocusItem)
End Sub

With List1
	.Columns.Add "Default"
	.Items.Add "Item 1"
	.Items.Add "Item 2"
	.OLEDropMode = exOLEDropManual
	.HTMLPicture("OLEDragDropImage") = "C:\Program Files\Exontrol\ExList\Sample\VB\UNICODE\unicode.jpg"
End With
448:
Is it possible to change the image while do OLE Drag and Drop operations

' OLEStartDrag event - Occurs when the OLEDrag method is called.
Private Sub List1_OLEStartDrag(ByVal Data As EXLISTLibCtl.IExDataObject,AllowedEffects As Long)
	' Data.SetData(Items.FocusItem)
End Sub

With List1
	.Columns.Add "Default"
	.Items.Add "Item 1"
	.Items.Add "Item 2"
	.OLEDropMode = exOLEDropManual
	.VisualAppearance.Add 1,"C:\Program Files\Exontrol\ExG2antt\Sample\EBN\xpbselIcon.ebn"
	.Background(exDragDropAfter) = &H1000000
	.Background(exDragDropBefore) = RGB(255,255,255)
End With
447:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
With List1
	.BeginUpdate 
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.HTMLPicture("p1") = "c:\exontrol\images\card.png"
	.HTMLPicture("p2") = "c:\exontrol\images\sun.png"
	.AutoDrag = exAutoDragCopySnapShot
	.ShowFocusRect = False
	.DefaultItemHeight = 26
	.Columns.Add "Task"
	With .Items
		.CaptionFormat(.Add("<img>p1:32</img> Group 1"),0) = exHTML
		.CaptionFormat(.Add("<img>p2:32</img> Group 2"),0) = exHTML
	End With
	.EndUpdate 
End With
446:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

With List1
	.BeginUpdate 
	.HTMLPicture("p1") = "c:\exontrol\images\card.png"
	.HTMLPicture("p2") = "c:\exontrol\images\sun.png"
	.HeaderHeight = 24
	.DefaultItemHeight = 48
	.DrawGridLines = &Hfffffffc Or GridLinesEnum.exVLines
	.GridLineColor = RGB(240,240,240)
	.SelBackMode = exTransparent
	.ColumnAutoResize = False
	.ContinueColumnScroll = False
	Set rs = CreateObject("ADOR.Recordset")
	With rs
		.Open "Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\SAMPLE.MDB",3,3
	End With
	.DataSource = rs
	.Columns.Item(0).Def(exCaptionFormat) = 1
	.Columns.Item(0).FormatColumn = "value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`"
	.Columns.Item(0).Width = 112
	.AutoDrag = exAutoDragCopyImage
	.SingleSel = False
	With .Items
		.SelectItem(1) = True
		.SelectItem(2) = True
		.SelectItem(3) = True
	End With
	.EndUpdate 
End With
445:
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

With List1
	.BeginUpdate 
	.ColumnAutoResize = False
	.ContinueColumnScroll = False
	Set rs = CreateObject("ADOR.Recordset")
	With rs
		.Open "Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExList\Sample\SAMPLE.MDB",3,3
	End With
	.DataSource = rs
	.AutoDrag = exAutoDragCopyText
	.SingleSel = False
	With .Items
		.SelectItem(1) = True
		.SelectItem(3) = True
		.SelectItem(4) = True
		.SelectItem(5) = True
	End With
	.EndUpdate 
End With
444:
How can I change the row's position to another, by drag and drop. Is it possible

With List1
	.BeginUpdate 
	.AutoDrag = exAutoDragPosition
	.Columns.Add "Task"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.Add "Item 4"
	End With
	.EndUpdate 
End With
443:
Does your control support subscript or superscript, in HTML captions

With List1
	.Columns.Add("Column").Def(exCaptionFormat) = 1
	.Items.Add "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1"
End With
442:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (2)

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

With List1
	.BeginUpdate 
	.Columns.Add "Column"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
	End With
	.Layout = "gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAG" & _
"QAqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0" & _
"jE3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI="
	.EndUpdate 
End With
440:
Is there any public method to export the selected data

With List1
	.Columns.Add "Header"
	With .Items
		.Add "Item 1"
		.SelectItem(.Add("Item 2")) = True
		.Add "Item 3"
	End With
	Debug.Print( .Export("","sel") )
End With
439:
How can I change the visual aspect of the links in the sort bar

With List1
	.BeginUpdate 
	.ColumnAutoResize = False
	Set rs = CreateObject("ADOR.Recordset")
	With rs
		.Open "Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExGrid\Sample\SAMPLE.MDB",3,3
	End With
	.DataSource = rs
	.SortBarHeight = 24
	.HeaderHeight = 24
	.BackColorSortBar = RGB(240,240,240)
	.BackColorSortBarCaption = .BackColor
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAEGg4BdsIQAAYAQGKIYBkAKBQAGaAoDDgNw0QwAAxjMK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpA" & _
"AWL4tCyMc7QHKAWhrEAbJjgQYJUh+TQAAZCIJRXRQAL/K6rKwnSCQIgkUBpGKdBynEYoYxAfyESCJWyIahWAwoQjUMB1HLQAAxC5kKbkIxyBABFBdVjVeBYG78Bz+ABj" & _
"EovbAMEwPBqAMwmIAZDheA4FR4AGhTXKcbxrFaXZSzKckPRoADSZq1Sg5LjDJI2ABqU6ABqNLZtJKsZS4apABrWeZ3Q7QMLdFTwA4PH6EZhxXAYbTVeaPZjQIBAgI"
	.SortBarVisible = True
	.SortBarCaption = "Drag a <b>column</b> header here to group by that column."
	With .Columns.Item(1)
		.Alignment = CenterAlignment
		.Def(exCellBackColor) = 15790320
		.SortOrder = True
	End With
	With .Columns.Item(5)
		.Alignment = CenterAlignment
		.Def(exCellBackColor) = 16119285
		.SortOrder = True
	End With
	.Background(exSortBarLinkColor) = &H1000000
	.EndUpdate 
End With
438:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .Columns
		With .Add("Car")
			.DisplayFilterButton = True
			.FilterType = exFilter
			.Filter = "MAZDA"
		End With
		With .Add("Equipment")
			.DisplayFilterButton = True
			.DisplayFilterPattern = False
			.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*"
			.FilterType = exPattern
			.Filter = "AIR BAG"
		End With
	End With
	With .Items
		.Caption(.Add("Mazda"),1) = "Air Bag"
		.Caption(.Add("Toyota"),1) = "Air Bag,Air condition"
		.Caption(.Add("Ford"),1) = "Air condition"
		.Caption(.Add("Nissan"),1) = "Air Bag,ABS,ESP"
		.Caption(.Add("Mazda"),1) = "Air Bag, ABS,ESP"
		.Caption(.Add("Mazda"),1) = "ABS,ESP"
	End With
	.ApplyFilter 
	.EndUpdate 
End With
437:
How can I have a case-sensitive filter

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .Columns
		With .Add("Car")
			.DisplayFilterButton = True
			.FilterType = FilterTypeEnum.exFilterDoCaseSensitive Or FilterTypeEnum.exFilter
			.Filter = "Mazda"
		End With
		With .Add("Equipment")
			.DisplayFilterButton = True
			.DisplayFilterPattern = False
			.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*"
			.FilterType = FilterTypeEnum.exFilterDoCaseSensitive Or FilterTypeEnum.exPattern
			.Filter = "Air Bag"
		End With
	End With
	With .Items
		.Caption(.Add("Mazda"),1) = "Air Bag"
		.Caption(.Add("Toyota"),1) = "Air Bag,Air condition"
		.Caption(.Add("Ford"),1) = "Air condition"
		.Caption(.Add("Nissan"),1) = "Air Bag,ABS,ESP"
		.Caption(.Add("Mazda"),1) = "Air Bag, ABS,ESP"
		.Caption(.Add("Mazda"),1) = "ABS,ESP"
	End With
	.ApplyFilter 
	.EndUpdate 
End With
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 List1
	.BeginUpdate 
	With .Columns.Add("Item")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.Filter = "Child 1"
		.FilterType = exFilter
	End With
	With .Columns.Add("Date")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.DisplayFilterDate = True
		.FilterList = FilterListEnum.exShowExclude Or FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox Or FilterListEnum.exNoItems
		.Filter = #12/28/2010#
		.FilterType = exDate
	End With
	.FilterCriteria = "%0 or %1"
	.Description(exFilterBarOr) = "<font ;18><fgcolor=FF0000>or</fgcolor></font>"
	.Description(exFilterBarAnd) = "<font ;18><fgcolor=FF0000>and</fgcolor></font>"
	With .Items
		h = .Add("Root 1")
		.Caption(.Add("Child 1"),1) = #12/27/2010#
		.Caption(.Add("Child 2"),1) = #12/28/2010#
		h = .Add("Root 2")
		.Caption(.Add("Child 1"),1) = #12/29/2010#
		.Caption(.Add("Child 2"),1) = #12/30/2010#
	End With
	.ApplyFilter 
	.EndUpdate 
End With
435:
Is it possible exclude the dates being selected in the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Date")
		.SortType = SortDate
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.DisplayFilterDate = True
		.FilterList = FilterListEnum.exShowExclude Or FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox Or FilterListEnum.exNoItems
	End With
	With .Items
		.Add #12/27/2010#
		.Add #12/28/2010#
		.Add #12/29/2010#
		.Add #12/30/2010#
		.Add #12/31/2010#
	End With
	.EndUpdate 
End With
434:
How can I display a calendar control inside the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Date")
		.SortType = SortDate
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.DisplayFilterDate = True
		.FilterList = FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox Or FilterListEnum.exNoItems
	End With
	With .Items
		.Add #12/27/2010#
		.Add #12/28/2010#
		.Add #12/29/2010#
		.Add #12/30/2010#
		.Add #12/31/2010#
	End With
	.EndUpdate 
End With
433:
Is it possible to include the dates as checkb-boxes in the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Dates")
		.SortType = SortDate
		.DisplayFilterButton = True
		.DisplayFilterPattern = True
		.DisplayFilterDate = True
		.FilterList = FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox
		.Filter = "to 12/27/2010"
		.FilterType = exDate
	End With
	With .Items
		.Add #12/27/2010#
		.Add #12/28/2010#
		.Add #12/29/2010#
		.Add #12/30/2010#
		.Add #12/31/2010#
	End With
	.ApplyFilter 
	.EndUpdate 
End With
432:
How can I filter items for dates before a specified date

With List1
	.BeginUpdate 
	With .Columns.Add("Dates")
		.SortType = SortDate
		.DisplayFilterButton = True
		.DisplayFilterPattern = True
		.DisplayFilterDate = True
		.FilterList = FilterListEnum.exShowFocusItem Or FilterListEnum.exNoItems
		.Filter = "to 12/27/2010"
		.FilterType = exDate
	End With
	With .Items
		.Add #12/27/2010#
		.Add #12/28/2010#
		.Add #12/29/2010#
		.Add #12/30/2010#
		.Add #12/31/2010#
	End With
	.ApplyFilter 
	.EndUpdate 
End With
431:
Is it possible to filter dates

With List1
	.BeginUpdate 
	With .Columns.Add("Dates")
		.SortType = SortDate
		.DisplayFilterButton = True
		.DisplayFilterPattern = True
		.DisplayFilterDate = True
		.FilterList = FilterListEnum.exShowFocusItem Or FilterListEnum.exNoItems
	End With
	With .Items
		.Add #12/27/2010#
		.Add #12/28/2010#
		.Add #12/29/2010#
		.Add #12/30/2010#
		.Add #12/31/2010#
	End With
	.EndUpdate 
End With
430:
Is it possible to change the Exclude field name to something different, in the drop down filter window

With List1
	.BeginUpdate 
	.Description(exFilterBarExclude) = "Leaving out"
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = FilterListEnum.exShowExclude Or FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
	End With
	.EndUpdate 
End With
429:
How can I display the Exclude field in the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = FilterListEnum.exShowExclude Or FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
	End With
	.EndUpdate 
End With
428:
Is it possible to show and ensure the focused item from the control, in the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = FilterListEnum.exShowFocusItem Or FilterListEnum.exShowCheckBox
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.SelectItem(.Add("Child 2")) = True
	End With
	.EndUpdate 
End With
427:
Is it possible to show only blanks items with no listed items from the control

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = FilterListEnum.exShowBlanks Or FilterListEnum.exNoItems
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.Add "Child 2"
	End With
	.EndUpdate 
End With
426:
How can I include the blanks items in the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = FilterListEnum.exShowBlanks Or FilterListEnum.exShowCheckBox
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.Add "Child 2"
	End With
	.EndUpdate 
End With
425:
How can I select multiple items in the drop down filter window, using check-boxes

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = exShowCheckBox
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.Add "Child 2"
	End With
	.EndUpdate 
End With
424:
Is it possible to allow a single item being selected in the drop down filter window

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = exSingleSel
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.Add "Child 2"
	End With
	.EndUpdate 
End With
423:
How can I display no (All) item in the drop down filter window

With List1
	.BeginUpdate 
	.Description(exFilterBarAll) = ""
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = True
		.FilterList = exNoItems
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.Add "Child 2"
	End With
	.EndUpdate 
End With
422:
Is it possible to display no items in the drop down filter window, so only the pattern is visible

With List1
	.BeginUpdate 
	With .Columns.Add("Items")
		.DisplayFilterButton = True
		.DisplayFilterPattern = True
		.FilterList = exNoItems
	End With
	With .Items
		h = .Add("Root 1")
		.Add "Child 1"
		.Add "Child 2"
		h = .Add("Root 2")
		.Add "Child 1"
		.Add "Child 2"
	End With
	.EndUpdate 
End With
421:
How can I sort the value gets listed in the drop down filter window

With List1
	.MarkSearchColumn = False
	.Description(exFilterBarAll) = ""
	.Description(exFilterBarBlanks) = ""
	.Description(exFilterBarNonBlanks) = ""
	With .Columns.Add("P1")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = exSortItemsDesc
	End With
	With .Columns.Add("P2")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.FilterList = exSortItemsAsc
	End With
	With .Items
		h = .Add("Z3")
		.Caption(h,1) = "C"
		.Caption(.Add("Z1"),1) = "B"
		.Caption(.Add("Z2"),1) = "A"
	End With
End With
420:
How can I add or change the padding (spaces) for captions in the control's header

With List1
	.BeginUpdate 
	.Columns.Add("Padding-Left").Def(exHeaderPaddingLeft) = 18
	With .Columns.Add("Padding-Right")
		.Def(exHeaderPaddingRight) = 18
		.HeaderAlignment = RightAlignment
	End With
	.EndUpdate 
End With
419:
Do you have any plans to add cell spacing and cell padding to the cells

With List1
	.BeginUpdate 
	.DrawGridLines = &Hfffffffc Or GridLinesEnum.exVLines
	With .Columns.Add("Padding-Left")
		.Def(exCellHasCheckBox) = True
		.Def(exCellPaddingLeft) = 18
	End With
	.Columns.Add("No-Padding").Def(exCellHasCheckBox) = True
	.Columns.Add("Empty").Position = 0
	With .Items
		.Caption(.Add("Item A.1"),1) = "Item A.2"
		.Caption(.Add("Item B.1"),1) = "Item B.2"
		.Caption(.Add("Item C.1"),1) = "Item C.2"
	End With
	.EndUpdate 
End With
418:
Is it possible display numbers in the same format no matter of regional settings in the control panel

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(100000.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default positive)'"
		h = .Add(100000.27)
		.FormatCell(h,0) = "(value format '2|.|3|,|1|1')"
		h = .Add(-100000.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default negative)'"
		h = .Add(-100000.27)
		.FormatCell(h,0) = "(value format '2|.|3|,|1|1')"
	End With
	.EndUpdate 
End With
417:
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(0.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default)'"
		h = .Add(0.27)
		.FormatCell(h,0) = "(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'"
	End With
	.EndUpdate 
End With
416:
How can I specify the format for negative numbers

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(-100000.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default)'"
		h = .Add(-100000.27)
		.FormatCell(h,0) = "(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'"
	End With
	.EndUpdate 
End With
415:
Is it possible to change the grouping character when display numbers

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(100000.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default)'"
		h = .Add(100000.27)
		.FormatCell(h,0) = "(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'"
	End With
	.EndUpdate 
End With
414:
How can I display numbers with 2 digits in each group

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(100000.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default)'"
		h = .Add(100000.27)
		.FormatCell(h,0) = "(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'"
	End With
	.EndUpdate 
End With
413:
How can I display my numbers using a different decimal separator

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(100.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default)'"
		h = .Add(100.27)
		.FormatCell(h,0) = "(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'"
	End With
	.EndUpdate 
End With
412:
Is it possible to display the numbers using 3 (three) digits

With List1
	.BeginUpdate 
	.Columns.Add("Def").Def(exCaptionFormat) = 1
	With .Items
		h = .Add(100.27)
		.FormatCell(h,0) = "(value format '') +  ' <fgcolor=808080>(default)'"
		h = .Add(100.27)
		.FormatCell(h,0) = "(value format '3') +  ' <fgcolor=808080>(3 digits)'"
		h = .Add(100.27)
		.FormatCell(h,0) = "(value format 2) +  '  <fgcolor=808080>(2 digits)'"
		h = .Add(100.27)
		.FormatCell(h,0) = "(value format 1) +  ' <fgcolor=808080>(1 digit)'"
	End With
	.EndUpdate 
End With
411:
Is it possible to format numbers

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	.SelBackColor = .BackColor
	.SelForeColor = .ForeColor
	.ShowFocusRect = True
	With .Columns
		.Add "Name"
		With .Add("A")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 36
			.FormatColumn = "len(value) ? value + ' +'"
		End With
		With .Add("B")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 36
			.FormatColumn = "len(value) ? value + ' +'"
		End With
		With .Add("C")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 36
			.FormatColumn = "len(value) ? value + ' ='"
		End With
		With .Add("A+B+C")
			.SortType = 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=00" & _
"00FF>+'+(value format '2|.|3|,' ): '0.00') )"
			.Def(exCaptionFormat) = 1
		End With
	End With
	With .Items
		h = .Add("Item")
		.CaptionFormat(h,4) = exComputedField
		h = .Add("Item 1")
		.Caption(h,1) = 7
		.Caption(h,2) = 3
		.Caption(h,3) = 1
		h = .Add("Item 2")
		.Caption(h,1) = -2
		.Caption(h,2) = -2
		.Caption(h,3) = -4
		h = .Add("Item 3")
		.Caption(h,1) = 2
		.Caption(h,2) = 2
		.Caption(h,3) = -4
	End With
	.EndUpdate 
End With
410:
Is it possible background color displayed when the mouse passes over an item

With List1
	.BeginUpdate 
	.Columns.Add "Def"
	.HotBackColor = RGB(0,0,128)
	.HotForeColor = RGB(255,255,255)
	With .Items
		.Add "Item A"
		.Add "Item B"
		.Add "Item C"
	End With
	.EndUpdate 
End With
409:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .Columns
		.Add "Name"
		With .Add("Values")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 64
			.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)"
			.Def(exCaptionFormat) = 1
		End With
	End With
	With .Items
		.FormatCell(.Add("Item A"),1) = "`<none>`"
		.Caption(.Add("Item 1"),1) = 10
		.Caption(.Add("Item 2"),1) = 15
		.Caption(.Add("Item 3"),1) = 25
	End With
	.EndUpdate 
End With
408:
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .Columns
		.Add "Name"
		With .Add("Values")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 64
			.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)"
			.Def(exCaptionFormat) = 1
		End With
	End With
	With .Items
		.FormatCell(.Add("Item A"),1) = " "
		.Caption(.Add("Item 1"),1) = 10
		.Caption(.Add("Item 2"),1) = 15
		.Caption(.Add("Item 3"),1) = 25
	End With
	.EndUpdate 
End With
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.
Private Sub List1_SelectionChanged()
	With List1
		With .Items
			.ClearItemBackColor -1
			.ItemBackColor(.SelectedItem(0)) = RGB(128,255,255)
		End With
	End With
End Sub

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	.SelForeColor = .ForeColor
	.SelBackColor = .BackColor
	.ShowFocusRect = False
	With .Columns
		With .Add("Format")
			.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" & _
"00FF>+'+(value format '2|.|3|,' ): '0.00') )"
			.Def(exCaptionFormat) = 1
		End With
	End With
	With .Items
		.Add 10
		.Add -8
	End With
	.EndUpdate 
End With
406:
Is it possible to change the height for all items at once

With List1
	.BeginUpdate 
	.Columns.Add "Items"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.Add "Item 4"
	End With
	.EndUpdate 
	.DefaultItemHeight = 12
	.Items.ItemHeight(-1) = 12
End With
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.
Private Sub List1_OLEStartDrag(ByVal Data As EXLISTLibCtl.IExDataObject,AllowedEffects As Long)
	' Data.SetData("data to be dragged")
End Sub

With List1
	.OLEDropMode = exOLEDropManual
	.VisualAppearance.Add 1,"C:\Program Files\Exontrol\ExList\Sample\VB\DragDrop\insert_bottom.ebn"
	.Background(exListOLEDropPosition) = &H1000000
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
	End With
End With
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.
Private Sub List1_OLEStartDrag(ByVal Data As EXLISTLibCtl.IExDataObject,AllowedEffects As Long)
	' Data.SetData("data to be dragged")
End Sub

With List1
	.OLEDropMode = exOLEDropManual
	.Background(exListOLEDropPosition) = RGB(1,0,0)
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
	End With
End With
403:
How can I start drag and drop items

' OLEStartDrag event - Occurs when the OLEDrag method is called.
Private Sub List1_OLEStartDrag(ByVal Data As EXLISTLibCtl.IExDataObject,AllowedEffects As Long)
	' Data.SetData("to be carried by drag and drop")
	With List1
		AllowedEffects = 1
	End With
End Sub

With List1
	.BeginUpdate 
	.OLEDropMode = exOLEDropManual
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
	End With
	.EndUpdate 
End With
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 List1
	With .Columns
		.Add "Value"
		With .Add("CellSingleLine = False")
			.ComputedField = "%0"
			.Def(exCellSingleLine) = False
		End With
		With .Add("FormatColumn/replace CRLF")
			.ComputedField = "%0"
			.FormatColumn = "value replace `\r\n` with ``"
		End With
		With .Add("FormatColumn/replace TAB,CRLF")
			.ComputedField = "%0"
			.FormatColumn = "(value replace `\t` with ``) replace `\r\n` with ``"
		End With
	End With
	With .Items
		.Add "a\ta\r\nb\tb"
	End With
End With
401:
The Column.Alignment property does not seem to work for cells with images in them. What can be done

With List1
	.BeginUpdate 
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.DrawGridLines = exAllLines
	.HeaderHeight = 24
	.DefaultItemHeight = 24
	With .Columns.Add("Image")
		.AllowSizing = False
		.Width = 32
		.HTMLCaption = "<img>1</img>"
		.HeaderAlignment = CenterAlignment
		.Alignment = CenterAlignment
		.Def(exCaptionFormat) = 1
	End With
	.Columns.Add "Rest"
	With .Items
		.Add "<img>1</img>"
		.Add "<img>2</img>"
		.Add "<img>3</img>"
	End With
	.EndUpdate 
End With
400:
Can I change the format of date to be shown in the control

With List1
	With .Columns
		.Add "Default"
		With .Add("Format.1")
			.ComputedField = "%0"
			.FormatColumn = "dateF(value) replace `/` with `-`"
		End With
		With .Add("Format.2")
			.ComputedField = "%0"
			.Def(exCaptionFormat) = 1
			.FormatColumn = "`<b>`+ shortdate(value) + `</b> ` + timeF(value)"
		End With
		With .Add("Format.3")
			.ComputedField = "%0"
			.Def(exCaptionFormat) = 1
			.FormatColumn = "( dateF(value) replace `/` with `-` ) + ` <b>`+ ( weekday(value) case ( 0 : `Su`; 1 : `Mo`; 2 : `Tu`; 3 : `We`; 4 : `Th`; 5 : `" & _
"Fr`; 6 : `Sa`) )"
		End With
	End With
	With .Items
		.Add #1/1/2001 10:00:00 AM#
		.Add #1/2/2001 10:00:00 AM#
	End With
End With
399:
How can I put a picture on the cell's background (method 3)

With List1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.VisualAppearance.Add 2,"CP:1 0 0 -164 0"
	With .Columns
		.Add "column"
		With .Add("column")
			.Alignment = CenterAlignment
			.HeaderAlignment = CenterAlignment
		End With
	End With
	With .Items
		i = .Add()
		.SelectableItem(i) = False
		.Caption(i,1) = "caption"
		.CellBackColor(i,1) = &H2000000
	End With
End With
398:
How can I put a picture on the cell's background (method 2)

With List1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	With .Columns
		.Add "column"
		.Add "column"
	End With
	With .Items
		i = .Add()
		.SelectableItem(i) = False
		.Caption(i,1) = "caption"
		.CellBackColor(i,1) = &H1000000
		.CellPicture(i,1) = List1.ExecuteTemplate("loadpicture(`c:\exontrol\images\auction.gif`)")
		.CellPictureWidth(i,1) = 128
		.CellPictureHeight(i,1) = List1.DefaultItemHeight
	End With
End With
397:
How can I put a picture on the cell's background (method 1)

With List1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	With .Columns
		.Add "column"
		With .Add("column")
			.Alignment = CenterAlignment
			.HeaderAlignment = CenterAlignment
		End With
	End With
	With .Items
		i = .Add()
		.SelectableItem(i) = False
		.Caption(i,1) = "caption"
		.CellBackColor(i,1) = &H1000000
	End With
End With
396:
How do I access the cells, or how do I get the values in the columns

With List1
	With .Columns
		.Add "C1"
		.Add "C2"
		.Add "C3"
	End With
	With .Items
		h = .Add("Item 1")
		.Caption(h,1) = "SubItem 1.1"
		.Caption(h,2) = "SubItem 1.2"
		Debug.Print( .Caption(h,2) )
	End With
End With
395:
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)

With List1
	.BeginUpdate 
	With .ConditionalFormats.Add("1","K1")
		.BackColor = RGB(255,0,0)
		.ApplyTo = &H1
	End With
	With .ConditionalFormats.Add("1","K2")
		.BackColor = RGB(255,0,0)
		.ApplyTo = &H2
	End With
	.MarkSearchColumn = False
	.DrawGridLines = &Hfffffffc Or GridLinesEnum.exVLines
	With .Columns
		.Add "Column 1"
		.Add "Column 2"
		.Add "Column 3"
	End With
	With .Items
		.Add 
		.Add 
		.Add 
	End With
	.EndUpdate 
End With
394:
How can I get the list of items as they are displayed

With List1
	.BeginUpdate 
	.BackColorAlternate = RGB(240,240,240)
	.Columns.Add "Names"
	With .Items
		.Add "Mantel"
		.Add "Mechanik"
		.Add "Motor"
		.Add "Murks"
		.Add "Märchen"
		.Add "Möhren"
		.Add "Mühle"
	End With
	.Columns.Item(0).SortOrder = SortAscending
	.EndUpdate 
	Debug.Print( .GetItems(1) )
End With
393:
Is posible to reduce the size of the picture to be shown in the column's caption

With List1
	.BeginUpdate 
	.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.HeaderHeight = 48
	.Columns.Add("DefaultSize").HTMLCaption = "Default-Size <img>pic1</img> Picture"
	.Columns.Add("CustomSize").HTMLCaption = "Custom-Size <img>pic1:16</img> Picture"
	.EndUpdate 
End With
392:
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .ConditionalFormats.Add("1")
		.Bold = True
		.ForeColor = RGB(255,0,0)
		.ApplyTo = &H1
	End With
	.Columns.Add "C1"
	With .Columns.Add("C2")
		.HeaderBold = True
		.HTMLCaption = "<fgcolor=FF0000>C2"
	End With
	With .Items
		.Caption(.Add(10),1) = 11
		.Caption(.Add(12),1) = 13
	End With
	.EndUpdate 
End With
391:
Is it possible to limit the height of item while resizing the row

' AddItem event - Occurs after a new Item is inserted to Items collection.
Private Sub List1_AddItem(ByVal Item As Long)
	With List1
		.Items.ItemMinHeight(Item) = 18
		.Items.ItemMaxHeight(Item) = 72
	End With
End Sub

With List1
	.BeginUpdate 
	.ItemsAllowSizing = exResizeItem
	.ScrollBySingleLine = False
	.BackColorAlternate = RGB(240,240,240)
	.Columns.Add "Names"
	With .Items
		.Add "Mantel"
		.Add "Mechanik"
		.Add "Motor"
		.Add "Murks"
		.Add "Märchen"
		.Add "Möhren"
		.Add "Mühle"
	End With
	.Columns.Item(0).SortOrder = SortAscending
	.EndUpdate 
End With
390:
Can I specify un-sortable items so they keep their position once the user sorts the columns

With List1
	.Columns.Add("Def").SortType = SortNumeric
	With .Items
		.SortableItem(.Add("Unsortable")) = False
		.Add 1
		.Add 2
		.Add 3
	End With
End With
389:
The item is not getting selected when clicking the cell's checkbox. What should I do

' CellStateChanged event - Fired after cell's state is changed.
Private Sub List1_CellStateChanged(ByVal ItemIndex As Long,ByVal ColIndex As Long)
	With List1
		.Items.SelectItem(ItemIndex) = True
	End With
End Sub

With List1
	.Columns.Add("Check").Def(exCellHasCheckBox) = True
	With .Items
		.Add 0
		.Add 1
		.Add 2
		.Add 3
	End With
End With
388:
Does your control supports multiple lines tooltip

With List1
	.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.ToolTipDelay = 1
	.Columns.Add("tootip").ToolTip = "<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, " & _
"icons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>"
End With
387:
How can I prevent highlighting the column from the cursor - point

With List1
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJ" & _
"gEgI="
	.Background(exCursorHoverColumn) = &H1000000
	.Columns.Add("S").Width = 32
	.Columns.Add("Level 1").LevelKey = 1
	.Columns.Add("Level 2").LevelKey = 1
	.Columns.Add("Level 3").LevelKey = 1
	.Columns.Add("E1").Width = 32
	.Columns.Add("E2").Width = 32
	.Columns.Add("E3").Width = 32
	.Columns.Add("E4").Width = 32
End With
386:
Is there any option to show the tooltip programmatically

' MouseMove event - Occurs when the user moves the mouse.
Private Sub List1_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
	With List1
		.ShowToolTip .ItemFromPoint(-1,-1,c,hit),"","8","8"
	End With
End Sub

With List1
	.BeginUpdate 
	.Columns.Add "Def"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
	End With
	.EndUpdate 
End With
385:
Is it possible to prevent covering the colors by selected rows

With List1
	.SelBackMode = exTransparent
	.BackColorAlternate = RGB(240,240,240)
	.Columns.Add "Column"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.Add "Item 4"
		.Add "Item 5"
	End With
End With
384:
Can I use PNG images to display pictures in the control

With List1
	.HTMLPicture("pic1") = "c:\exontrol\images\card.png"
	.HeaderHeight = 48
	.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture"
End With
383:
Does your control support conditional format and computed fields

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .ConditionalFormats
		With .Add("%1 >4")
			.Bold = True
			.StrikeOut = True
			.ForeColor = RGB(255,0,0)
			.ApplyTo = &H1
		End With
		With .Add("%2 > 4")
			.Bold = True
			.StrikeOut = True
			.ForeColor = RGB(255,0,0)
			.ApplyTo = &H2
		End With
		With .Add("%3 > 4")
			.Bold = True
			.StrikeOut = True
			.ForeColor = RGB(255,0,0)
			.ApplyTo = &H3
		End With
	End With
	With .Columns
		.Add "Name"
		With .Add("A")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 36
			.FormatColumn = "len(value) ? value + ' +'"
		End With
		With .Add("B")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 36
			.FormatColumn = "len(value) ? value + ' +'"
		End With
		With .Add("C")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 36
			.FormatColumn = "len(value) ? value + ' ='"
		End With
		With .Add("A+B+C")
			.SortType = SortNumeric
			.AllowSizing = False
			.Width = 64
			.ComputedField = "%1+%2+%3"
			.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)"
			.Def(exCaptionFormat) = 1
		End With
	End With
	With .Items
		h1 = .Add("Item 1")
		.Caption(h1,1) = 7
		.Caption(h1,2) = 3
		.Caption(h1,3) = 1
		h1 = .Add("Item 2")
		.Caption(h1,1) = 2
		.Caption(h1,2) = 5
		.Caption(h1,3) = 12
		h1 = .Add("Item 3")
		.Caption(h1,1) = 2
		.Caption(h1,2) = 2
		.Caption(h1,3) = 4
		h1 = .Add("Item 4")
		.Caption(h1,1) = 2
		.Caption(h1,2) = 9
		.Caption(h1,3) = 4
	End With
	.EndUpdate 
End With
382:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

With List1
	.BeginUpdate 
	.ScrollBars = DisableBoth
	With .Columns
		.Add "C1"
		.Add "C2"
		.Add "C3"
		.Add "C4"
		.Add "C5"
		.Add "C6"
		.Add "C7"
		.Add "C8"
	End With
	.RightToLeft = True
	.EndUpdate 
End With
381:
Can I display the cell's check box after the text

With List1
	With .Columns.Add("Column")
		.Def(exCellHasCheckBox) = True
		.Def(exCellDrawPartsOrder) = "caption,check"
	End With
	With .Items
		.CellHasCheckBox(.Add("Caption 1"),0) = True
		.CellHasCheckBox(.Add("Caption 2"),0) = True
	End With
End With
380:
Can I change the order of the parts in the cell, as checkbox after the text, and so on

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add("Column").Def(exCellDrawPartsOrder) = "caption,check,icon,icons,picture"
	With .Items
		h = .Add("Text")
		.CellImage(h,0) = 1
		.CellHasCheckBox(h,0) = True
	End With
End With
379:
Can I have an image displayed after the text. Can I get that effect without using HTML content

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add("Column").Def(exCellDrawPartsOrder) = "caption,icon,check,icons,picture"
	With .Items
		h = .Add("Text")
		.CellImage(h,0) = 1
	End With
End With
378:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

With List1
	.BeginUpdate 
	.ScrollBars = DisableBoth
	With .Columns
		.Add "C1"
		.Add "C2"
		.Add "C3"
		.Add "C4"
		.Add "C5"
		.Add "C6"
		.Add "C7"
		.Add "C8"
	End With
	.RightToLeft = True
	.EndUpdate 
End With
377:
How can I change the foreground color for a particular column

With List1
	With .Columns
		.Add "Column 1"
		.Add("Column 2").Def(exHeaderForeColor) = 8439039
		.Add "Column 3"
	End With
End With
376:
How can I change the background color for a particular column

With List1
	With .Columns
		.Add "Column 1"
		.Add("Column 2").Def(exHeaderBackColor) = 8439039
		.Add "Column 3"
	End With
End With
375:
How can I display the column using currency format and enlarge the font for certain values

With List1
	With .Columns.Add("Currency")
		.Def(exCaptionFormat) = 1
		.FormatColumn = "len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)"
	End With
	With .Items
		.Add "1.23"
		.Add "2.34"
		.Add "9.94"
		.Add "11.94"
		.Add "1000"
	End With
End With
374:
How can I highlight only parts of the cells

With List1
	With .Columns.Add("")
		.Def(exCaptionFormat) = 1
		.FormatColumn = "value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'"
	End With
	With .Items
		h = .Add("Root")
		.Add "Child 1"
		.Add "Child 2"
		.Add "Child 3"
	End With
End With
373:
How can I get the number of occurrences of a specified string in the cell

With List1
	.Columns.Add ""
	With .Columns.Add("occurrences")
		.ComputedField = "lower(%0) count 'o'"
		.FormatColumn = "'contains ' + value + ' of \'o\' chars'"
	End With
	With .Items
		h = .Add("Root")
		.Add "Child 1 oooof the root"
		.Add "Child 2"
		.Add "Child 3"
	End With
End With
372:
How can I display dates in my format

With List1
	With .Columns.Add("Date")
		.Def(exCaptionFormat) = 1
		.FormatColumn = "'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'"
	End With
	With .Items
		.Add #1/21/2001#
		.Add #2/22/2002#
		.Add #3/13/2003#
		.Add #4/24/2004#
	End With
End With
371:
How can I display dates in short format

With List1
	.Columns.Add("Date").FormatColumn = "shortdate(value)"
	With .Items
		.Add #1/1/2001#
		.Add #2/2/2002#
		.Add #3/3/2003#
		.Add #4/4/2004#
	End With
End With
370:
How can I display dates in long format

With List1
	.Columns.Add("Date").FormatColumn = "longdate(value)"
	With .Items
		.Add #1/1/2001#
		.Add #2/2/2002#
		.Add #3/3/2003#
		.Add #4/4/2004#
	End With
End With
369:
How can I display only the right part of the cell

With List1
	.Columns.Add ""
	With .Columns.Add("Right")
		.ComputedField = "%0 right 2"
		.FormatColumn = "'""' + value + '""'"
	End With
	With .Items
		h = .Add("Root")
		.Add "Child 1"
		.Add "Child 2"
		.Add "SChild 3"
	End With
End With
368:
How can I display only the left part of the cell

With List1
	.Columns.Add ""
	.Columns.Add("Left").ComputedField = "%0 left 2"
	With .Items
		h = .Add("Root")
		.Add "Child 1"
		.Add "Child 2"
		.Add "SChild 3"
	End With
End With
367:
How can I display true or false instead 0 and -1

With List1
	.Columns.Add("Boolean").FormatColumn = "value != 0 ? 'true' : 'false'"
	With .Items
		.Add True
		.Add False
		.Add True
		.Add 0
		.Add 1
	End With
End With
366:
How can I display icons or images instead numbers

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	With .Columns.Add("Icons")
		.Def(exCaptionFormat) = 1
		.FormatColumn = "'The cell displays the icon <img>'+value+'</img> instead ' + value"
	End With
	With .Items
		.Add 1
		.Add 2
		.Add 3
	End With
End With
365:
How can I display the column using currency

With List1
	.Columns.Add("Currency").FormatColumn = "currency(dbl(value))"
	With .Items
		.Add "1.23"
		.Add "2.34"
		.Add "0"
		.Add 5
		.Add "10000.99"
	End With
End With
364:
Is is possible to use HTML tags to display in the filter caption

With List1
	.BeginUpdate 
	.FilterBarPromptVisible = True
	.FilterBarCaption = "This is a bit of text being displayed in the filter bar."
	.Columns.Add ""
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
	End With
	.EndUpdate 
End With
363:
How can I find the number of items after filtering
With List1
	.BeginUpdate 
	.Columns.Add ""
	With .Items
		h = .Add("")
		.Caption(h,0) = .VisibleItemCount
	End With
	.EndUpdate 
End With
362:
How can I change the filter caption

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptWords Or FilterPromptEnum.exFilterPromptContainsAll
	.FilterBarPromptPattern = "london robert"
	.FilterBarCaption = "<r>Found: ... "
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
361:
While using the filter prompt is it is possible to use wild characters

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptPattern
	.FilterBarPromptPattern = "lon* seat*"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
360:
How can I list all items that contains any of specified words, not necessary at the beggining

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptStartWords Or FilterPromptEnum.exFilterPromptContainsAny
	.FilterBarPromptPattern = "london davolio"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
359:
How can I list all items that contains any of specified words, not strings

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptWords Or FilterPromptEnum.exFilterPromptContainsAny
	.FilterBarPromptPattern = "london nancy"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
358:
How can I list all items that contains all specified words, not strings

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptWords Or FilterPromptEnum.exFilterPromptContainsAll
	.FilterBarPromptPattern = "london robert"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
357:
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptCaseSensitive Or FilterPromptEnum.exFilterPromptContainsAny
	.FilterBarPromptPattern = "Anne"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
356:
Is it possible to list only items that ends with any of specified strings

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptEndWith
	.FilterBarPromptColumns = "0"
	.FilterBarPromptPattern = "Fuller"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
355:
Is it possible to list only items that ends with any of specified strings

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptEndWith
	.FilterBarPromptColumns = "0"
	.FilterBarPromptPattern = "Fuller"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
354:
Is it possible to list only items that starts with any of specified strings

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptStartWith
	.FilterBarPromptColumns = "0"
	.FilterBarPromptPattern = "An M"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
353:
Is it possible to list only items that starts with specified string

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptStartWith
	.FilterBarPromptColumns = "0"
	.FilterBarPromptPattern = "A"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
352:
How can I specify that the list should include any of the seqeunces in the pattern

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptContainsAny
	.FilterBarPromptPattern = "london seattle"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
351:
How can I specify that all sequences in the filter pattern must be included in the list

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptType = exFilterPromptContainsAll
	.FilterBarPromptPattern = "london manager"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
350:
How do I change at runtime the filter prompt

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptPattern = "london manager"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
349:
How do I specify to filter only a single column when using the filter prompt

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPromptColumns = "2,3"
	.FilterBarPromptPattern = "london"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
348:
How do I change the prompt or the caption being displayed in the filter bar

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	.FilterBarPrompt = "changed"
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	.EndUpdate 
End With
347:
How do I enable the filter prompt feature

With List1
	.BeginUpdate 
	.ColumnAutoResize = True
	.ContinueColumnScroll = 0
	.MarkSearchColumn = False
	.SearchColumnIndex = 1
	.FilterBarPromptVisible = True
	With .Columns
		.Add("Name").Width = 96
		.Add("Title").Width = 96
		.Add "City"
	End With
	With .Items
		h0 = .Add("Nancy Davolio")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Andrew Fuller")
		.Caption(h0,1) = "Vice President, Sales"
		.Caption(h0,2) = "Tacoma"
		.SelectItem(h0) = True
		h0 = .Add("Janet Leverling")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Kirkland"
		h0 = .Add("Margaret Peacock")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "Redmond"
		h0 = .Add("Steven Buchanan")
		.Caption(h0,1) = "Sales Manager"
		.Caption(h0,2) = "London"
		h0 = .Add("Michael Suyama")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Robert King")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
		h0 = .Add("Laura Callahan")
		.Caption(h0,1) = "Inside Sales Coordinator"
		.Caption(h0,2) = "Seattle"
		h0 = .Add("Anne Dodsworth")
		.Caption(h0,1) = "Sales Representative"
		.Caption(h0,2) = "London"
	End With
	.EndUpdate 
End With
346:
Is it possible to change the style for the vertical or horizontal grid lines, in the list area

With List1
	.BeginUpdate 
	.DrawGridLines = exAllLines
	.GridLineStyle = GridLinesStyleEnum.exGridLinesVSolid Or GridLinesStyleEnum.exGridLinesHDot4
	.Columns.Add "C1"
	.Columns.Add "C2"
	.Columns.Add "C3"
	With .Items
		h = .Add("Item 1")
		.Caption(h,1) = "SubItem 1.2"
		.Caption(h,2) = "SubItem 1.3"
		h = .Add("Item 2")
		.Caption(h,1) = "SubItem 2.2"
		.Caption(h,2) = "SubItem 2.3"
	End With
	.EndUpdate 
End With
345:
Is it possible to change the style for the grid lines, for instance to be solid not dotted

With List1
	.BeginUpdate 
	.DrawGridLines = exAllLines
	.GridLineStyle = exGridLinesSolid
	.Columns.Add "Column"
	.EndUpdate 
End With
344:
How can I filter programatically using more columns

With List1
	.BeginUpdate 
	.MarkSearchColumn = False
	With .Columns
		.Add "Car"
		.Add "Equipment"
	End With
	With .Items
		.Caption(.Add("Mazda"),1) = "Air Bag"
		.Caption(.Add("Toyota"),1) = "Air Bag,Air condition"
		.Caption(.Add("Ford"),1) = "Air condition"
		.Caption(.Add("Nissan"),1) = "Air Bag,ABS,ESP"
		.Caption(.Add("Mazda"),1) = "Air Bag, ABS,ESP"
		.Caption(.Add("Mazda"),1) = "ABS,ESP"
	End With
	With .Columns.Item("Car")
		.FilterType = exFilter
		.Filter = "Mazda"
	End With
	With .Columns.Item("Equipment")
		.FilterType = exPattern
		.Filter = "*ABS*|*ESP*"
	End With
	.ApplyFilter 
	.EndUpdate 
End With
343:
How do I find an item based on my extra data

With List1
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.ItemData(.Add("Item 3")) = 1234
		.Add "Item 4"
		.ItemBold(.FindItemData(1234)) = True
	End With
End With
342:
How do I print the control's content

With List1
	.BeginUpdate 
	.Columns.Add "Number"
	.Columns.Add("Currency").ComputedField = "len(%0) ? currency(dbl(%0)) : ''"
	With .Items
		.Add "1.23"
		.Add "2.34"
		.Add "0"
		.ItemBackColor(.Add()) = RGB(255,128,128)
		.Add "10000.99"
	End With
	.EndUpdate 
	With CreateObject("Exontrol.Print")
		.PrintExt = List1.Object
		.Preview 
	End With
End With
341:
How can I display the currency only for not empty cells
With List1
	.Columns.Add "Number"
	.Columns.Add("Currency").ComputedField = "len(%0) ? currency(dbl(%0)) : ''"
	With .Items
		.Add "1.23"
		.Add "2.34"
		.Add "0"
		.ItemBackColor(.Add()) = RGB(255,128,128)
		.Add "10000.99"
	End With
End With
340:
Is there a function to display the number of days between two date including the number of hours

With List1
	.Columns.Add("Start").Width = 32
	.Columns.Add "End"
	.Columns.Add("Duration").ComputedField = "2:=((1:=int(0:= date(%1)-date(%0))) = 0 ? '' : str(=:1) + ' day(s)') + ( 3:=round(24*(=:0-floor(=:0))) ? (len(=:2) ? ' and ' : " & _
"'') + =:3 + ' hour(s)' : '' )"
	With .Items
		h = .Add(#1/11/2001#)
		.Caption(h,1) = #1/14/2001#
		h = .Add(#2/22/2002 0:00:00 PM#)
		.Caption(h,1) = #3/14/2002 1:00:00 PM#
		h = .Add(#3/13/2003#)
		.Caption(h,1) = #4/11/2003 11:00:00 AM#
	End With
End With
339:
Is there a function to display the number of days between two date including the number of hours

With List1
	.Columns.Add "Start"
	.Columns.Add "End"
	.Columns.Add("Duration").ComputedField = """D "" + int(date(%1)-date(%0)) + "" H "" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))"
	With .Items
		h = .Add(#1/11/2001#)
		.Caption(h,1) = #1/14/2001 11:00:00 PM#
		h = .Add(#2/22/2002 0:00:00 PM#)
		.Caption(h,1) = #3/14/2002 1:00:00 PM#
		h = .Add(#3/13/2003#)
		.Caption(h,1) = #4/11/2003 11:00:00 AM#
	End With
End With
338:
How can I display the number of days between two dates

With List1
	.Columns.Add "Start"
	.Columns.Add "End"
	.Columns.Add("Duration").ComputedField = "(date(%1)-date(%0)) + ' days'"
	With .Items
		h = .Add(#1/11/2001#)
		.Caption(h,1) = #1/14/2001#
		h = .Add(#2/22/2002#)
		.Caption(h,1) = #3/14/2002#
		h = .Add(#3/13/2003#)
		.Caption(h,1) = #4/11/2003#
	End With
End With
337:
How can I get second part of the date

With List1
	.Columns.Add "Date"
	.Columns.Add("Second").ComputedField = "sec(date(%0))"
	With .Items
		.Add #1/11/2001 10:10:00 AM#
		.Add #2/22/2002 11:01:22 AM#
		.Add #3/13/2003 0:23:01 PM#
		.Add #4/14/2004 1:11:59 PM#
	End With
End With
336:
How can I get minute part of the date

With List1
	.Columns.Add "Date"
	.Columns.Add("Minute").ComputedField = "min(date(%0))"
	With .Items
		.Add #1/11/2001 10:10:00 AM#
		.Add #2/22/2002 11:01:00 AM#
		.Add #3/13/2003 0:23:00 PM#
		.Add #4/14/2004 1:11:00 PM#
	End With
End With
335:
How can I check the hour part only so I know it was afternoon

With List1
	.ConditionalFormats.Add("hour(%0)>=12").Bold = True
	.Columns.Add "Date"
	.Columns.Add("Hour").ComputedField = "hour(%0)"
	With .Items
		.Add #1/11/2001 10:00:00 AM#
		.Add #2/22/2002 11:00:00 AM#
		.Add #3/13/2003 0:00:00 PM#
		.Add #4/14/2004 1:00:00 PM#
	End With
End With
334:
What about a function to get the day in the week, or days since Sunday

With List1
	.Columns.Add "Date"
	.Columns.Add("WeekDay").ComputedField = "weekday(%0)"
	With .Items
		.Add #1/11/2001 10:00:00 AM#
		.Add #2/22/2002 11:00:00 AM#
		.Add #3/13/2003 0:00:00 PM#
		.Add #4/14/2004 1:00:00 PM#
	End With
End With
333:
Is there any function to get the day of the year or number of days since January 1st

With List1
	.Columns.Add "Date"
	.Columns.Add("Day since January 1st").ComputedField = "yearday(%0)"
	With .Items
		.Add #1/11/2001 10:00:00 AM#
		.Add #2/22/2002 11:00:00 AM#
		.Add #3/13/2003 0:00:00 PM#
		.Add #4/14/2004 1:00:00 PM#
	End With
End With
332:
How can I display only the day of the date

With List1
	.Columns.Add "Date"
	.Columns.Add("Day").ComputedField = "day(%0)"
	With .Items
		.Add #1/11/2001 10:00:00 AM#
		.Add #2/22/2002 11:00:00 AM#
		.Add #3/13/2003 0:00:00 PM#
		.Add #4/14/2004 1:00:00 PM#
	End With
End With
331:
How can I display only the month of the date

With List1
	.Columns.Add "Date"
	.Columns.Add("Month").ComputedField = "month(%0)"
	With .Items
		.Add #1/1/2001 10:00:00 AM#
		.Add #2/2/2002 11:00:00 AM#
		.Add #3/3/2003 0:00:00 PM#
		.Add #4/4/2004 1:00:00 PM#
	End With
End With
330:
How can I get only the year part from a date expression

With List1
	.Columns.Add "Date"
	.Columns.Add("Year").ComputedField = "year(%0)"
	With .Items
		.Add #1/1/2001 10:00:00 AM#
		.Add #2/2/2002 11:00:00 AM#
		.Add #3/3/2003 0:00:00 PM#
		.Add #4/4/2004 1:00:00 PM#
	End With
End With
329:
Can I convert the expression to date

With List1
	.Columns.Add "Number"
	.Columns.Add("Date").ComputedField = "date(dbl(%0))"
	With .Items
		.Add "-1.98"
		.Add "30000.99"
		.Add "3561.23"
		.Add "1232.34"
	End With
End With
328:
Can I convert the expression to a number, double or float

With List1
	.Columns.Add "Number"
	.Columns.Add("Number + 2").ComputedField = "dbl(%0)+2"
	With .Items
		.Add "-1.98"
		.Add "0.99"
		.Add "1.23"
		.Add "2.34"
	End With
End With
327:
How can I display dates in long format

With List1
	.Columns.Add "Date"
	.Columns.Add("LongFormat").ComputedField = "longdate(%0)"
	With .Items
		.Add #1/1/2001 10:00:00 AM#
		.Add #2/2/2002 11:00:00 AM#
		.Add #3/3/2003 0:00:00 PM#
		.Add #4/4/2004 1:00:00 PM#
	End With
End With
326:
How can I display dates in short format

With List1
	.Columns.Add "Date"
	.Columns.Add("ShortFormat").ComputedField = "shortdate(%0)"
	With .Items
		.Add #1/1/2001 10:00:00 AM#
		.Add #2/2/2002 11:00:00 AM#
		.Add #3/3/2003 0:00:00 PM#
		.Add #4/4/2004 1:00:00 PM#
	End With
End With
325:
How can I display the time only of a date expression

With List1
	.Columns.Add "Date"
	.Columns.Add("Time").ComputedField = "'time is:' + time(date(%0))"
	With .Items
		.Add #1/1/2001 10:00:00 AM#
		.Add #2/2/2002 11:00:00 AM#
		.Add #3/3/2003 0:00:00 PM#
		.Add #4/4/2004 1:00:00 PM#
	End With
End With
324:
Is there any function to display currencies, or money formatted as in the control panel

With List1
	.Columns.Add "Number"
	.Columns.Add("Currency").ComputedField = "currency(dbl(%0))"
	With .Items
		.Add "1.23"
		.Add "2.34"
		.Add "10000.99"
	End With
End With
323:
How can I convert the expression to a string so I can look into the date string expression for month's name

With List1
	.Columns.Add "Number"
	.Columns.Add("Str").ComputedField = "str(%0) + ' AA'"
	With .Items
		.Add "-1.98"
		.Add "0.99"
		.Add "1.23"
		.Add "2.34"
	End With
End With
322:
Can I display the absolute value or positive part of the number

With List1
	.Columns.Add "Number"
	.Columns.Add("Abs").ComputedField = "abs(%0)"
	With .Items
		.Add "-1.98"
		.Add "0.99"
		.Add "1.23"
		.Add "2.34"
	End With
End With
321:
Is there any function to get largest number with no fraction part that is not greater than the value

With List1
	.Columns.Add "Number"
	.Columns.Add("Floor").ComputedField = "floor(%0)"
	With .Items
		.Add "-1.98"
		.Add "0.99"
		.Add "1.23"
		.Add "2.34"
	End With
End With
320:
Is there any function to round the values base on the .5 value

With List1
	.Columns.Add "Number"
	.Columns.Add("Round").ComputedField = "round(%0)"
	With .Items
		.Add "-1.98"
		.Add "0.99"
		.Add "1.23"
		.Add "2.34"
	End With
End With
319:
How can I get or display the integer part of the cell

With List1
	.Columns.Add "Number"
	.Columns.Add("Int").ComputedField = "int(%0)"
	With .Items
		.Add "-1.98"
		.Add "0.99"
		.Add "1.23"
		.Add "2.34"
	End With
End With
318:
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )

With List1
	.Columns.Add("").ComputedField = "proper(%0)"
	With .Items
		h = .Add("Item 1")
		.Add "item item"
		.Add "item item"
		.Add "item item"
	End With
End With
317:
Is there any option to display cells in uppercase

With List1
	.Columns.Add("").ComputedField = "upper(%0)"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add "Item 3"
		.Add "Item 4 - child"
	End With
End With
316:
Is there any option to display cells in lowercase

With List1
	.Columns.Add("").ComputedField = "lower(%0)"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add "Item 3"
		.Add "Item 4 - child"
	End With
End With
315:
How can I mark the cells that has a specified type, ie strings only

With List1
	.ConditionalFormats.Add("type(%0) = 8").ForeColor = RGB(255,0,0)
	.Columns.Add ""
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add 2
		.Add "Item 4 - child"
	End With
End With
314:
How can I bold the items that contains data or those who displays empty strings

With List1
	.ConditionalFormats.Add("not len(%1)=0").Bold = True
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		hC = .Add("Item 3")
		.Caption(hC,1) = "1"
		.Add "Item 3"
	End With
End With
313:
Can I change the background color for items or cells that contains a specified string

With List1
	.ConditionalFormats.Add("%0 contains 'hi'").BackColor = RGB(255,0,0)
	.Columns.Add ""
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.Add "Item 4 - child"
	End With
End With
312:
Is there any option to change the fore color for cells or items that ends with a specified string

With List1
	.ConditionalFormats.Add("%0 endwith '22'").ForeColor = RGB(255,0,0)
	.Columns.Add ""
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 1.22"
		.Add "Item 2.22"
	End With
End With
311:
How can I highlight the cells or items that starts with a specified string

With List1
	.ConditionalFormats.Add("%0 startwith 'C'").Underline = True
	.Columns.Add ""
	With .Items
		.Add "Item 1"
		.Add "CItem 2"
		.Add "Item 3"
		.Add "Item 4"
	End With
End With
310:
How can I change the foreground color for a particular column

With List1
	With .Columns
		.Add "Column 1"
		.Add("Column 2").Def(exHeaderForeColor) = 8439039
		.Add "Column 3"
	End With
End With
309:
How can I change the background color for a particular column

With List1
	With .Columns
		.Add "Column 1"
		.Add("Column 2").Def(exHeaderBackColor) = 8439039
		.Add "Column 3"
	End With
End With
308:
How can I display the column's header using multiple lines

With List1
	.HeaderHeight = 128
	.HeaderSingleLine = False
	.Columns.Add("This is just a column that should break the header.").Width = 32
	.Columns.Add "This is just another column that should break the header."
End With
307:
How can I align the text/caption on the scroll bar

With List1
	.ScrollPartCaption(exHScroll,exLowerBackPart) = "left"
	.ScrollPartCaptionAlignment(exHScroll,exLowerBackPart) = LeftAlignment
	.ScrollPartCaption(exHScroll,exUpperBackPart) = "right"
	.ScrollPartCaptionAlignment(exHScroll,exUpperBackPart) = RightAlignment
	.ColumnAutoResize = False
	.Columns.Add 1
	.Columns.Add 2
	.Columns.Add 3
	.Columns.Add 4
	.Columns.Add 5
	.Columns.Add 6
End With
306:
How do I select the next row/item

With List1
	.Columns.Add "Column"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.SelectItem(.NextVisibleItem(.FocusItem)) = True
	End With
End With
305:
How do I enable resizing ( changing the height ) the items at runtime

With List1
	.ItemsAllowSizing = exResizeItem
	.DrawGridLines = exHLines
	.ScrollBySingleLine = True
	.Columns.Add "Column"
	.Items.Add "Item 1"
	With .Items
		.ItemHeight(.Add("Item 2")) = 48
	End With
	.Items.Add "Item 3"
	.Items.Add "Item 4"
End With
304:
How do I enable resizing all the items at runtime

With List1
	.ItemsAllowSizing = exResizeAllItems
	.DrawGridLines = exHLines
	.Columns.Add "Column"
	.Items.Add "Item 1"
	With .Items
		.ItemHeight(.Add("Item 2")) = 48
	End With
	.Items.Add "Item 3"
End With
303:
How can I remove the filter

With List1
	With .Columns.Add("Column")
		.DisplayFilterButton = True
		.FilterType = exBlanks
	End With
	.ApplyFilter 
	.ClearFilter 
End With
302:
How do I change the control's border, using your EBN files

With List1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Appearance = &H1000000
End With
301:
Can I change the style for break or divider line

With List1
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		h = .Add()
		.ItemBreak(h) = DoubleLine
		.SelectableItem(h) = False
		.Add "Item 3"
	End With
End With
300:
Can I add any break or divider line

With List1
	.ScrollBySingleLine = False
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		h = .Add()
		.ItemBreak(h) = SingleLine
		.SelectableItem(h) = False
		.ItemHeight(h) = 6
		.Add "Item 3"
	End With
End With
299:
Can I change the default border of the tooltip, using your EBN files

With List1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Background(exToolTipAppearance) = &H1000000
	.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
298:
Can I change the background color for the tooltip

With List1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Background(exToolTipBackColor) = RGB(255,0,0)
	.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
297:
Does the tooltip support HTML format

With List1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Columns.Add("tootip").ToolTip = "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgcolor>"
End With
296:
Can I change the forecolor for the tooltip

With List1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Background(exToolTipForeColor) = RGB(255,0,0)
	.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
End With
295:
Can I change the foreground color for the tooltip

With List1
	.ToolTipDelay = 1
	.ToolTipWidth = 364
	.Columns.Add("tootip").ToolTip = "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>"
End With
294:
Is there any function to limit the height of the items when I display it using multiple lines

With List1
	.ScrollBySingleLine = True
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines."
		.CellSingleLine(h,1) = False
		.ItemMaxHeight(h) = 48
	End With
End With
293:
Why I cannot center my cells in the column

With List1
	.DrawGridLines = exAllLines
	.Columns.Add("Default").Alignment = CenterAlignment
	.Items.Add "item 1"
	.Items.Add "item 2"
	.Items.Add "item 3"
End With
292:
How can I align the cell to the left, center or to the right

With List1
	.DrawGridLines = exAllLines
	.Columns.Add "Default"
	With .Items
		.CellHAlignment(.Add("left"),0) = LeftAlignment
		.CellHAlignment(.Add("center"),0) = CenterAlignment
		.CellHAlignment(.Add("right"),0) = RightAlignment
	End With
End With
291:
How do I apply HTML format to a cell

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"
	.HTMLPicture("p2") = "c:\exontrol\images\auction.gif"
	.Columns.Add "Default"
	With .Items
		h = .Add("The following item shows some of the HTML format supported:")
		.CellHAlignment(h,0) = CenterAlignment
		h = .Add("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <" & _
"u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolo" & _
"r</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ")
		.CaptionFormat(h,0) = exHTML
		.CellSingleLine(h,0) = False
	End With
End With
290:
How can I change the font for a cell

With List1
	.Columns.Add "Default"
	.Items.Add "std font"
	With .Items
		.CaptionFormat(.Add("this <font tahoma;12>is a bit of text with</font> a different font"),0) = exHTML
	End With
End With
289:
How can I change the font for a cell

With List1
	.Columns.Add "Default"
	.Items.Add "default font"
	Set f = CreateObject("StdFont")
	With f
		.Name = "Tahoma"
		.Size = 12
	End With
	With .Items
		.CellFont(.Add("new font"),0) = f
	End With
End With
288:
How can I change the font for entire item

With List1
	.Columns.Add "Default"
	.Items.Add "default font"
	Set f = CreateObject("StdFont")
	With f
		.Name = "Tahoma"
		.Size = 12
	End With
	With .Items
		.ItemFont(.Add("new font")) = f
	End With
End With
287:
How do I vertically align a cell

With List1
	.DrawGridLines = exAllLines
	.Columns.Add("MultipleLine").Def(exCellSingleLine) = False
	.Columns.Add "VAlign"
	With .Items
		h = .Add("This is a bit of long text that should break the line")
		.Caption(h,1) = "top"
		.CellVAlignment(h,1) = TopAlignment
		h = .Add("This is a bit of long text that should break the line")
		.Caption(h,1) = "middle"
		.CellVAlignment(h,1) = MiddleAlignment
		h = .Add("This is a bit of long text that should break the line")
		.Caption(h,1) = "bottom"
		.CellVAlignment(h,1) = BottomAlignment
	End With
End With
286:
How can I change the position of an item

With List1
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.ItemPosition(.Add("Item 3")) = 0
	End With
End With
285:
How do I find an item

With List1
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.ItemBold(.FindItem("Item 2",0)) = True
	End With
End With
284:
How can I insert a hyperlink or an anchor element

With List1
	.Columns.Add "Column"
	With .Items
		.CaptionFormat(.Add("Just an <a1>anchor</a> element ..."),0) = exHTML
	End With
	With .Items
		.CaptionFormat(.Add("Just another <a2>anchor</a> element ..."),0) = exHTML
	End With
End With
283:
How do I find the handle of the item based on its index

With List1
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add "Item 3"
		.ItemBold(1) = True
	End With
End With
282:
How can I find the cell being clicked in a radio group

With List1
	.MarkSearchColumn = False
	.SelBackColor = RGB(255,255,128)
	.SelForeColor = RGB(0,0,0)
	.Columns.Add "C1"
	.Columns.Add "C2"
	.Columns.Add "C3"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Radio 1"
		.CellHasRadioButton(h,1) = True
		.CellRadioGroup(h,1) = 1234
		.Caption(h,2) = "Radio 2"
		.CellHasRadioButton(h,2) = True
		.CellRadioGroup(h,2) = 1234
		.CellState(h,1) = 1
		.CellChecked 1234,i,c
		.CellBold(i,c) = True
	End With
End With
281:
Can I let the user to resize at runtime the specified item

With List1
	.ScrollBySingleLine = True
	.DrawGridLines = exAllLines
	.Columns.Add "Default"
	With .Items
		.ItemAllowSizing(.Add("resizable item")) = True
		.Add "not resizable item"
	End With
End With
280:
How can I change the size ( width, height ) of the picture

With List1
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.CellPictureWidth(h,0) = 24
		.CellPictureHeight(h,0) = 24
		.ItemHeight(h) = 32
		h = .Add("Item 2")
		.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.ItemHeight(h) = 48
	End With
End With
279:
How can I find the number or the count of selected items

With List1
	.SingleSel = False
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add "Item 3"
		.SelectItem(.FirstVisibleItem) = True
		.SelectItem(.NextVisibleItem(.FirstVisibleItem)) = True
		.Add .SelectCount
	End With
End With
278:
How do I unselect an item

With List1
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add "Item 3"
		.SelectItem(h) = False
	End With
End With
277:
How do I find the selected item

With List1
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.Add "Item 2"
		.Add "Item 3"
		.SelectItem(h) = True
		.ItemBold(.SelectedItem(0)) = True
	End With
End With
276:
How do I un select all items

With List1
	.SingleSel = False
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.UnselectAll 
	End With
End With
275:
How do I select multiple items

With List1
	.SingleSel = False
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.SelectItem(.FirstVisibleItem) = True
		.SelectItem(.NextVisibleItem(.FirstVisibleItem)) = True
	End With
End With
274:
How do I select all items

With List1
	.SingleSel = False
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.SelectAll 
	End With
End With
273:
How do I select an item

With List1
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.SelectItem(.NextVisibleItem(.FocusItem)) = True
	End With
End With
272:
Can I display a button with some picture or icon inside

With List1
	.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " Button <img>p1</img> "
		.CaptionFormat(h,1) = exHTML
		.CellHAlignment(h,1) = RightAlignment
		.CellHasButton(h,1) = True
		.ItemHeight(h) = 48
	End With
End With
271:
Can I display a button with some picture or icon inside

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " Button <img>1</img> "
		.CaptionFormat(h,1) = exHTML
		.CellHAlignment(h,1) = RightAlignment
		.CellHasButton(h,1) = True
	End With
End With
270:
Can I display a button with some icon inside

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " <img>1</img> "
		.CaptionFormat(h,1) = exHTML
		.CellHAlignment(h,1) = RightAlignment
		.CellHasButton(h,1) = True
	End With
End With
269:
How can I assign multiple icon/picture to a cell

With List1
	.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"
	.HTMLPicture("p2") = "c:\exontrol\images\auction.gif"
	.Columns.Add "Default"
	With .Items
		h = .Add("text <img>p1</img> another picture <img>p2</img> and so on")
		.CaptionFormat(h,0) = exHTML
		.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\exontrol\images\colorize.gif`)")
		.ItemHeight(h) = 48
		.Add "Item 2"
	End With
End With
268:
How can I assign an icon/picture to a cell

With List1
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
		.ItemHeight(h) = 48
		.Add "Item 2"
	End With
End With
267:
How can I assign multiple icons/pictures to a cell

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add "Default"
	With .Items
		h = .Add("Item <img>1</img> 1, <img>2</img>, ... and so on ")
		.CaptionFormat(h,0) = exHTML
	End With
End With
266:
How can I assign multiple icons/pictures to a cell

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.CellImages(h,0) = "1,2,3"
	End With
End With
265:
How can I assign an icon/picture to a cell

With List1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		.CellImage(h,0) = 1
		.CellImage(.Add("Item 2"),0) = 2
		.CellImage(.Add("Item 3"),0) = 3
	End With
End With
264:
How can I display a button inside the item or cell

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = " Button 1 "
		.CellHAlignment(h,1) = RightAlignment
		.CellHasButton(h,1) = True
		h = .Add("Cell 2")
		.Caption(h,1) = " Button 2 "
		.CellHAlignment(h,1) = CenterAlignment
		.CellHasButton(h,1) = True
	End With
End With
263:
How can I change the state of a radio button

With List1
	.MarkSearchColumn = False
	.SelBackColor = RGB(255,255,128)
	.SelForeColor = RGB(0,0,0)
	.Columns.Add "C1"
	.Columns.Add "C2"
	.Columns.Add "C3"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Radio 1"
		.CellHasRadioButton(h,1) = True
		.CellRadioGroup(h,1) = 1234
		.Caption(h,2) = "Radio 2"
		.CellHasRadioButton(h,2) = True
		.CellRadioGroup(h,2) = 1234
		.CellState(h,1) = 1
	End With
End With
262:
How can I assign a radio button to a cell

With List1
	.MarkSearchColumn = False
	.SelBackColor = RGB(255,255,128)
	.SelForeColor = RGB(0,0,0)
	.Columns.Add "C1"
	.Columns.Add "C2"
	.Columns.Add "C3"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Radio 1"
		.CellHasRadioButton(h,1) = True
		.CellRadioGroup(h,1) = 1234
		.Caption(h,2) = "Radio 2"
		.CellHasRadioButton(h,2) = True
		.CellRadioGroup(h,2) = 1234
		.CellState(h,1) = 1
	End With
End With
261:
How can I change the state of a checkbox

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Check Box"
		.CellHasCheckBox(h,1) = True
		.CellState(h,1) = 1
	End With
End With
260:
How can I assign a checkbox to a cell

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Check Box"
		.CellHasCheckBox(h,1) = True
	End With
End With
259:
How can I display an item or a cell on multiple lines

With List1
	.ScrollBySingleLine = True
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "This is bit of text that's shown on multiple lines"
		.CellSingleLine(h,1) = False
	End With
End With
258:
How can I assign a tooltip to a cell

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "tooltip"
		.CellToolTip(h,1) = "This is bit of text that's shown when the user hovers the cell"
	End With
End With
257:
How can I associate an extra data to a cell

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellData(h,1) = "your extra data"
	End With
End With
256:
How do I enable or disable a cell

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellEnabled(h,1) = False
	End With
End With
255:
How do I change the cell's foreground color

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellForeColor(h,1) = RGB(255,0,0)
	End With
End With
254:
How do I change the visual effect for the cell, using your EBN files

With List1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellBackColor(h,1) = &H1000000
	End With
End With
253:
How do I change the cell's background color

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		h = .Add("Cell 1")
		.Caption(h,1) = "Cell 2"
		.CellBackColor(h,1) = RGB(255,0,0)
	End With
End With
252:
How do I change the caption or value for a particular cell

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		.Caption(.Add("Cell 1"),1) = "Cell 2"
	End With
End With
251:
How do I retrieve the focused item

With List1
	.Columns.Add "Default"
	With .Items
		.Add "Item 1"
		.Add "Item 2"
		.Add "Item 3"
		.ItemBold(.FocusItem) = True
	End With
End With
250:
How do I enumerate the visible items

With List1
	.Columns.Add "Default"
	With .Items
		h = .Add("Item 1")
		h = .Add("Item 2")
		.ItemBold(.FirstVisibleItem) = True
		.ItemBold(.NextVisibleItem(.FirstVisibleItem)) = True
	End With
End With
249:
How can I make an item unselectable, or not selectable

With List1
	.Columns.Add "Column"
	With .Items
		h = .Add("unselectable - you can't get selected")
		.SelectableItem(h) = False
		.Add "selectable"
	End With
End With
248:
How can I hide or show an item

With List1
	.Columns.Add "Column"
	With .Items
		h = .Add("hidden")
		.ItemHeight(h) = 0
		.SelectableItem(h) = False
		.Add "visible"
	End With
End With
247:
How can I change the height for all items

With List1
	.DefaultItemHeight = 32
	.Columns.Add "Column"
	.Items.Add "One"
	.Items.Add "Two"
End With
246:
How do I change the height of an item

With List1
	.ScrollBySingleLine = True
	.Columns.Add "Default"
	With .Items
		.ItemHeight(.Add("height")) = 128
	End With
	.Items.Add "enabled"
End With
245:
How do I disable or enable an item

With List1
	.Columns.Add "Default"
	With .Items
		.EnableItem(.Add("disabled")) = False
	End With
	.Items.Add "enabled"
End With
244:
How do I display as strikeout a cell

With List1
	.Columns.Add "Default"
	With .Items
		.CellStrikeOut(.Add("strikeout"),0) = True
	End With
End With
243:
How do I display as strikeout a cell or an item

With List1
	.Columns.Add "Default"
	With .Items
		.CaptionFormat(.Add("gets <s>strikeout</s> only a portion of text"),0) = exHTML
	End With
End With
242:
How do I display as strikeout an item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemStrikeOut(.Add("strikeout")) = True
	End With
End With
241:
How do I underline a cell

With List1
	.Columns.Add "Default"
	With .Items
		.CellUnderline(.Add("underline"),0) = True
	End With
End With
240:
How do I underline a cell or an item

With List1
	.Columns.Add "Default"
	With .Items
		.CaptionFormat(.Add("gets <u>underline</u> only a portion of text"),0) = exHTML
	End With
End With
239:
How do I underline an item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemUnderline(.Add("underline")) = True
	End With
End With
238:
How do I display as italic a cell

With List1
	.Columns.Add "Default"
	With .Items
		.CellItalic(.Add("italic"),0) = True
	End With
End With
237:
How do I display as italic a cell or an item

With List1
	.Columns.Add "Default"
	With .Items
		.CaptionFormat(.Add("gets <i>italic</i> only a portion of text"),0) = exHTML
	End With
End With
236:
How do I display as italic an item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemItalic(.Add("italic")) = True
	End With
End With
235:
How do I bold a cell

With List1
	.Columns.Add "Default"
	With .Items
		.CellBold(.Add("bold"),0) = True
	End With
End With
234:
How do I bold a cell or an item

With List1
	.Columns.Add "Default"
	With .Items
		.CaptionFormat(.Add("gets <b>bold</b> only a portion of text"),0) = exHTML
	End With
End With
233:
How do I bold an item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemBold(.Add("bold")) = True
	End With
End With
232:
How do I change the foreground color for the item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemForeColor(.Add("Item")) = RGB(255,0,0)
	End With
End With
231:
How do I change the visual appearance for the item, using your EBN technology

With List1
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.Columns.Add "Default"
	With .Items
		.ItemBackColor(.Add("Item")) = &H1000000
	End With
End With
230:
How do I change the background color for the item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemBackColor(.Add("Item")) = RGB(255,0,0)
	End With
End With
229:
How do I associate an extra data to an item

With List1
	.Columns.Add "Default"
	With .Items
		.ItemData(.Add("item")) = "your extra data"
	End With
End With
228:
How do I programmatically edit a cell

' Click event - Occurs when the user presses and then releases the left mouse button over the list control.
Private Sub List1_Click()
	' Items.Edit(Items.FocusItem,0)
End Sub

With List1
	.AllowEdit = True
	.Columns.Add "Default"
	With .Items
		.Add ""
	End With
End With
227:
How can I ensure or scroll the control so the item fits the control's client area

With List1
	.Columns.Add "Default"
	h = .Items.Add("item")
	.Items.EnsureVisibleItem h
End With
226:
How can I remove or delete all items
With List1
	.Columns.Add "Default"
	.Items.Add "removed item"
	.Items.RemoveAll 
End With
225:
How can I remove or delete an item
With List1
	.Columns.Add "Default"
	h = .Items.Add("removed item")
	.Items.Remove h
End With
224:
How can I add or insert an item

With List1
	.Columns.Add "C1"
	.Columns.Add "C2"
	With .Items
		.Caption(.Add("Cell 1"),1) = "Cell 2"
		h = .Add("Cell 3")
		.Caption(h,1) = "Cell 4"
	End With
End With
223:
How can I add or insert an item

With List1
	.Columns.Add "Default"
	.Items.Add "new item"
End With
222:
How can I get the columns as they are shown in the control's sortbar
With List1
	Set var_Object = .Columns.ItemBySortPosition(0)
End With
221:
How can I access the properties of a column

With List1
	.Columns.Add "A"
	.Columns.Item("A").HeaderBold = True
End With
220:
How can I remove all the columns
With List1
	.Columns.Clear 
End With
219:
How can I remove a column
With List1
	.Columns.Remove "A"
End With
218:
How can I get the number or the count of columns
With List1
	var_Count = .Columns.Count
End With
217:
How can I change the font for all cells in the entire column

With List1
	Set f = CreateObject("StdFont")
	With f
		.Name = "Tahoma"
		.Size = 12
	End With
	With .ConditionalFormats.Add("1")
		.Font = f
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
216:
How can I change the background color for all cells in the column

With List1
	Set var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.BackColor = RGB(255,0,0)
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
215:
How can I change the foreground color for all cells in the column

With List1
	Set var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.ForeColor = RGB(255,0,0)
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
214:
How can I show as strikeout all cells in the column

With List1
	Set var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.StrikeOut = True
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
213:
How can I underline all cells in the column

With List1
	Set var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.Underline = True
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
212:
How can I show in italic all data in the column

With List1
	Set var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.Italic = True
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
211:
How can I bold the entire column

With List1
	Set var_ConditionalFormat = .ConditionalFormats.Add("1")
	With var_ConditionalFormat
		.Bold = True
		.ApplyTo = exFormatToColumns
	End With
	.Columns.Add "Column"
	.Items.Add 0
	.Items.Add 1
End With
210:
How can I display a computed column and highlight some values that are negative or less than a value

With List1
	.Columns.Add "A"
	.Columns.Add "B"
	.Columns.Add("(A+B)*1.19").ComputedField = "(%0 + %1) * 1.19"
	With .Items
		.Caption(.Add(1),1) = 2
	End With
	With .Items
		.Caption(.Add(10),1) = 20
	End With
	Set var_ConditionalFormat = .ConditionalFormats.Add("%2 > 10")
	With var_ConditionalFormat
		.Bold = True
		.ForeColor = RGB(255,0,0)
		.ApplyTo = &H2
	End With
End With
209:
Can I display a computed column so it displays the VAT, or SUM

With List1
	.Columns.Add "A"
	.Columns.Add "B"
	.Columns.Add("(A+B)*1.19").ComputedField = "(%0 + %1) * 1.19"
	With .Items
		.Caption(.Add(1),1) = 2
	End With
	With .Items
		.Caption(.Add(10),1) = 20
	End With
End With
208:
How can I show a column that adds values in the cells

With List1
	.Columns.Add "A"
	.Columns.Add "B"
	.Columns.Add("A+B").ComputedField = "%0 + %1"
	With .Items
		.Caption(.Add(1),1) = 2
	End With
	With .Items
		.Caption(.Add(10),1) = 20
	End With
End With
207:
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters

With List1
	Set var_Column = .Columns.Add("Filter")
	With var_Column
		.FilterOnType = True
		.DisplayFilterButton = True
		.AutoSearch = exContains
	End With
	.Items.Add "Canada"
	.Items.Add "USA"
End With
206:
Is there any function to filter the control's data as I type, something like filter on type

With List1
	Set var_Column = .Columns.Add("Filter")
	With var_Column
		.FilterOnType = True
		.DisplayFilterButton = True
	End With
	.Items.Add "Canada"
	.Items.Add "USA"
End With
205:
How can I programmatically filter a column

With List1
	With .Columns.Add("Filter")
		.DisplayFilterButton = True
		.FilterType = exNonBlanks
	End With
	.Items.Add 
	.Items.Add "not empty"
	.ApplyFilter 
End With
204:
How can I show or display the control's filter

With List1
	.Columns.Add("Filter").DisplayFilterButton = True
End With
203:
How can I customize the items being displayed in the drop down filter window

With List1
	With .Columns.Add("Custom Filter")
		.DisplayFilterButton = True
		.DisplayFilterPattern = False
		.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*." & _
"txt|*.log"
		.FilterType = exPattern
		.Filter = "*.xls"
	End With
	.Items.Add "excel.xls"
	.Items.Add "word.doc"
	.Items.Add "pp.pps"
	.Items.Add "text.txt"
	.ApplyFilter 
End With
202:
How can I change the order or the position of the columns in the sort bar

With List1
	.SortBarVisible = True
	.SortBarColumnWidth = 48
	.Columns.Add("C1").SortOrder = SortAscending
	.Columns.Add("C2").SortOrder = SortDescending
	.Columns.Item("C2").SortPosition = 0
End With
201:
How do I arrange my columns on multiple levels

With List1
	.Columns.Add("S").Width = 32
	.Columns.Add("Level 2").LevelKey = 1
	.Columns.Add("Level 3").LevelKey = 1
	.Columns.Add("Level 4").LevelKey = 1
	.Columns.Add("Level 1").LevelKey = "2"
	.Columns.Add("Level 2").LevelKey = "2"
	.Columns.Add("Level 3").LevelKey = "2"
	.Columns.Add("Level 4").LevelKey = "2"
	.Columns.Add("E").Width = 32
End With