TCustomRichView.FindControlItemNo

<< Click to display table of contents >>

TCustomRichView.FindControlItemNo

Returns an index of the RichView item which owns the control actrl, or -1 if actrl was not added in TRichView.

function FindControlItemNo(actrl: TControl): Integer;

Note: This method contains some calculations inside (iterations through items, from the 0-th to the returned one)

See also:

RichView item types.