[Overview][Types][Classes][Procedures and functions][Index] |
Event handler signalled to determine if the splitter control can be resized / dragged / moved.
Source position: extctrls.pp line 403
public property TCustomSplitter.OnCanResize : TCanResizeEvent |
OnCanResize is a TCanResizeEvent proprety with the event handler signalled to determine if the splitter control can be resized. OnCanResise is signalled (when assigned) from the CheckNewSize method using the splitter control and the new size for the anchored control as arguments. The Accept argument can be updated in the event handler to indicate whether the new size is acceptable (True) or rejected (False).
|
MoveSplitter moves the splitter by an amount specified in Offset. |
|
|
CheckNewSize ensures the new size is appropriate; returns True if successful. |
|
|
TCanResizeEvent - generic event handling method for resizing using splitter. |