TComboBoxStyleHelper helper
Helper for the TComboBoxStyle type.
Declaration
TComboBoxStyleHelper = classDescription
TComboBoxStyleHelper is a type helper for
TComboBoxStyle. TComboBoxStyleHelper provides convenience methods
used to examine, adjust, or translate values in the TComboBoxStyle
enumeration.
For example:
// does the style include an edit box? if AComboBox.Style.HasEditBox then DoSomething; // does the style use owner-draw? if AComboBox.Style.IsOwnerDrawn then DoSomething; // does the style use variable height items? if AComboBox.Style.IsVariable then DoSomething; // toggle the edit box visibility and use in the current style AComboBox.Style := AComboBox.Style.SetEditBox(False);
See also
Methods
HasEditBox | public | Determines if the style includes an edit box. |
SetEditBox | public | Enables or disables an edit box according to the current style. |
IsOwnerDrawn | public | Indicates if the combo-box control is owner-drawn. |
IsVariable | public | Indicates if list items can have a variable height in the combo-box control. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
