[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs a delayed bounds change using the DelayedEvent for the control.
Source position: forms.pp line 666
protected procedure TCustomForm.DoOnChangeBounds; override; |
DoOnChangeBounds is an overridden method in TCustomForm. It re-implements the method from the ancestor class, and does not call the inherited method.
DoOnChangeBounds sets an internal flag to indicate that a delayed bounds change event has been requested. It increments an internal counter to track the number of pending delayed events.
DoOnChangeBounds uses the QueueAsyncCall method in the TApplication instance to queue execution of the private DelayedEvent method. DelayedEvent will discard duplicate requests, and handle changes to the restored bounds for the control. DoShow or Activate are called if the form is being displayed or activated for the first time.
No actions are performed in the method when the component is being freed (csDestroying in ComponentState).
|
Signals the OnShow event handler when needed. |
|
|
Notifies the OnActivate event handler. |
|
|
Inserts an asynchronous call into the queue. |
|
|
Signals OnChangeBounds event handlers for the control. |
|
Version 3.2 | Generated 2024-02-25 | Home |