[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed when the content in the linked dataset has been changed.
Source position: dbctrls.pp line 1193
protected procedure TDBImage.DataChange( |
Sender: TObject |
); |
Sender |
|
Object for the event notification. |
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.
|
AutoDisplay - if True, automatically displays when focus is given. |
|
|
Loads the graphic content for the control from a field in the linked dataset. |
|
|
Event handler signalled when the field data link has been changed. |
|
|
Contains the image displayed in the control. |
|
|
Graphic - The TGraphic object contained by the TPicture. |
Version 4.0 | Generated 2025-05-03 | Home |