FormComboBoxControl.comboType Method
Sets or returns the type of combo box for the control.
Syntax
public int comboType([int value])
Run On
Client
Parameters
- value
Type: int
The value to assign as the type of combo box for the control; optional.
Return Value
Type: int
The type of combo box for the control.
Remarks
The following table shows the values for the combo box type.
Value |
Description |
---|---|
0 |
Standard |
1 |
List |
Examples
The following example shows how to retrieve and set the type of combo box that is used for the control.
// Retrieve the type of combo box control.
info(strfmt("comboType: %1", this.comboType()));
// Set the type of combo box control.
this.comboType(1);