Board index » cppbuilder » How can I know what is the position of the cursor in the TEdit?

How can I know what is the position of the cursor in the TEdit?


2005-02-23 08:17:59 PM
cppbuilder81
Dear All,
For TEdit,
How can I know what the position of the cursor in the TEdit is?
e.g.: TEdit->Text= "ABC";
How can I know the cursor in the TEdit is inside "ABC" or at the end of the
String , etc...?
Thank you
XXXX@XXXXX.COM
 
 

Re:How can I know what is the position of the cursor in the TEdit?

Emmanuel wrote:
Quote
How can I know what the position of the cursor in the TEdit is?
e.g.: TEdit->Text= "ABC";
Have a look in the help fot TEdit's SelStart property.
Hans.