11
When true, the height of the listbox item automatically adapts to the size of the text. This means
that no horizontal scrollbar will be used for items that exceed the listbox width but instead the
height of the item increases to fit the text. Note though that it is not supported to have items with
a height equal to or higher than the listbox height itself. (This is actually a limitation of the
underlying Windows listbox control)
Ellipsis: Boolean
When true, text that exceeds the width of the listbox will be drawn with an ellipsis (…) at the end.
When ellipsis is true, text is always drawn on a single line.
EnableBlink: boolean
When the property EnableBlink is set to true, items that have blinking text set with the mini HTML
<BLINK> tag will be drawn blinking.
HTMLHint: Boolean
When true in combination with ItemHint = true, the hint is automatically set to the HTML formatted
text of the item. When HTMLHint is false, the hint text is set to the text of the listbox item with all
HTML formatting tags removed. When HTMLHint is true, in order for the hint to be rendered with
HTML formatting, it is required that the THTMLHint component is placed on the form. It is the
THTMLHint component that will take care of overriding the default hint rendering and render with
HTML formatting instead.
IncrLookup: Boolean
A regular VCL listbox supports keyboard lookup, this means that when a character is pressed when
the listbox has focus, the listbox will select the first item that starts with the character. The
THTMListbox also supports this lookup. Note that the lookup is performed based on the item text
with all its tags removed. When IncrLookup is set to true, the THTMListbox has the additional
feature that it performs an incremental lookup, ie. as characters are typed, the selected item is set
to the item that starts with all characters pressed. When no more item is matching, the lookup is
reset, ie. lookup is performed on new characters pressed.
LineSpacing: integer
This sets the spacing (in pixels) between two lines of HTML formatted text.
ItemHint: Boolean
When ItemHint is set to true, the hint of the listbox is automatically set to the text of the item over
which the mouse hovers. This can be a convenient feature when the text of the item exceeds the
width of the listbox and the hint can show the full text when the mouse hovers the item.
ScrollHorizontal: Boolean
When true, the listbox displays a horizontal scrollbar (when needed)
SelectionColors: TGradientStyle
This holds 4 colors and a border color to set the colors of the selected item(s). Note that the colors
can be automatically set to predefined values by calling the method SetComponentStyle(). More
information about styles can be found in the chapter specifically devoted to TAdvFormStyler,
TAdvAppStyler.