Sign in Join
FPDoc Onlineexperiment

TCustomForm.OnResize property

Member of TCustomFormpublicIn unit Forms

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

Declaration

pascal
property OnResize: 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.