function NewListbox( AParent: PControl; Options: TListOptions ): PControl;
Creates list box control. Following properties, methods and events are special for Listbox:
property OnMeasureItem: TOnMeasureItem; |
|
---|---|
property OnChange: TOnEvent; |
|
property OnSelChange: TOnEvent; |
|
property OnDrawItem: TOnDrawItem; |
|
procedure BeginUpdate; |
|
function IndexOf( const S: KOLString ): Integer; |
|
function SearchFor( const S: KOLString; StartAfter: Integer; Partial: Boolean ): Integer; |
|
procedure AddDirList( const Filemask: KOLString; Attrs: DWORD ); |
|
function Add( const S: KOLString ): Integer; |
|
function Insert( Idx: Integer; const S: KOLString ): Integer; |
|
procedure Delete( Idx: Integer ); |
|
function LBItemAtPos( X, Y: Integer ): Integer; |
|
property SelLength: Integer; |
|
property CurIndex: Integer; |
|
property Count: Integer; |
|
property Items[ Idx: Integer ]: KOLString; |
|
property ItemSelected[ ItemIdx: Integer ]: Boolean; |
|
property ItemData[ Idx: Integer ]: DWORD; |
|
property LVItemHeight: Integer; |
|
property LBTopIndex: Integer; |