Vcl.Controls.TCanResizeEvent
C++
typedef void __fastcall (__closure *TCanResizeEvent)(System::TObject* Sender, int &NewWidth, int &NewHeight, bool &Resize);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.Controls.hpp | Vcl.Controls | Vcl.Controls |
Description
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.