Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customer Keyboard Problems
Message
De
10/10/2017 02:19:26
 
 
À
23/09/2017 06:48:14
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
SAMBA Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01652603
Message ID:
01654874
Vues:
182
Hi Metin,

Sorry for such a much delayed reply.

Wow, thanks for sharing!

Basically, the tips you shared helped me make my own keyboard class.



>>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.
>
>
>Hi Dennis,
>
>This's my virtual keyboard class. Use container based one, not toolbar based one.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform