Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Same old problem again
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01078218
Message ID:
01078273
Vues:
36
Ok, more info.

The EditBox class has the following code in KeyPress coming from MereMortals:
LPARAMETERS nKeyCode, nShiftAltCtrl

IF ISALPHA(CHR(nKeyCode)) 
   NODEFAULT
   nKeyCode=ASC(UPPER(CHR(nKeyCode)))
   DODEFAULT()
ENDIF
First of all, should it be DODEFAULT(nKeyCode, nShiftAltCtrl)?

Secondly, I put the following code in LostFocus of editbox just to test:
this.Value = this.value
=MESSAGEBOX(this.Value)
RETURN DODEFAULT()
The first time I tab out of the editbox, it shows empty messagebox. If I position the cursor in the Editbox and tab out again, it shows the value.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform