[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Helper for the TComboBoxStyle type.
Source position: stdctrls.pp line 272
type TComboBoxStyleHelper = type helper |
||
public |
||
function HasEditBox; |
|
Determines if the style includes an edit box. |
function SetEditBox(); |
|
Enables or disables an edit box according to the current style. |
function IsOwnerDrawn; |
|
Indicates if the combo-box control is owner-drawn. |
function IsVariable; |
|
Indicates if list items can have a variable height in the combo-box control. |
end; |
|
Helper for the TComboBoxStyle type. |
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);
|
Controls the appearance and behavior for the combo-box. |
|
|
The display style available for combo-box controls. |
Version 3.2 | Generated 2024-02-25 | Home |