function NewTreeView( AParent: PControl; Options: TTreeViewOptions; ImgListNormal, ImgListState: PImageList ): PControl;
Creates tree view control. See tree view methods and properties:
property OnSelChange: TOnEvent; |
|
---|---|
property OnTVBeginDrag: TOnTVBeginDrag; |
|
property OnTVBeginEdit: TOnTVBeginEdit; |
|
property OnTVEndEdit: TOnTVEndEdit; |
|
property OnTVExpanding: TOnTVExpanding; |
|
property OnTVExpanded: TOnTVExpanded; |
|
property OnTVDelete: TOnTVDelete; |
|
property OnTVSelChanging: TOnTVSelChanging; |
|
procedure BeginUpdate; |
|
procedure Delete( Idx: Integer ); |
|
function SetUnicode( Unicode: Boolean ): PControl; |
|
function TVInsert( nParent, nAfter: THandle; const Txt: KOLString ): THandle; |
|
procedure TVDelete( Item: THandle ); |
|
function TVItemPath( Item: THandle; Delimiter: KOLChar ): KOLString; |
|
function TVItemAtPos( x, y: Integer; var Where: DWORD ): THandle; |
|
procedure TVExpand( Item: THandle; Flags: DWORD ); |
|
procedure TVSort( N: THandle ); |
|
procedure TVEditItem( Item: THandle ); |
|
procedure TVStopEdit( Cancel: Boolean ); |
|
property Count: Integer; |
|
property ImageListNormal: PImageList; |
|
property ImageListState: PImageList; |
|
property TVSelected: THandle; |
|
property TVDropHilighted: THandle; |
|
property TVFirstVisible: THandle; |
|
property TVIndent: Integer; |
|
property TVVisibleCount: Integer; |
|
property TVRoot: THandle; |
|
property TVItemChild[ Item: THandle ]: THandle; |
|
property TVItemHasChildren[ Item: THandle ]: Boolean; |
|
property TVItemChildCount[ Item: THandle ]: Integer; |
|
property TVItemNext[ Item: THandle ]: THandle; |
|
property TVItemPrevious[ Item: THandle ]: THandle; |
|
property TVItemNextVisible[ Item: THandle ]: THandle; |
|
property TVItemPreviousVisible[ Item: THandle ]: THandle; |
|
property TVItemParent[ Item: THandle ]: THandle; |
|
property TVItemText[ Item: THandle ]: KOLString; |
|
property TVItemRect[ Item: THandle; TextOnly: Boolean ]: TRect; |
|
property TVItemVisible[ Item: THandle ]: Boolean; |
|
property TVRightClickSelect: Boolean; |
|
property TVEditing: Boolean; |
|
property TVItemBold[ Item: THandle ]: Boolean; |
|
property TVItemCut[ Item: THandle ]: Boolean; |
|
property TVItemDropHighlighted[ Item: THandle ]: Boolean; |
|
property TVItemExpanded[ Item: THandle ]: Boolean; |
|
property TVItemExpandedOnce[ Item: THandle ]: Boolean; |
|
property TVItemSelected[ Item: THandle ]: Boolean; |
|
property TVItemImage[ Item: THandle ]: Integer; |
|
property TVItemSelImg[ Item: THandle ]: Integer; |
|
property TVItemOverlay[ Item: THandle ]: Integer; |
|
property TVItemStateImg[ Item: THandle ]: Integer; |
|
property TVItemData[ Item: THandle ]: Pointer; |