[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Notifies all chtOnVisibleChanged handlers for the control.
Source position: controls.pp line 1549
protected procedure TControl.VisibleChanged; virtual; |
VisibleChanged is called when a new value has been assigned to the Visible property. It occurs after the new property value is stored to its member in the class instance. It allows all of the TNotifyEvent routines registered for the chtOnVisibleChanged control handler type to be signalled for the new property value.
VisibleChanged calls the DoCallNotifyHandler method to signal each of the handler routines using the chtOnVisibleChanged control handler type. The class instance is used as the Sender argument for the event notification.
Use AddHandlerOnVisibleChanged and RemoveHandlerOnVisibleChanged to manage the TNotifyEvent handler routines for the chtOnVisibleChanged handler type used in the control.
See VisibleChanging for the actions performed before the value in Visible is updated.
|
Allows the control, and all of its children, to be displayed or hidden. |
|
|
Signals handler routines for the specified control handler type. |
|
|
Adds or inserts the specified OnVisibleChanged event handler. |
|
|
Removes the specified OnVisibleChanged event handler. |
|
|
Notifies all chtOnVisibleChanging handlers for the control. |
|
|
Notification handler types. |
|
Version 3.2 | Generated 2024-02-25 | Home |