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 »

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 »

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 »

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 »

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 »

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 »

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 »

11111111111
Attachments
ecnu1.livecode.zip
(2.97 KiB) Downloaded 323 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 »

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 »

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

Re: Keyboard covers text field when typing

Post by ECNU4271 »

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 »

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 »

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 »

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 »

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 »

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