Sign in Join
FPDoc Onlineexperiment

TStringCellEditor.Change procedure

Member of TStringCellEditorprotectedIn unit Grids

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

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.