Page 2 of 5
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 10:56 am
by Jellicle
I always have the status bar visible in my apps. Is that what you mean?
g
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 11:48 am
by ECNU4271
Hi,all!
Things get interesting now... Although I don't know how to react in this situation....
Regards,
Michael
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 12:23 pm
by Klaus
ECNU4271 wrote:Code: Select all
on openCard
set the rect of this stack to line 9 of the working screenRects
end openCard
Geeez, you have nine (9) monitors attached to you machine?

Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 1:58 pm
by ECNU4271
Klaus wrote:ECNU4271 wrote:Code: Select all
on openCard
set the rect of this stack to line 9 of the working screenRects
end openCard
Geeez, you have nine (9) monitors attached to you machine?

Well, I don't even know how to use screenRects....
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:15 pm
by Simon
Here, tell me what is returned by typing in the field and pressing the button.
Note that you have to touch anywhere out of the field on the screen to make the keyboard go away before you hit the button.
Simon
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:27 pm
by ECNU4271
Thanks Simon,
it's 0,22,1366,764 what does it mean by the way?
Michael
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:33 pm
by ECNU4271
nono on my iOS simulater the number is "0,20,320,264"
my screen resolution is 320 * 480
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:37 pm
by Simon
Actually I wanted both numbers.
Keyboard up/keyboard down.
The difference in the last number is what you have to accommodate for.
Simon
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:40 pm
by ECNU4271
Hi! Simon
It's 0,20,320,264
0,20,320,480
I may not express myself clear in the previous reply.
How may I make use of the difference by the way, I know you mention vScroll group but I really never use it. I am looking vscroll up in the dic now.
Michael
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:44 pm
by Simon
So, 264 when the keyboard is up, 480 when down. The numbers are left,top,right,bottom
Now you know where you have to place you field.
Simon
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 9:46 pm
by ECNU4271
maybe a simple example to show how to use vScroll?
and combine groups?
Please!
***I've grouped the fields, where to set the vScroll? in the script of each field?
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 10:04 pm
by ECNU4271
I did grouped the fields. (Although I don't know where to name the group)
In the script of the group, I typed : " set the vScroll of group to 50"
How to make it work when keyboard goes up?
What 's the command here?
Thanks
Michael
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 10:09 pm
by Simon
(Although I don't know where to name the group)
Boy am I in trouble
How do you name your other objects?
Simon
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 10:10 pm
by ECNU4271
haha Simon
I've named the group!
Re: Keyboard covers text field when typing
Posted: Tue Aug 27, 2013 10:13 pm
by Simon
Now make the group much larger vertically keeping you fields at the top and lock it's size and position.