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

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

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

Post by Traxgeek » Thu Oct 30, 2014 12:03 pm

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.
Last edited by Traxgeek on Thu Oct 30, 2014 4:39 pm, edited 1 time in total.
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Re: Keyboard hides text / Scroll text to become visible

Post by Traxgeek » Thu Oct 30, 2014 1:01 pm

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.
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Re: Keyboard hides text / Scroll text to become visible

Post by Traxgeek » Thu Oct 30, 2014 4:39 pm

Yep, the 'formattedrect of..' is what was required...
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Post Reply