SRVListBox TSRVListBox

Top  Previous  Next

Use TSRVListBox to display a scrollable list of items. Items can have captions, images, check boxes. A list can be hierarchical.

Unit SRVListBox;

Syntax

TSRVListBox = class(TSRVCustomListBox)

Hierarchy

TObject

TPersistent

TComponent

TControl

TWinControl

TSRVWinControl

TSRVCustomListBox

Properties and events

This component publishes public properties inherited from TSRVCustomListBox.

To prevent flickering, assign DoubleBuffered=True if the list box is placed on the form (not necessary, if inserted in TSRichViewEdit control).

Painting

If SkinManager is assigned:

the control is drawn using SkinManager.CurrentSkin.BoxSchemes[SkinSchemeIndex];

each item is drawn using SkinManager.CurrentSkin.BoxSchemes[ItemSkinSchemeIndex];

a scrollbar is drawn using SkinManager.CurrentSkin.VerticalScrollBarSchemes[ScrollBarSkinSchemeIndex].

Example:

SRVListBox Scheme


ScaleRichView © trichview.com