TCustomDBGrid.DefaultEditorStyle function
Gets the default editor style for the specified field.
Declaration
function DefaultEditorStyle(const Style: TColumnButtonStyle;
const F: TField): TColumnButtonStyleArguments
Style | Preferred editor style for the field. |
F | Dataset field for the editor style. |
Function result
Actual editor style for the column using the specified field.
Description
DefaultEditorStyle is a
TColumnButtonStyle function
used to get the default editor style used for the column with the field
specified in
F.
The Style argument indicates the preferred editor style, while the
return value contains the realized editor style. When F is a boolean field,
and Style is cbsAuto, the return value is set to cbsCheckBoxColumn when
dgeCheckboxColumn has been included in the Options for the grid control.
DefaultEditorStyle is used in the implementation of the ColumnEditorStyle and TColumn.GetDefaultAlignment methods.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
