Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keystroke
Message
From
09/07/2008 06:07:58
Marcus Hüneke
Heidelberger Druckmaschinen
Wiesloch, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Keystroke
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01329916
Message ID:
01329916
Views:
53
Hello,

Hope somebody here can help me. I have the following problem. Just want to send keystrokes to a SAP mask (Input-field).
Works fine with nearly all keystokes.
Now I want to mark the whole field to delete it.

I use :

#Define VK_END 0x23
#Define KEYEVENTF_KEYUP 2

= keybd_event(VK_SHIFT, 0, 0, 0)
= keybd_event(VK_END , 0, 0, 0)
= keybd_event(VK_END, 0, KEYEVENTF_KEYUP, 0)
= keybd_event(VK_SHIFT, 0, KEYEVENTF_KEYUP, 0)

Shift + TAB works fine, VK_END on its own works fine. But not the combination of SHIFT+END. Cursor just goes to the end without highlighting the text. In SAP the SHIFT + END works fine (manually)

Any help is appreciated

Thanks in advance

Marcus
Next
Reply
Map
View

Click here to load this message in the networking platform