Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/MacExtras/SpinningProgressIndicator
Function:
Required plugins for this example: MBS MacBase Plugin, MBS MacExtras Plugin, MBS MacFrameworks Plugin, MBS Main Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacExtras/SpinningProgressIndicator
This example is the version from Sun, 18th May 2013.
Project "SpinningProgressIndicator.rbp"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control CocoaControlMBS5 Inherits CocoaControlMBS
ControlInstance CocoaControlMBS5 Inherits CocoaControlMBS
EventHandler Function GetView() As NSViewMBS n1=new SpinningProgressIndicatorMBS(0,0,me.Width,me.Height) n1.isIndeterminate = true Return n1 End EventHandler
End Control
Control CocoaControlMBS6 Inherits CocoaControlMBS
ControlInstance CocoaControlMBS6 Inherits CocoaControlMBS
EventHandler Function GetView() As NSViewMBS n2=new SpinningProgressIndicatorMBS(0,0,me.Width,me.Height) n2.startAnimation Return n2 End EventHandler
End Control
Control CocoaControlMBS7 Inherits CocoaControlMBS
ControlInstance CocoaControlMBS7 Inherits CocoaControlMBS
EventHandler Function GetView() As NSViewMBS dim n3 as new SpinningProgressIndicatorMBS(0,0,me.Width,me.Height) n3.isIndeterminate = true n3.startAnimation Return n3 End EventHandler
End Control
Property n1 As SpinningProgressIndicatorMBS
Property n2 As SpinningProgressIndicatorMBS
Property n3 As SpinningProgressIndicatorMBS
Property n4 As SpinningProgressIndicatorMBS
Property n5 As SpinningProgressIndicatorMBS
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
End Project

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos