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

TDBEdit.Reset

Cancels pending changes to the linked dataset.

Declaration

Source position: dbctrls.pp line 202

protected procedure TDBEdit.Reset; override;

Description

Reset is an overridden method in TDBEdit which ensures that the internal TFieldDataLink instance in the control is reset when pending changes to the control value are cancelled. Reset calls the Reset method in TFieldDataLink to perform the notification, signal its OnDataChange event handler, and to reset the state for its DataSource. Reset calls the inherited method prior to exit.

See also

TFieldDataLink.Reset

  

Checks whether the link is active, calls the OnDataChange event handler then sets IsModified to False.

TFieldDataLink.OnDataChange

  

Event handler signalled when the field data link has been changed.

TCustomMaskEdit.Reset

  

Reset returns the edit to its default state with mask appearing in Text box and no string input.

TDataLink.DataSource


Version 4.0 Generated 2025-05-03 Home