Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does GetFldState() return 2 for memo fields
Message
De
17/01/2008 04:58:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Divers
Thread ID:
01282378
Message ID:
01282501
Vues:
8
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Tore
>
>>Don't use keyboard(), it can have side effects. This code in KeyPress is better
>>If nKeyCode=13
>>   NoDefault
>>   DoDefault(9,nShiftAltCtrl)
>>EndIf
>
>It did not work for me, the cursor stays put in the field.
>
>Thanks.

Try
If nKeyCode=13
   this.lostfocus()
EndIf
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform