[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs a delayed resize action using the DelayedEvent for the control.
Source position: forms.pp line 665
protected procedure TCustomForm.DoOnResize; override; |
DoOnResize is an overridden method in TCustomForm. It re-implements the method from the ancestor class, and does not call the inherited method.
DoOnResize sets an internal flag to indicate that a delayed resize event has been requested. It increments an internal counter to track the number of pending delayed events.
DoOnResize uses the QueueAsyncCall method in the TApplication instance to queue execution of the private DelayedEvent method. DelayedEvent will discard duplicate requests, and call the inherited method to signal OnResize event handlers (when assigned) and update scroll bars (when needed).
No actions are performed in the method when the component is being freed (csDestroying in ComponentState).
|
Inserts an asynchronous call into the queue. |
|
|
Performs actions needed when the control has been resized. |
|
|
Notification handler for a resize of the control. |
|
Version 3.2 | Generated 2024-02-25 | Home |