ComboBoxEx Constructor | |
Instantiate a new ComboBoxEx object.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax CONSTRUCTOR(
oOwner,
xID,
oPoint,
oDimension,
kComboType,
kStyle
) CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public ComboBoxEx(
Usual oOwner = default,
Usual xID = default,
Usual oPoint = default,
Usual oDimension = default,
Usual kComboType = default,
Usual kStyle = default
)
Request Example
View SourceParameters
- oOwner (Optional)
- Type: Usual
The window that owns the extended combo box. - xID (Optional)
- Type: Usual
The unique ID of the extended combo box (between 1 and 8000). - oPoint (Optional)
- Type: Usual
The origin of the extended combo box in canvas coordinates. - oDimension (Optional)
- Type: Usual
The dimension of the extended combo box in canvas coordinates. - kComboType (Optional)
- Type: Usual
The type of extended combo box to create, specified as one of the constants in the table in the remarks section.
- kStyle (Optional)
- Type: Usual
The style of the extended combo box, specified as one of the API constants in the remarks section
Remarks Constant | Creates |
---|
BOXDROPDOWN |
An extended combo box with both an edit control and a drop-down icon beside it. The user can enter/edit text in the edit control, or choose items from the list box. (The list box appears only if the user selects the drop-down icon; if the user then selects the icon again, the list box is hidden.) This is the default.
|
BOXDROPDOWNLIST |
Same as BOXDROPDOWN, except that the user can only choose items from the list box. Text cannot be entered or edited in the edit control.
|
BOXSIMPLE |
A extended combo box with both an edit control and a list box that are visible at all times. The user can enter/edit text in the edit control, or choose items from the list box.
|
Possible kStyle values are:
Constant |
---|
CBS_AUTOHSCROLL | |
CBS_DISABLENOSCROLL | |
CBS_DROPDOWN | |
CBS_DROPDOWNLIST | |
CBS_HASSTRINGS | |
CBS_LOWERCASE | |
CBS_NOINTEGRALHEIGHT | |
CBS_OEMCONVERT | |
CBS_OWNERDRAWFIXED | |
CBS_OWNERDRAWVARIABLE | |
CBS_SIMPLE | |
CBS_SORT | |
CBS_UPPERCASE | |
Tip |
---|
Consult your Microsoft Win32 Software Development Kit documentation for detailed information about a particular style constant. |
See Also