Please enable JavaScript to view this site.

KOL/MCK - User Guide

function NewTreeView( AParent: PControl; Options: TTreeViewOptions; ImgListNormal, ImgListState: PImageList ): PControl;

 

Creates tree view control. See tree view methods and properties:

 

OnSelChange

property OnSelChange: TOnEvent;

OnTVBeginDrag

property OnTVBeginDrag: TOnTVBeginDrag;

OnTVBeginEdit

property OnTVBeginEdit: TOnTVBeginEdit;

OnTVEndEdit

property OnTVEndEdit: TOnTVEndEdit;

OnTVExpanding

property OnTVExpanding: TOnTVExpanding;

OnTVExpanded

property OnTVExpanded: TOnTVExpanded;

OnTVDelete

property OnTVDelete: TOnTVDelete;

OnTVSelChanging

property OnTVSelChanging: TOnTVSelChanging;

BeginUpdate

procedure BeginUpdate;

Delete

procedure Delete( Idx: Integer );

SetUnicode

function SetUnicode( Unicode: Boolean ): PControl;

TVInsert

function TVInsert( nParent, nAfter: THandle; const Txt: KOLString ): THandle;

TVDelete

procedure TVDelete( Item: THandle );

TVItemPath

function TVItemPath( Item: THandle; Delimiter: KOLChar ): KOLString;

TVItemAtPos

function TVItemAtPos( x, y: Integer; var Where: DWORD ): THandle;

TVExpand

procedure TVExpand( Item: THandle; Flags: DWORD );

TVSort

procedure TVSort( N: THandle );

TVEditItem

procedure TVEditItem( Item: THandle );

TVStopEdit

procedure TVStopEdit( Cancel: Boolean );

Count

property Count: Integer;

ImageListNormal

property ImageListNormal: PImageList;

ImageListState

property ImageListState: PImageList;

TVSelected

property TVSelected: THandle;

TVDropHilighted

property TVDropHilighted: THandle;

TVFirstVisible

property TVFirstVisible: THandle;

TVIndent

property TVIndent: Integer;

TVVisibleCount

property TVVisibleCount: Integer;

TVRoot

property TVRoot: THandle;

TVItemChild

property TVItemChild[ Item: THandle ]: THandle;

TVItemHasChildren

property TVItemHasChildren[ Item: THandle ]: Boolean;

TVItemChildCount

property TVItemChildCount[ Item: THandle ]: Integer;

TVItemNext

property TVItemNext[ Item: THandle ]: THandle;

TVItemPrevious

property TVItemPrevious[ Item: THandle ]: THandle;

TVItemNextVisible

property TVItemNextVisible[ Item: THandle ]: THandle;

TVItemPreviousVisible

property TVItemPreviousVisible[ Item: THandle ]: THandle;

TVItemParent

property TVItemParent[ Item: THandle ]: THandle;

TVItemText

property TVItemText[ Item: THandle ]: KOLString;

TVItemRect

property TVItemRect[ Item: THandle; TextOnly: Boolean ]: TRect;

TVItemVisible

property TVItemVisible[ Item: THandle ]: Boolean;

TVRightClickSelect

property TVRightClickSelect: Boolean;

TVEditing

property TVEditing: Boolean;

TVItemBold

property TVItemBold[ Item: THandle ]: Boolean;

TVItemCut

property TVItemCut[ Item: THandle ]: Boolean;

TVItemDropHighlighted

property TVItemDropHighlighted[ Item: THandle ]: Boolean;

TVItemExpanded

property TVItemExpanded[ Item: THandle ]: Boolean;

TVItemExpandedOnce

property TVItemExpandedOnce[ Item: THandle ]: Boolean;

TVItemSelected

property TVItemSelected[ Item: THandle ]: Boolean;

TVItemImage

property TVItemImage[ Item: THandle ]: Integer;

TVItemSelImg

property TVItemSelImg[ Item: THandle ]: Integer;

TVItemOverlay

property TVItemOverlay[ Item: THandle ]: Integer;

TVItemStateImg

property TVItemStateImg[ Item: THandle ]: Integer;

TVItemData

property TVItemData[ Item: THandle ]: Pointer;

 

KOL / MCK User Guide - Created by Carl Peeraer - Diamant Soft, based on the work of Vladimir Kladov - Artwerp.be

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC