Please enable JavaScript to view this site.

KOL/MCK - User Guide

function NewCombobox( AParent: PControl; Options: TComboOptions ): PControl;

 

Creates new combo box control. Note, that it is not possible to align combobox caLeft or caRight: this can cause infinite recursion in the application.

 

Following properties, methods and events are special for Combobox:

 

OnDropDown

property OnDropDown: TOnEvent;

OnCloseUp

property OnCloseUp: TOnEvent;

OnMeasureItem

property OnMeasureItem: TOnMeasureItem;

OnChange

property OnChange: TOnEvent;

OnSelChange

property OnSelChange: TOnEvent;

OnDrawItem

property OnDrawItem: TOnDrawItem;

AddDirList

procedure AddDirList( const Filemask: KOLString; Attrs: DWORD );

Add

function Add( const S: KOLString ): Integer;

Insert

function Insert( Idx: Integer; const S: KOLString ): Integer;

Delete

procedure Delete( Idx: Integer );

CurIndex

property CurIndex: Integer;

Count

property Count: Integer;

Items

property Items[ Idx: Integer ]: KOLString;

ItemSelected

property ItemSelected[ ItemIdx: Integer ]: Boolean;

ItemData

property ItemData[ Idx: Integer ]: DWORD;

DroppedWidth

property DroppedWidth: Integer;

DroppedDown

property DroppedDown: Boolean;

 

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