Platforms to show: All Mac Windows Linux Cross-Platform

/Picture/Screenshot/Window Screenshot


Required plugins for this example: MBS MacOSX Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Picture/Screenshot/Window Screenshot

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

Project "Window Screenshot.xojo_binary_project"
Class Window1 Inherits Window
Control BevelButton1 Inherits BevelButton
ControlInstance BevelButton1 Inherits BevelButton
EventHandler Sub Action() if me.Caption="black" then me.Caption="white" BackColor=rgb(255,255,255) else me.Caption="black" BackColor=rgb(0,0,0) end if End EventHandler
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() dim p as Picture p=self.ScreenshotWindowMBS output.Backdrop=p End EventHandler
End Control
Control ChasingArrows1 Inherits ProgressWheel
ControlInstance ChasingArrows1 Inherits ProgressWheel
End Control
Control CheckBox1 Inherits CheckBox
ControlInstance CheckBox1 Inherits CheckBox
EventHandler Sub Action() HasBackColor=me.Value End EventHandler
End Control
Control LittleArrows1 Inherits UpDownArrows
ControlInstance LittleArrows1 Inherits UpDownArrows
End Control
Control PopupMenu1 Inherits PopupMenu
ControlInstance PopupMenu1 Inherits PopupMenu
End Control
Control output Inherits Canvas
ControlInstance output Inherits Canvas
End Control
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
End Class
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

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


The biggest plugin in space...