TCustomSplitter.CheckNewSize function
Ensures the new size is acceptable for the aligned control on the splitter.
Declaration
function CheckNewSize(var NewSize: Integer): Boolean; virtualArguments
NewSize | New size for the aligned control in ResizeControl. |
Function result
True when NewSize is an acceptable size for the aligned control.Description
CheckNewSize signals the OnCanResize event handler (when assigned)
to validate the value in
NewSize. The values in
NewSize
and
Result can be updated in the event handler as needed. Setting
the return value to
True indicates that the value in NewSize is
acceptable.
CheckNewSize is used in the implementation of the MoveSplitter
method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
