By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cCombo
Attribute | Value |
Description | Gets/sets whether items should be regarded as sorted by the Auto-Completion code. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets whether the Auto Completion code allows items not in the list to be typed in. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets whether the drop down portion of the control is visible. |
Attribute | Value |
Description | Sets whether the control will attempt to automatically complete the user's typing into the text box portion of the combo. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets the way in which items in the control will be drawn. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eStyle | ECCXDrawMode |
Attribute | Value |
Description | Gets/sets the width of the drop-down portion of the combo box. |
Optional | ByVal/ByRef | Variable | Datatype |
lWidth | Long |
Attribute | Value |
Description | Gets/sets whether the control is enabled. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eStyle | ECCXExtendedStyle |
Attribute | Value |
Description | Gets/sets extended style properties of the control, e.g. case sensitivity and whether images shown in the edit portion. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eStyle | ECCXExtendedStyle | |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets whether the control drops down in response to the Return key rather than F4. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets the default font used to draw the control's items. |
Optional | ByVal/ByRef | Variable | Datatype |
fntThis | StdFont |
Attribute | Value |
Description | Gets the window handle of the control. |
Attribute | Value |
Description | Gets the window handle of the drop-down combo portion of the combo box control. |
Attribute | Value |
Description | Gets the window handle of the ComboBoxEx container of the combo box control. |
Attribute | Value |
Description | Returns the window handle of the Edit portion of the combo box control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByRef | vThis | Variant |
Attribute | Value |
Description | Associates an ImageList with the ComboBoxEx control. This can be a Microsoft COMCTL32 ImageList or any valid Image List handle. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets a long value associated with an item in the control's list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
ByVal | lData | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets the 0-based icon index associated with an item in the control's list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
ByVal | lIcon | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets the 0-based icon index to be used when the item is selected associated with an item in the control's list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
ByVal | lIcon | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets the indentation of an item in the control's list. Indentation is set in multiples of the ImageList icon size, or defaulting to 16 pixels if there is no ImageList. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
ByVal | lIndent | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets the text for a list item in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long | |
ByVal | sItem | String |
Attribute | Value |
Description | Gets the number of list items in the control. |
Attribute | Value |
Description | Gets/sets the currently selected item in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Gets/sets the maximum length of text which can be typed into the edit portion of the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lLength | Long |
Attribute | Value |
Description | Gets the ListIndex of the last item added to the control. |
Attribute | Value |
Description | Gets/sets whether the control redraws itself in response to changes. Set to False to speed up the addition of items. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets the length of the selected text in the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lLength | Long |
Attribute | Value |
Description | Gets the 0-based index of the first selected character in the text portion of the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lStart | Long |
Attribute | Value |
Description | Gets the selected text from the text portion of the control. |
Attribute | Value |
Description | Gets/sets whether the control is sorted. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Gets/sets whether the control appears as a Drop-Down Combo, a Drop-Down List or a Simple Combo. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eStyle | ECCXComboStyle |
Attribute | Value |
Description | Gets/sets the text in the text portion of the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sText | String |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sText | String |
Attribute | Value |
Description | Adds an item to the list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sText | String | |
Optional | ByVal | iIcon | Long(-1) |
Optional | ByVal | iIconSelected | Long(-1) |
Optional | ByVal | lItemData | Long(0) |
Optional | ByVal | lIndent | Long(0) |
Attribute | Value |
Description | Adds an item to the list, optionally setting other properties at the same time. Quicker if you want to set multiple properties for each item being added. |
Optional | ByVal/ByRef | Variable | Datatype |
ByRef | iKeyAscii | Integer |
Attribute | Value |
Description | The code automatically run in response to a key down when DoAutoComplete is set True. |
Attribute | Value |
Description | Removes all items from the ComboBox's list. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sText | String | |
Optional | ByVal | lIndexBefore | Long(-1) |
Attribute | Value |
Description | Same as AddItem but instead Inserts the item into the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sText | String | |
Optional | ByVal | lIndexBefore | Long(-1) |
Optional | ByVal | iIcon | Long(-1) |
Optional | ByVal | iIconSelected | Long(-1) |
Optional | ByVal | lItemData | Long(0) |
Optional | ByVal | lIndent | Long(0) |
Attribute | Value |
Description | Same as AddItemAndData but instead inserts the item and associated information into the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIndex | Long |
Attribute | Value |
Description | Removes an Item from the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | bState | Boolean |
Attribute | Value |
Description | Forces the drop-down portion of the control to show. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sToFind | String | |
Optional | ByVal | bExactMatch | Boolean(False) |
Attribute | Value |
Description | Attempts to find the specified item, either exactly matching or partially matching, and returns the index if found or -1 otherwise. |
Optional | ByVal/ByRef | Variable | Datatype |
lpMsg | Msg |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | sItem | String | |
ByVal | lIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | iIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | ItemIndex | Long | |
ByVal | hDC | Long | |
ByVal | bSelected | Boolean | |
ByVal | bEnabled | Boolean | |
ByVal | LeftPixels | Long | |
ByVal | TopPixels | Long | |
ByVal | RightPixels | Long | |
ByVal | BottomPixels | Long | |
ByVal | hFntOld | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | iIndex | Long | |
ByVal | bChanged | Boolean | |
ByVal | sText | String | |
ByVal | eWHy | ECCXEndEditReason | |
ByVal | iNewIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
KeyCode | Integer | ||
Shift | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
KeyAscii | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
KeyCode | Integer | ||
Shift | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
ByRef | lLeft | Long | |
ByRef | lTop | Long | |
ByRef | lRight | Long | |
ByRef | lBottom | Long | |
ByRef | bCancel | Boolean |