RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TCanResizeEvent Type

TCanResizeEvent is the type of the OnCanResize event handler.

Pascal
TCanResizeEvent = procedure (Sender: TObject; var NewWidth, NewHeight: Integer; var Resize: Boolean) of object;
C++
(Sender: TObject; var NewWidth, NewHeight: Integer; var Resize: Boolean) ( TCanResizeEvent)();

Controls

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!