Platforms to show: All Mac Windows Linux Cross-Platform
/MacCF/MIDI/Midi Playback Instruments
Required plugins for this example: MBS MacOSX Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacCF/MIDI/Midi Playback Instruments
This example is the version from Sun, 17th Mar 2012.
Project "Midi Playback Instruments.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control Listbox1 Inherits Listbox
ControlInstance Listbox1 Inherits Listbox
End Control
EventHandler Sub Open()
dim m as new MidiPlaybackMBS
dim u as integer = m.InstrumentCount-1
for i as integer = 0 to u
Listbox1.AddRow str(i)
Listbox1.Cell(listbox1.LastIndex,1) = m.InstrumentName(i)
Listbox1.Cell(listbox1.LastIndex,2) = hex(m.InstrumentID(i))
next
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
See also:
The items on this page are in the following plugins: MBS MacCF Plugin.