Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Customer Keyboard Problems
Message
From
14/09/2017 05:11:52
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
01/08/2017 02:49:11
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:
01654281
Views:
81
>Hi Metin,
>
>I tried your suggestion using the Image control.
>
>It is similar in behavior to using the Container and Label controls in that although it does not fire the LostFocus() event, it fires the Valid() event. This works for textboxes controls with Character values; one merely does a 'KEYBOARD (value)' in the Click event.
>
>For textbox controls with Numeric or Date values though, it does not work because of the Valid event being fired for each Click you do. To explain further, when user say clicks on label '1', then clicks '2', the value in the textbox becomes '2' instead of the intended '12', because after the '1' was clicked, the Valid event fired.
>
>
>
>
>>>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?
>>
>>Hi Dennis,
>>
>>In first I used a toolbar container for my POS application because of not run focus feature of toolbar buttons. But this container was seem inharmonious at POS screen like OSK.EXE of Windows. So than I decided to use picture control's click methods for buttons. Now my virtual keyboard seem excellent and integrated with my POS application. I created a container control and put all keys with these picture controls to in. I add that container to all my POS keyboard using screens.

I'll share my class at there. I hope I won't forget until go to home... :)
Previous
Reply
Map
View

Click here to load this message in the networking platform