Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number & InputMask in TextBox
Message
De
26/07/2000 12:57:28
 
 
À
26/07/2000 12:41:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00396811
Message ID:
00397141
Vues:
11
>How about adding backspace to the class? (you know, the calculator does have backspace capability)
>
>CASE nKeyCode = 127
>* backspace
>NODEFAULT
>lSize = LEN(THIS.cSoFar)
>THIS.cSoFar = substr(THIS.cSoFar,1,lSize-1)

Why not LEFT(this.cSoFar, lSize-1) ?

>THIS.SetValue()
>
>And add nKeyCode 13 (for keypress Enter) in the INLIST() for default behavior?
>
>By the way, you referred this class as txtCalculator but I found this classed as txtNumber (for those who are curious and want to check this class out).
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform