Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Same old problem again
Message
De
15/12/2005 11:05:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
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:
01078295
Vues:
34
I'd do Fabio's change to the class without hesitating to do it but here would simply use a baseclass editbox.
Cetin

>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.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform