Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Win/WindowsVerticalBlank example
Function:
Required plugins for this example: MBS ComputerControl Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/WindowsVerticalBlank example
This example is the version from Tue, 9th Jul 2012.
Project "WindowsVerticalBlank example.rbp"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control List Inherits Listbox
ControlInstance List Inherits Listbox
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() update End EventHandler
End Control
EventHandler Sub Open() w = new WindowsVerticalBlankMBS update End EventHandler
Sub Update() List.DeleteAllRows list.AddRow "Available", str(w.Available) list.AddRow "GetMonitorFrequency", str(w.GetMonitorFrequency) if w.Lasterror<>0 then list.AddRow " lasterror", str(w.Lasterror)+" "+w.LasterrorString end if list.AddRow "GetScanLine", str(w.GetScanLine) if w.Lasterror<>0 then list.AddRow " lasterror", str(w.Lasterror)+" "+w.LasterrorString end if list.AddRow "GetVerticalBlankStatus", str(w.GetVerticalBlankStatus) if w.Lasterror<>0 then list.AddRow " lasterror", str(w.Lasterror)+" "+w.LasterrorString end if End Sub
Property w As WindowsVerticalBlankMBS
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 Win Plugin.




Links
MBS FileMaker tutorial videos