[Overview][Types][Classes][Procedures and functions][Index] |
CheckNewSize ensures the new size is appropriate; returns True if successful.
Source position: extctrls.pp line 368
protected function TCustomSplitter.CheckNewSize( |
var NewSize: Integer |
):Boolean; virtual; |
NewSize |
|
New sized for the splitter. |
True when NewSize is an acceptable size for the splitter.
CheckNewSize signals the OnCanResize event handler (when assigned) to examine and validate the value in NewSize. The values in NewSize and Result can be updated in the event handler as needed. True indicates that the value in NewSize is acceptable.
CheckNewSize is used in the implementation of the MoveSplitter method.
|
Event handler signalled to determine if the splitter control can be resized / dragged / moved. |
|
|
MoveSplitter moves the splitter by an amount specified in Offset. |