[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets an editor control which uses the specified button style.
Source position: dbgrids.pas line 548
public function TCustomDBGrid.EditorByStyle( |
Style: TColumnButtonStyle |
):TWinControl; override; |
Style |
|
Button style to use in the editor control. |
Editor control for the specified button style.
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.
|
Selects a cell Editor control with the specified style. |
Version 3.2 | Generated 2024-02-25 | Home |