Sign in Join
FPDoc Onlineexperiment

TCanOffsetEvent procedure type

In unit ExtCtrls

Specifies an event handler signalled to determine if the given offset is valid for a splitter control.

Declaration

pascal
TCanOffsetEvent = procedure(Sender: TObject; var NewOffset: Integer; 
 var Accept: Boolean) of object

Arguments

Sender

Object for the event notification.

NewOffset

Offset value examined in the routine.

AcceptTrue if the offset value is valid.

Description

TCanOffsetEvent is the type used to implement the OnCanOffset property in TCustomSplitter. It is signalled from the CheckOffset method when the splitter is moved.

See also

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