[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.OnResize

Event handler signalled when the size for the form is changed.

Declaration

Source position: forms.pp line 815

public property TCustomForm.OnResize : TNotifyEvent
  stored IsForm;

Description

OnResize is a TNotifyEvent property with the event handler signalled when the dimensions for the form have been changed. It is signalled (when assigned) from the DoOnResize method, and occurs in the inherited DoOnResize method in the ancestor class.

Create and assign a procedure to the event handler to perform any actions needed after the form has been resized.

Use the OnConstrainedResize event handler to set the height and/or width for the form using minimum and maximum height and width values.

See also

TCustomForm.DoOnResize

  

Performs a delayed resize action using the DelayedEvent for the control.

TScrollingWinControl.DoOnResize

  

Performs actions needed when the control has been resized.

TControl.OnResize

  

Notification handler for a resize of the control.


Version 3.2 Generated 2024-02-25 Home