| CPPosition property |
Applies to
TWPCustomRtfEdit
Declaration
property CPPosition: Integer;
Description
This property retrieves or changes the position of the cursor. The value is the absolute character count of characters in the current text (ActiveText). Please do not increment CPPosition with CPPosition := CPPosition +1. This would be much slower than using the method CPMoveNext or the other methods implemented in TextCursor. To retrieve the start position of a certain paragraph You can use Position.
Category
CP-Props
|
Copyright (C) by WP |