CaretPos Property


Applies to

THtmlViewer, TFrameViewer, and TFrameBrowser components

Declaration

property CaretPos: LongInt;

The CaretPos property indicates the character position of the caret marker.

Setting CaretPos equal to zero will insure that text searches start from the beginning of the document.

The caret position may be made visible by setting htShowDummyCaret in the THtmlViewer htOptions property.

See Also:

SelStart Property

SelLength Property

DisplayPosToXY Method

GetCharAtPos Method