Platforms to show: All Mac Windows Linux Cross-Platform

/MacCG/CGS/CGS Dashboard like Flip


Required plugins for this example: MBS Main Plugin, MBS MacCG Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacCG/CGS/CGS Dashboard like Flip

This example is the version from Sun, 17th Mar 2012.

Project "CGS Dashboard like Flip.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control PagePanel1 Inherits PagePanel
ControlInstance PagePanel1 Inherits PagePanel
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() // 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.CGSLeft r.HasBackGround=false r.HasBackColor=false r.Win=w dim ct as CGSTransitionMBS = co.NewTransition(r) if ct<>Nil then PagePanel1.Value = 1 Refresh ct.invoke 0.5 ct.wait 0.5 ct.release else MsgBox "Error creating the transition." end if End EventHandler
End Control
Control Label1 Inherits Label
ControlInstance Label1 Inherits Label
End Control
Control Label2 Inherits Label
ControlInstance Label2 Inherits Label
End Control
Control PushButton2 Inherits PushButton
ControlInstance PushButton2 Inherits PushButton
EventHandler Sub Action() // 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 End EventHandler
End Control
Control CheckBox1 Inherits CheckBox
ControlInstance CheckBox1 Inherits CheckBox
End Control
Control CheckBox2 Inherits CheckBox
ControlInstance CheckBox2 Inherits CheckBox
End Control
Control CheckBox3 Inherits CheckBox
ControlInstance CheckBox3 Inherits CheckBox
End Control
Control Canvas1 Inherits Canvas
ControlInstance Canvas1 Inherits Canvas
EventHandler Sub Open() me.Backdrop = LogoMBS(300) End EventHandler
End Control
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project

See also:

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...