JVCL Help:TJvCustomRichEdit.GetCharPos

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieves the client area coordinates of a specified character in the rich edit control.


Pascal

 functionGetCharPos(CharIndex: Integer): TPoint;


Parameters

Parameters Description
CharIndex: Integer Specifies the zero-based index of the character.


Return Value

Return value is of type TPoint, and contains the client area coordinates of the character.


Description

A returned coordinate can be a negative value if the specified character is not displayed in the edit control's client area. The coordinates are truncated to integer values. If the character is a line delimiter, the returned coordinates indicate a point just beyond the last visible character in the line. If the specified index is greater than the index of the last character in the control, the returned coordinates indicate the position just past the last character in the control.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page