TCustomForm.DoOnResize procedure
Performs a delayed resize action using the DelayedEvent for the control.
Declaration
procedure DoOnResize; overrideDescription
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).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
