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

Click here to load this message in the networking platform