Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Win/Windows Key Filter
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 Key Filter
This example is the version from Sun, 23th Sep 2017.
Project "Windows Key Filter.rbp"
FileTypes
Filetype text
End FileTypes
Class Window1 Inherits Window
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() if w.Install then MsgBox "ok" else MsgBox "failed" end if End EventHandler
End Control
Control PushButton2 Inherits PushButton
ControlInstance PushButton2 Inherits PushButton
EventHandler Sub Action() if w.Uninstall then MsgBox "ok" else MsgBox "failed" end if End EventHandler
End Control
Control CheckBox1 Inherits CheckBox
ControlInstance CheckBox1 Inherits CheckBox
EventHandler Sub Action() w.BlockAltTab=me.Value End EventHandler
End Control
Control CheckBox2 Inherits CheckBox
ControlInstance CheckBox2 Inherits CheckBox
EventHandler Sub Action() w.BlockAltEscape=me.Value End EventHandler
End Control
Control CheckBox3 Inherits CheckBox
ControlInstance CheckBox3 Inherits CheckBox
EventHandler Sub Action() w.BlockControlEscape=me.Value End EventHandler
End Control
Control CheckBox4 Inherits CheckBox
ControlInstance CheckBox4 Inherits CheckBox
EventHandler Sub Action() w.BlockControlAltDelete=me.Value End EventHandler
End Control
Control CheckBox5 Inherits CheckBox
ControlInstance CheckBox5 Inherits CheckBox
EventHandler Sub Action() w.BlockRightWindowsKey=me.Value End EventHandler
End Control
Control CheckBox6 Inherits CheckBox
ControlInstance CheckBox6 Inherits CheckBox
EventHandler Sub Action() w.BlockLeftWindowsKey=me.Value End EventHandler
End Control
Control CheckBox7 Inherits CheckBox
ControlInstance CheckBox7 Inherits CheckBox
EventHandler Sub Action() w.BlockApplicationWindowsKey=me.Value End EventHandler
End Control
Control CheckBox8 Inherits CheckBox
ControlInstance CheckBox8 Inherits CheckBox
EventHandler Sub Action() w.BlockAltF4=me.Value End EventHandler
End Control
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control CheckBox9 Inherits CheckBox
ControlInstance CheckBox9 Inherits CheckBox
EventHandler Sub Action() w.BlockPrint=me.Value w.BlockSnapshot=me.Value End EventHandler
End Control
EventHandler Sub Close() call w.Uninstall End EventHandler
EventHandler Sub Open() w=new WindowsKeyFilterMBS End EventHandler
Property Protected w As windowskeyFilterMBS
End Class
MenuBar MenuBar1
MenuItem UntitledMenu1 = ""
MenuItem FileMenu = "&File"
MenuItem FileQuit = "Quit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu0 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins