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

is it possible to send a STRG+A? This is the usual way to mark a field completely.

>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
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform