textfield scroll on focus

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

textfield scroll on focus

Post by JosepM » Wed Apr 29, 2015 4:52 pm

Hi,

I need help to how disable the scroll that perform any textfield when have the focus. All the stack scroll automatically and lost the control. Maybe is a silly question but I blocked.

I'm on LC 6.6.2 on MAcosx

Salut,
Josep M

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: textfield scroll on focus

Post by Dixie » Thu Apr 30, 2015 5:58 am

Josep...

I am failing to understand the problem that you are having..:-(

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: textfield scroll on focus

Post by JosepM » Thu Apr 30, 2015 8:29 am

Sorry.

I have an stack with one text field. When I touch inside the text field all the screen scroll to top showing the keyboard automatically.
How I prevent this?

Attach the test stack.

Salut,
Josep M

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: textfield scroll on focus

Post by JosepM » Fri May 01, 2015 7:36 am

The attach...
Attachments
Untitled1.livecode.zip
(2.72 KiB) Downloaded 149 times

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: textfield scroll on focus

Post by Simon » Fri May 01, 2015 8:24 pm

Hi Josep,
On Android this is caused by setting accelerated rendering to true.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: textfield scroll on focus

Post by JosepM » Sun May 03, 2015 8:19 pm

Hi,

Yes,... I discovered it now... :( so I can't use it?

Salut,
Josep M

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: textfield scroll on focus

Post by Simon » Sun May 03, 2015 8:34 pm

Hi Josep,
You can use it, just have to keep turning it off and on.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: textfield scroll on focus

Post by JosepM » Sun May 03, 2015 8:39 pm

Off for stacks with textfields or native textfields?

Post Reply

Return to “Android Deployment”