General information
Category:
ActiveX controls in VFP
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only