Page 1 of 1

Keyboard hides text / Scroll text to become visible (SOLVED]

Posted: Thu Oct 30, 2014 12:03 pm
by Traxgeek
Hi,

Once again, I'm sure this has been covered someplace but I can't find it now...

The pop-up keyboard often covers the line I was writing / want to write text to. I understand vScroll and I can pad my text (add cr or <br> at the end of my text) to enable me to vScroll to it.
The question is how to find the value to set the vScroll of my text field ?

I know the char / area I was last at (using the selected chunk) but how to extract the vScroll value so that I scroll my text field to that specific line (the one that was where I was last typing)...

Not sure if that makes any sense.

Any pointers please ?

Thanks a million.

Re: Keyboard hides text / Scroll text to become visible

Posted: Thu Oct 30, 2014 1:01 pm
by Traxgeek
Aha... I think I'm looking for the 'formattedrect' of word / char / line...

I'll go play with this and then revert. Thanks all the same.

Re: Keyboard hides text / Scroll text to become visible

Posted: Thu Oct 30, 2014 4:39 pm
by Traxgeek
Yep, the 'formattedrect of..' is what was required...