Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keystroke
Message
De
09/07/2008 06:17:18
 
 
À
09/07/2008 06:07:58
Marcus Hüneke
Heidelberger Druckmaschinen
Wiesloch, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01329916
Message ID:
01329918
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform