Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Util/ZoomRects
Function:
Required plugins for this example: MBS Util Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/ZoomRects
This example is the version from Sun, 17th Mar 2012.
Project "ZoomRects.rbp"
Class Window1 Inherits Window
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() dim f,t as IntegerRectMBS f=MakeIntegerRectMBS(100,100,100,100) t=MakeIntegerRectMBS(300,300,300,300) if MacZoomRectMBS(f,t,Slider1.Value,acc)<>0 then beep end if End EventHandler
End Control
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control Slider1 Inherits Slider
ControlInstance Slider1 Inherits Slider
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control Radio Inherits RadioButton
ControlInstance Radio(0) Inherits RadioButton
ControlInstance Radio(1) Inherits RadioButton
ControlInstance Radio(2) Inherits RadioButton
EventHandler Sub Action(index as Integer) acc=index End EventHandler
End Control
Property Protected acc As integer
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

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos