Am 26.09.2011 um 12:00 schrieb Jaap Cammeraat:
> hi,
>
> i'm playing with CGSTransitionMBS to flip a window.
>
> but what i can't find is a way to flip to another window,
> or to stop the flip half way of window1
> to simulate the dashboard-window idea.
Code is like that:
// flip transition for the window
dim r as CGSTransitionRequestMBS
dim co as new CGSConnectionMBS
dim w as CGSWindowMBS = co.CGSWindow(self)
r=new CGSTransitionRequestMBS
r.TransitionType=r.CGSFlip
r.TransitionOption=r.CGSRight
r.HasBackGround=false
r.HasBackColor=false
r.Win=w
dim ct as CGSTransitionMBS = co.NewTransition(r)
if ct<>Nil then
PagePanel1.Value = 0
Refresh
ct.invoke 0.5
ct.wait 0.5
ct.release
end if
And you put the different pages on different pages of a PagePanel.
PS: I sent you a sample project, I made for the next prerelease.
Greetings
Christian
--
See you in Frankfurt, Germany at the Real Studio Database Days
More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/frankfurt-2011-event.shtml
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info