Keyboard covers text field when typing

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:16 pm

should I make the image into the group?
otherwise,the new-added image doesn't function

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

Re: Keyboard covers text field when typing

Post by Simon » Tue Aug 27, 2013 11:19 pm

Edit the group and add a blank image (no boarder) to the bottom of your group make it's vertical size twice the card size, move it to the bottom of the group.
Turn on the vertical scroll bar.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:20 pm

The vscroll came out.
but it only occurs in the edit-group card

nothing changed in the original card

and yet, nothing happens after the button is clicked........

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

Re: Keyboard covers text field when typing

Post by Simon » Tue Aug 27, 2013 11:22 pm

I don't understand you last post...
Can you make your controls act like the sample stack?
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

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

Re: Keyboard covers text field when typing

Post by Simon » Tue Aug 27, 2013 11:23 pm

Oh Drats!

Just copy your card to a new stack and post it here.

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

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:25 pm

I succeed in what you said.

Just the button doesn't work.

The scroll bar is whole-length so it can not be moved

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:29 pm

11111111111
Attachments
ecnu1.livecode.zip
(2.97 KiB) Downloaded 243 times

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

Re: Keyboard covers text field when typing

Post by Simon » Tue Aug 27, 2013 11:34 pm

You forgot to lock the group before adding the image.
Try again.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:37 pm

I locked!

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:40 pm

In my app, there won't be allowed to exist a button to be clicked to set vScroll.

If the button is not allowed, is your method still going to function?

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Tue Aug 27, 2013 11:53 pm

all right, don't waste any of your time on me, Simon.

I really appreciate your effort.

I would just try to research the codes from Ender myself.
If I fail, I fail. If I succeed, I succeed.

Thanks again!
Michael

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

Re: Keyboard covers text field when typing

Post by Simon » Tue Aug 27, 2013 11:58 pm

The button is just for showing how it would work.
In the fields you'd place the code for auto scrolling "on openField"

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

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Wed Aug 28, 2013 12:05 am

I see!

That seems fairly useful.

I was trying with Ender's codes and adjusting my app.
The way he uses is pretty direct and I can understand!

I am on my way to solve this unkind/common problem. :D

Still being thanking you, Simon, Hope you have a nice sleep tonight

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

Re: Keyboard covers text field when typing

Post by Simon » Wed Aug 28, 2013 12:14 am

Great!
I'm glad you've found something you can work with.

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

ECNU4271
Posts: 93
Joined: Tue May 07, 2013 4:33 pm

Re: Keyboard covers text field when typing

Post by ECNU4271 » Sun Sep 01, 2013 11:06 pm

I've demonstrated it to my supervisor.

He told me that this problem can be solved as scroll the whole card instead of scroll the combined group.

Just FYI :D

Post Reply