Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click commandbox
Message
De
15/08/2019 06:00:43
 
 
À
15/08/2019 05:51:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01670091
Message ID:
01670097
Vues:
79
>>Have you tried the forms keypreview-method?
>
>it works.
>
>in the cmdbutton.keypress
>LPARAMETERS nKeyCode, nShiftAltCtrl
>thisform.zkeypress1 =nkeycode
>
>in the cmdbutton.click
>if !thisform.zkeypress1=13
>return
>endif
>
>but now the mouse click doesn't work.

Not sure why this is in the .NET section, but it appears you're talking only VFP.

Use NODEFAULT to suppress the normal action of KeyPress.
IF m.nKeyCode <> 13
  NODEFAULT
ENDIF
Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform