Platforms to show: All Mac Windows Linux Cross-Platform

/MacCF/GPU Performance Statistics List


Required plugins for this example: MBS MacCF Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacCF/GPU Performance Statistics List

This example is the version from Fri, 17th Jan 2019.

Project "GPU Performance Statistics List.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
EventHandler Sub Open() for j as integer = 0 to 3 dim d as Dictionary = IORegistryMBS.PerformanceStatistics(j) if d <> nil then dim m as new MainWindow m.Title = "GPU "+str(j+1) dim list as listbox = m.list for i as integer = 0 to d.Count-1 dim k as Variant = d.key(i).StringValue dim v as Variant = d.Value(k) List.AddRow str(i), k.StringValue, v.StringValue next end if next End EventHandler
End Class
Class MainWindow Inherits Window
Control list Inherits Listbox
ControlInstance list Inherits Listbox
EventHandler Sub Open() me.ColumnAlignment(2) = me.AlignRight End EventHandler
End Control
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.


The biggest plugin in space...