Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox Value property disappears
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00717555
Message ID:
00717631
Vues:
14
Hi Mike,

I don't see this. The message 'This.Value is Missing! ' never shows up. The behavior is the same in VFP6, 7 and 8.

>This appears to be a bug in 7 and (slightly different) 8.
>
>Create a new form and drop a textbox on it. Set the value property to ={} and put this code in the InteractiveChange() event:
>
>if type('this.value')='U'
> wait window nowait noclear 'This.Value is Missing! '+time()
>else
> wait window nowait noclear transform(this.Value)+' '+time()
>endif
>
>Type in today's date with a 4 digit year and watch as you type each character. When you type in the 3rd character of the year, you'll notice that "This.Value" does not exist.
>
>Works in 6, doesn't work in 7. In 8, it works if the .Value property has a date in it initially, but not if it's empty.
>
>Mike
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform