Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Customer Keyboard Problems
Message
From
11/07/2017 13:30:12
 
 
To
11/07/2017 05:22:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
SAMBA Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01652603
Message ID:
01652613
Views:
117
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Thomas / Denis,
>
>After my googling, I found out the following basic steps in creating a virtual keyboard class:
>
>1 - make a "key" based on the commandbutton, which basically calls KEYBOARD of its Caption
>2 - create a container to "house" all these keys
>3 - put this container inside a toolbar
>
>Already did 1 and 2. But when I started creating the toolbar class, the Height and Width seems to be read-only. So I proceeded to programatically add (using .AddObject) in the toolbars Init method. No success so far.
>
>Any ideas?

I made a keyboard once also based on container, but use label controls for the keys. That way the keys do not receive the focus when being clicked on and the cursor stays focused on the textbox that you like to enter the text in.

If you like animation (the Click action) you can move the label down and up about 3 pixels, best with a timer to get a small delay in the action. You should be aware if someone uses an onscreen keyboard and there is a remote session open, the viewer could see the password if the user presses those keys to enter the password.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform