iPad Transitions
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
iPad Transitions
The iPad has a larger working surface with space for navigation on the left along with detailed information on the right. Is there a way to "push" with a visual effect to only part of the screen? It doesn't seem right that the entire screen moves. Of course I could just do it without the visual effect but I thought I would ask.
Thanks
Thanks
Re: iPad Transitions
Found my answer: lock a portion of the screen and then unlock with the transition effect.
-
- Livecode Opensource Backer
- Posts: 211
- Joined: Sun Oct 24, 2010 12:13 am
Re: iPad Transitions
What was the syntax to lock and unlock part of a screen? I didn't know you could do that.
Re: iPad Transitions
Yes I would like to know also. I tried with "show group" but it is not completely satisfying.
For example if I need to update/swipe several groups on the same screen with fixed objects in the middle.
Some lines of code would be helpful especially for the iPad where you may want to swipe only for parts of the screen
For example if I need to update/swipe several groups on the same screen with fixed objects in the middle.
Some lines of code would be helpful especially for the iPad where you may want to swipe only for parts of the screen
Re: iPad Transitions
Sufficient to look in 'dictionary' ... lock screen [for visual effect] [in rect rect] ...richardmac wrote:What was the syntax to lock and unlock part of a screen? I didn't know you could do that.
... Use the (optional) 'rect' parameter of the lock screen command if you want to subsequently unlock the screen using a visual effect in a particular area of the screen.

Guglielmo
Re: iPad Transitions
Yep, the dictionary is not really that bad as they say... 

Re: iPad Transitions
I have a navigation bar at the top and a segmented control right below it spanning the width. I just wanted to transition the rest of the screen.
This code leaves the navigation bar and segmented control in place while the sweep across is visible.
on mouseup
lock screen for visual effect in rect 0,123,1024,768
go to next card
unlock screen with visual effect push right very fast
end mouseup
This code leaves the navigation bar and segmented control in place while the sweep across is visible.
on mouseup
lock screen for visual effect in rect 0,123,1024,768
go to next card
unlock screen with visual effect push right very fast
end mouseup
-
- Livecode Opensource Backer
- Posts: 211
- Joined: Sun Oct 24, 2010 12:13 am
Re: iPad Transitions
I thought since he'd just figured it out he wouldn't mind sharing his syntax. Which he did. I am aware of the Dictionary.gpb01 wrote:Sufficient to look in 'dictionary' ... lock screen [for visual effect] [in rect rect] ...richardmac wrote:What was the syntax to lock and unlock part of a screen? I didn't know you could do that.
... Use the (optional) 'rect' parameter of the lock screen command if you want to subsequently unlock the screen using a visual effect in a particular area of the screen.
Guglielmo