Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Picture/Screenshot/Window Screenshot Rect
Function:
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 Rect
This example is the version from Sun, 17th Mar 2012.
Project "Window Screenshot Rect.rbp"
Class Window1 Inherits Window
Control BevelButton1 Inherits BevelButton
ControlInstance BevelButton1 Inherits BevelButton
End Control
Control ChasingArrows1 Inherits ProgressWheel
ControlInstance ChasingArrows1 Inherits ProgressWheel
End Control
Control CheckBox1 Inherits CheckBox
ControlInstance CheckBox1 Inherits CheckBox
End Control
Control LittleArrows1 Inherits UpDownArrows
ControlInstance LittleArrows1 Inherits UpDownArrows
End Control
Control PopupMenu1 Inherits PopupMenu
ControlInstance PopupMenu1 Inherits PopupMenu
End Control
Control Timer1 Inherits Timer
ControlInstance Timer1 Inherits Timer
EventHandler Sub Action() Window2.Backdrop=self.ScreenshotWindowRectMBS(Mousex-50,MouseY-50,100,100) End EventHandler
End Control
EventHandler Sub Open() Window2.left=me.left+me.Width+50 Window2.Show me.Show End EventHandler
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 Window2 Inherits Window
End Class
Class App Inherits Application
End Class
End Project

See also:

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos