>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