Platforms to show: All Mac Windows Linux Cross-Platform

/MacControls/NSPathControl control


You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacControls/NSPathControl control

This example is the version from Wed, 2nd Jan 2024.

Project "NSPathControl control.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control Info1 Inherits Label
ControlInstance Info1 Inherits Label
End Control
Control Listbox1 Inherits Listbox
ControlInstance Listbox1 Inherits Listbox
End Control
Control NSPathControlControlMBS1 Inherits NSPathControlControlMBS
ControlInstance NSPathControlControlMBS1 Inherits NSPathControlControlMBS
EventHandler Sub Action() Listbox1.AddRow CurrentMethodName End EventHandler
EventHandler Sub DoubleClick() Listbox1.AddRow CurrentMethodName End EventHandler
EventHandler Sub Open() Listbox1.AddRow CurrentMethodName Dim p As NSPathControlMBS = Me.View p.file = SpecialFolder.Desktop End EventHandler
End Control
EventHandler Sub Open() End EventHandler
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
Sign
End Sign
End Project

See also:

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


The biggest plugin in space...