Author Topic: On-Screen Keyboard Button (plus Calculator, Notepad and Paint)  (Read 4005 times)

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
On-Screen Keyboard Button (plus Calculator, Notepad and Paint)
« on: November 25, 2016, 11:11:09 AM »
The attached control is a button to start the Windows On-Screen Keyboard (mainly to be used with touchscreens).

No path is specified so hopefully all versions of Windows will be handling it properly (Windows 7 does).
« Last Edit: November 30, 2016, 03:18:13 PM by Godra »

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: On-Screen Keyboard Button (plus Calculator, Notepad and Paint)
« Reply #1 on: November 26, 2016, 04:04:06 PM »
The control attached in this post is expanded control from the first post.

It allows to start either of the following apps: Calculator, Notepad, On-Screen Keyboard or Paint.

The app selection is done with the right-click of the button and the selected app is started with the left click of the button. The button could be set in DesignMode to any particular app to show when the program is initially run.

As it appears, the right-clicking on touchscreens should be performed by lightly pressing - then holding - then releasing the button to see the menu.

You can see the pattern in the code so add or remove whatever app, as needed.
« Last Edit: December 22, 2016, 07:29:49 PM by Godra »