Sign in Join
FPDoc Onlineexperiment

TCustomSplitter.OnCanResize property

Member of TCustomSplitterpublicIn unit ExtCtrls

Event handler signalled to determine if the splitter control can be resized / dragged / moved.

Declaration

pascal
property OnCanResize: TCanResizeEvent read FOnCanResize write FOnCanResize;

Description

OnCanResize is a TCanResizeEvent property 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).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.