TCustomDBGrid.EditorByStyle function
Gets an editor control which uses the specified button style.
Declaration
function EditorByStyle(Style: TColumnButtonStyle): TWinControl
; overrideArguments
Style | Button style to use in the editor control. |
Function result
Editor control for the specified button style.
Description
EditorByStyle is an overridden TWinControl function used to a get
an editor control with the specified button style. EditorByStyle calls the
ColumnEditorStyle method to get the button style for the current column and
SelectedField. This allows the grid to override the cbsAuto button style when
the SelectedField contains a Boolean data type. EditorByStyle calls the
inherited method using the derived TColumnButtonStyle value as an argument.
The editor control in the return value is supplied by the inherited
EditorByStyle method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
