Platforms to show: All Mac Windows Linux Cross-Platform

/Util/Smooth Window Resize Mac


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/Smooth Window Resize Mac

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

Project "Smooth Window Resize Mac.xojo_binary_project"
Class Window1 Inherits Window
Control iWidth Inherits TextField
ControlInstance iWidth Inherits TextField
EventHandler Sub Open() me.text=str(width) End EventHandler
End Control
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control iHeight Inherits TextField
ControlInstance iHeight Inherits TextField
EventHandler Sub Open() me.text=str(height) End EventHandler
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() dim w,h as integer // get destination dimension w=val(iwidth.text) h=val(iheight.text) // Resize self.SmoothResizeMBS w,h // Now resize via RB to make it permament. width=w height=h End EventHandler
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

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


The biggest plugin in space...