From RAD Studio API Documentation
Jump to: navigation, search


typedef void __fastcall (__closure *TCanResizeEvent)(System::TObject* Sender, int &NewWidth, int &NewHeight, bool &Resize);


Type Visibility Source Unit Parent
typedef public Vcl.Controls.hpp Vcl.Controls Vcl.Controls


TCanResizeEvent is the type of the OnCanResize event handler.

Sender is the object that is being resized.

NewWidth returns the new width of the object.

NewHeight returns the new height of the object.

Resize returns true if the resize attempt can proceed and false if the attempt to resize should be aborted.

See Also