Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Win/Windows Taskbar List
Function:
Required plugins for this example: MBS Win Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/Windows Taskbar List
This example is the version from Sun, 17th Mar 2012.
Project "Windows Taskbar List.rbp"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control Slider1 Inherits Slider
ControlInstance Slider1 Inherits Slider
EventHandler Sub ValueChanged() w.SetProgressValue(self.Handle, me.Value, me.Maximum) End EventHandler
End Control
Control PopupMenu1 Inherits PopupMenu
ControlInstance PopupMenu1 Inherits PopupMenu
EventHandler Sub Change() Select case me.ListIndex case 0 w.SetProgressState self.handle, w.ProgressStateFlagNoProgress case 1 w.SetProgressState self.handle, w.ProgressStateFlagIndeterminate case 2 w.SetProgressState self.handle, w.ProgressStateFlagNormal case 3 w.SetProgressState self.handle, w.ProgressStateFlagError case 4 w.SetProgressState self.handle, w.ProgressStateFlagPaused else end Select End EventHandler
End Control
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control StaticText3 Inherits Label
ControlInstance StaticText3 Inherits Label
End Control
Control StaticText4 Inherits Label
ControlInstance StaticText4 Inherits Label
End Control
Control StaticText5 Inherits Label
ControlInstance StaticText5 Inherits Label
End Control
EventHandler Sub Open() w = new WindowsTaskbarListMBS StaticText2.text = "TaskbarList Version 1: "+hex(w.Handle1) StaticText3.text = "TaskbarList Version 2: "+hex(w.Handle2) StaticText4.text = "TaskbarList Version 3: "+hex(w.Handle3) StaticText5.text = "TaskbarList Version 4: "+hex(w.Handle4) End EventHandler
Property w As WindowsTaskbarListMBS
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:

Feedback, Comments & Corrections

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




Links
MBS FileMaker Plugins