Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KEYBOARD / Keypress
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
KEYBOARD / Keypress
Divers
Thread ID:
00470481
Message ID:
00470481
Vues:
69
(I send this to double places Sorry, but there is two separated things.)

Problem with WSH (and keypressed event in VFP)

ALL VFP versions including VFP7
--------------------------
1) oScript = creat("WSCript.Shell")
(now activate another VFP application)
(Then in first VFP application run next sentence)
oScript.appactivate(Another VFP application)
oScript.sendkeys({LEFT})
-- PROBLEM
{LEFT}, {UP}, {DEL} etc. to another VFP application does't do anything (BUT TO word, Calculator etc. it's working).

-----------------------------

2) Create form, add some txtBoxes
Thisform.Keypreview = .T.
--
Next event is form's keypress event
--
LPARAMETERS nKeyCode, nShiftAltCtrl
--
everything is OK but if next is form's keypress event:
--
LPARAMETERS nKeyCode, nShiftAltCtrl
DODEFAULT(nKeyCode, nShiftAltCtrl
)
-- PROBLEM
Try to press left or right cursor in middle of some txtbox. Cursor doesn't move to next letter but to next field BUG BUG !!

------------

I'm trying to do touch screen keyboard with VFP (OK it's working´if ForgroundWindow is NOT VFP application but if it is NO WAY) = BUG , BUG

Is there a work around (OCX or what ever)?

Arto
Répondre
Fil
Voir

Click here to load this message in the networking platform