Sign in Join
FPDoc Onlineexperiment

TCustomMaskEdit.GetSel procedure

Member of TCustomMaskEditprotectedIn unit MaskEdit

Finds the starting and ending positions for the selection.

Declaration

pascal
procedure GetSel(out _SelStart: Integer; out _SelStop: Integer)

Arguments

_SelStart

Stating position for the text selected in the control.

_SelStop

Ending position for the text selected in the control.

Description

GetSel finds the starting and ending positions for the selected text in the control. Calls GetSelStart to get the value for the _SelStart argument. Calls GetSelLength to get the number of characters selected, and calculates the value for _SelStop.

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