Platforms to show: All Mac Windows Linux Cross-Platform

/Overlay/Controls/Button/Button with plugin


Required plugins for this example: MBS Overlay Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Overlay/Controls/Button/Button with plugin

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

Project "Button with plugin.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control ButtonMBS1 Inherits ButtonMBS
ControlInstance ButtonMBS1 Inherits ButtonMBS
EventHandler Sub Action(x as integer, y as integer) dim d as new date Title="Last click: "+d.LongTime End EventHandler
End Control
Control ButtonMBS2 Inherits ButtonMBS
ControlInstance ButtonMBS2 Inherits ButtonMBS
EventHandler Sub Action(x as integer, y as integer) dim d as new date Title="Last click: "+d.LongTime End EventHandler
End Control
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&File"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "Select &All"
End MenuBar
ExternalFile MouseOver
End ExternalFile
ExternalFile Normal
End ExternalFile
ExternalFile Disabled
End ExternalFile
ExternalFile Pressed
End ExternalFile
ExternalFile Mask
End ExternalFile
ExternalFile xDisable
End ExternalFile
ExternalFile xNormal
End ExternalFile
ExternalFile xOver
End ExternalFile
ExternalFile xDown
End ExternalFile
End Project

See also:

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


The biggest plugin in space...