Platforms to show: All Mac Windows Linux Cross-Platform

/MacClassic/Create Bundle Folder
Required plugins for this example: MBS MacClassic Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacClassic/Create Bundle Folder
This example is the version from Tue, 16th Sep 2013.
Project "Create Bundle Folder.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
EventHandler Sub Open() dim folder as FolderItem = SpecialFolder.Desktop.Child("secret") folder.CreateAsFolder dim f as integer = folder.GetFolderFlagsMBS const kHasBundle = &h2000 if f<0 then // failed f = kHasBundle else f = BitwiseOr(f, kHasBundle) end if dim e as integer = folder.SetFolderFlagsMBS(f) if e = 0 then MsgBox "OK" else MsgBox "Mac error: "+str(e) end if End EventHandler
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project

Feedback, Comments & Corrections

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

The biggest plugin in space...

MBS Xojo Plugins