UIScroller pioblem

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
info26
Posts: 47
Joined: Tue May 17, 2011 10:14 am

UIScroller pioblem

Post by info26 » Sat Jul 09, 2011 10:08 am

I am trying MobGUI

I have problem on Iphone with a card with some text area.

When I edit the area as high as, the keyboard moves the object to edit too high, I don't see it, if I move on the area down on the card, the edit area reamins under the keyboard.
I tried to resize the group controlled by the scroller, it works a little better but I can not to reach the two objects at the top and bottom of the group

Do you have suggestions

Thank's

Mimmo

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: UIScroller pioblem

Post by splash21 » Sat Jul 09, 2011 11:21 am

Hi, Mimmo. Did you try issuing the following command after resizing the scroller group?;

Code: Select all

scrollerUpdate "MyScroller"
If you can't reach some of the objects in the group, then this command should refresh the content rectangle and allow the scroller to scroll over the correct range.
Apologies If I've misunderstood the problem!

:)
LiveCode Development & Training : http://splash21.com

info26
Posts: 47
Joined: Tue May 17, 2011 10:14 am

Re: UIScroller pioblem

Post by info26 » Tue Jul 12, 2011 8:23 am

My problem is this

I try to explain this and also attach an image I hope will be useful to understand,
I have a card with 20 labels and 20 text areas (native input), the scroll wheel moves the label but not the text areas.
If I groups all oject inside the scroller does not move anymore

I do not understand how to move all the objects, so you can edit the fields that are not in the video conetnuti

With the scroller Livecode I managed to get the desired result with these scroller not.

If you have any suggestions

thanks
Attachments
AAA.jpg

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: UIScroller pioblem

Post by splash21 » Tue Jul 12, 2011 9:18 am

The iOS native controls are created at run time, they don't exist before then, so aren't really part of your scrolling group! They are just represented in the IDE by the LC text field. If you want them to scroll with the labels, you would need to script it or use normal LC text fields.
With the scroller Livecode I managed to get the desired result with these scroller not.
Is there an example of what you are after available?

HTH


John.
LiveCode Development & Training : http://splash21.com

Post Reply

Return to “MobGUI”