[Overview][Types][Classes][Procedures and functions][Index] |
Performs actions needed when the Picture property has been changed.
Source position: extctrls.pp line 565
protected procedure TCustomImage.PictureChanged( |
Sender: TObject |
); virtual; |
Sender |
|
Object instance for the change notification. |
PictureChanged is a procedure used to perform actions needed when the Picture property has been changed. PictureChanged adjusts the size for an assigned bitmap in Picture, and sets its bitmap transparency to the value in the Transparent property. PictureChanged calls Invalidate to cause the image to be repainted. The OnPictureChanged event handler is signalled (when assigned) prior to exiting from the method.
PictureChanged is assigned as the OnChange event handler for the Picture property in the constructor for the class instance.
|
Contains the image displayed in the control. |
|
|
Indicates if the image has a clear, non-opaque background. |
|
|
Causes the control to be repainted. |
|
|
Event handler signalled when Picture is changed. |
Version 4.0 | Generated 2025-05-03 | Home |