Table of Contents

Combo

TACombo

Creates a combobox control on the form.

Properties:
ColorThis property define control background color.
ContextMenuAllow to attach a ContextMenu to the control. ContextMenu must be created first.
CursorThis property define what cursor will be showed when mouse over the control.
EnabledThis is True by default. Set it to False to generate disabled control. This will add GUICtrlSetState(-1, $GUI_DISABLE) line.
FontThis property allow to set font properties - color, font face, size and bold/italic/underline/strikeout attributes.
Left,TopPosition of control relative to it's parent.
Width,HeightSize of control in pixels.
HintThis property containing text that will appear when mouse cursor is over control. This will add GUICtrlSetTip(-1, "Your hint text") line.
ItemIndexDefault item from items list.
ItemsThis property contains control items list.
NameUnique name of control, this defines the name of variable where control ID will be kept. It also can be empty, when no variable will be created.
OnChangeStandard control event.
ResizingThis property define contol resizing.
TabOrderThis property define in which order controls will be created. This is meaningful when you want switch between controls with Tab key. You also can use TabOrder Visual Editor. Tab order starts from 0.
TextThis property contain text that will be visible on form.
VisibleThis is True by default. Set it to False to generate hidden control. This will add GUICtrlSetState(-1, $GUI_HIDE) line.

Remarks:

Starting from WinXP the “visual” height of combo cannot be set. Height parameter is showing height of opened combo. Koda allow you to change it manually.

Related:

None.

koda/documentation/control_combo.txt · Last modified: 2010/03/06 23:43 by loopback
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0