FormComboBoxControl.comboType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
comboType(Int32) | |
comboType() |
Sets or returns the type of combo box for the control. |
comboType(Int32)
public:
virtual int comboType(int _value);
public virtual int comboType (int _value);
abstract member comboType : int -> int
override this.comboType : int -> int
Public Overridable Function comboType (_value As Integer) As Integer
Parameters
- _value
- Int32
The value to assign as the type of combo box for the control; optional.
Returns
Applies to
comboType()
Sets or returns the type of combo box for the control.
public:
virtual int comboType();
public virtual int comboType ();
abstract member comboType : unit -> int
override this.comboType : unit -> int
Public Overridable Function comboType () As Integer
Returns
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 |
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);