[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomSplitter.OnCanOffset

Event handler signalled to calculate the offset when the splitter is dragged, and to accept or reject the offset value.

Declaration

Source position: extctrls.pp line 427

public property TCustomSplitter.OnCanOffset : TCanOffsetEvent
  read FOnCanOffset
  write FOnCanOffset;

Description

Signalled from the CheckOffset method when the splitter control is dragged. The Accept argument can be set to False to reject the offset value for the splitter, and prevent the resize operation.

See also

TCustomSplitter.ResizeAnchor

  

Indicates the orientation and alignment for the splitter control.

TCustomSplitter.MoveSplitter

  

Moves the splitter by an amount specified in Offset.

TCustomSplitter.Align

  

Specifies the aligned edge for the splitter within its Parent and relative to ResizeControl.

TCanOffsetEvent

  

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


Version 4.0 Generated 2025-05-03 Home