Moving cursor in textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I need to jump in the textbox, for example, to 5th row and 20th column.

Any idea?

Thanks
 
There is no concept of row and column in a *text* box. You'll have to
figure out what character position is your target and move the cursor
there...

Paul T.
 
If your rows are defined by a carriage return line feed you can scan the
text for them, and the same could be used
to detect the Tabs if used to sepearate columns.

So 5th row would be after the 4th CRLF and then count 19 Tabs to get to the
20th Column.

Robert
 
Back
Top