Board index » cppbuilder » Moving the caret in TMemo etc...

Moving the caret in TMemo etc...

Is there any way to control the position of the caret in editing controls
such as TMemo, TEdit etc.... I have a TMemo which I sometimes add some text,
only to find that the caret is before the text I inserted.

Arild Fines

 

Re:Moving the caret in TMemo etc...


Quote
Arild Fines wrote:

> Is there any way to control the position of the caret in editing controls
> such as TMemo, TEdit etc.... I have a TMemo which I sometimes add some text,
> only to find that the caret is before the text I inserted.

Set selStart and selLength in the control's properties.

Lin
linsh...@gte.net

Other Threads