Sign in Join
FPDoc Onlineexperiment

TDBImage.DataChange procedure

Member of TDBImageprotectedIn unit DBCtrls

Performs actions needed when the content in the linked dataset has been changed.

Declaration

pascal
procedure DataChange(Sender: TObject)

Arguments

Sender

Object for the event notification.

Description

DataChange is a procedure used to perform actions needed when the content in the linked dataset has been changed. Such as when the record position has changed when scrolling the dataset.

DataChange ensures that the TGraphic instance in Picture is set to Nil. If AutoDisplay is set to True, the graphic image is loaded by calling the LoadPicture method.

DataChange is assigned as the OnDataChange event handler in the internal TFieldDataLink instance used in the class.

See also

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