Returns the rectangular area covered by the caret which indicates the current text input position. The dimensions are given in pixels with an origin at the top left corner of the control.
Introduced: 22.0.
TXTextControl.GetCaretRect
The method returns an array of 4 long values specifying the left, top, right and bottom border of the requested rectangle in pixels.
Return value: | Array of 4 Long |
<< TXTextControl.GetBaseLinePos Method | >> TXTextControl.GetCharFromLine Method