[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Grids' (#lcl)

# TStringCellEditor.Change

Performs actions needed when the value in the cell editor has been changed.

## Declaration

Source position: grids.pas line 242

`protected procedure TStringCellEditor.Change; override;`

## Description

Change is an overridden method in TStringCellEditor used to perform actions needed to apply the new value in the cell editor to the associated grid control.

Change calls the inherited method on entry to perform a change notification message for the control, and to signal any assigned OnChange event handler(s) in the component hierarchy. Please note that the OnChange event is suppressed when the initial value for cell editor is assigned; the handler is signalled when the value has been modified using the cell editor control.

If the associated grid control has been assigned, and the cell editor is Visible, the EditorTextChanged method in the grid control is called to apply the value in Text to the current cell in the grid.

## See also

TCustomGrid.EditorTextChanged |  | Updates the grid control when the value in a cell Editor is changed.
TCustomMaskEdit.Change |  | Suppresses the OnChange event when the initial value for the control is assigned.
TCustomEdit.OnChange |  | Event handler signalled when the text for the control is changed.
TControl.Visible |  | Allows the control, and all of its children, to be displayed or hidden.