RAD Studio VCL Reference
|
Determines how the splitter responds to mouse moves.
function CanResize(var NewSize: Integer): Boolean; virtual; reintroduce;
virtual __fastcall Boolean CanResize(int NewSize);
CanResize is called by the DoCanResize method to generate an OnCanResize event. The NewSize parameter indicates the size the associated control will have if the splitter is allowed to perform the resize. CanResize returns a boolean value that indicates whether the value specified by NewSize should be applied by redrawing the line (when ResizeStyle is rsLine) or resizing the associated control (when ResizeStyle is rsUpdate);
Unless an OnCanResize event handler sets the value of NewSize and the return value, CanResize returns true without changing the NewSize parameter.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|