[Overview][Types][Classes][Procedures and functions][Index] |
Specifies an event handler signalled to determine if the given offset is valid for a splitter control.
Source position: extctrls.pp line 332
type TCanOffsetEvent = procedure( |
Sender: TObject; |
var NewOffset: Integer; |
var Accept: Boolean |
) of object; |
Sender |
|
Object for the event notification. |
NewOffset |
|
Offset value examined in the routine. |
Accept |
|
True if the offset value is valid. |
TCanOffsetEvent is the type used to implement the OnCanOffset property in TCustomSplitter. It is signalled from the CheckOffset method when the splitter is moved.
|
Event handler signalled to calculate the offset when the splitter is dragged, and to accept or reject the offset value. |
|
|
Signals the OnCanOffset event handler to determine the offset used when aligning the control, and the success or failure of the calculation. |
|
|
Moves the splitter by an amount specified in Offset. |
Version 3.2 | Generated 2024-02-25 | Home |