Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blank when zero
Message
De
29/01/2009 00:52:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01377989
Message ID:
01377995
Vues:
17
>>not a good day for me, I should know this.......But it's late and I'm tired and this is the only time-of-day I have available to donate my programming skills (such as they are) to the synagogue so...............
>>
>>Given a textbox with a numeric value.......what property do I set to what value so that the textbox will display BLANK when zero?
>>
>>Thanks...........Rich
>
>Try with the format 'Z' or something, but I think it doesn't work for integers. At least I remember running into some problems there, but don't recall details.

Actually, that was what I was trying. The problem seems to be that (from the Wiki topic on Format) that "Displays the value as blank if it is 0, except when the control has focus" and this field is given focus when the page activates.

Thanks for the responses. I'll live with it the way it is
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform