Hi Everyone
I am having a problem with the SelStart property in an edit box.
I have an edit box on a form in which text is entered. I am using the SelStart property to be able to insert text at the cursor position.
Everything is fine until you insert one or more carriage returns. If you then click anywhere outside the edit box (e.g. to access another control) the cursor position (SelStart) jumps several characters to the right.
Anyone have any idea how to overcome this erratic behaviour?
JOHN
I am having a problem with the SelStart property in an edit box.
I have an edit box on a form in which text is entered. I am using the SelStart property to be able to insert text at the cursor position.
Everything is fine until you insert one or more carriage returns. If you then click anywhere outside the edit box (e.g. to access another control) the cursor position (SelStart) jumps several characters to the right.
Anyone have any idea how to overcome this erratic behaviour?
JOHN