Sign in Join
FPDoc Onlineexperiment

TDBRadioGroup.UpdateData procedure

Member of TDBRadioGroupprotectedIn unit DBCtrls

Updates the linked dataset using the current selection in the control.

Declaration

pascal
procedure UpdateData(Sender: TObject)

Arguments

Sender

Object for the event notification.

Description

UpdateData us used to perform the actions needed to update a linked dataset using the current selection in the control.

In TDBRadioGroup, this involves assigning the content from the Value property to the field for the linked dataset. UpdateData uses the internal TFieldDataLink instance for the control to access the Field for the linked dataset. No actions are performed when the field in the TFieldDataLink instance has not been assigned.

UpdateData is assigned to the OnUpdateData event handler in the TFieldDataLink instance for the data-aware control.

See also

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