Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty TimeDate Display
Message
De
10/07/2003 17:43:23
 
 
À
10/07/2003 16:21:18
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00809003
Message ID:
00809044
Vues:
39
>Foxpro always displays an empty datetime as " / / : : AM".
>Does anyone know of a uncomplicated means of displaying an empty field when its empty?

In the Refresh of the TextBox, you could put this:
IF EMPTY(this.Value)
  this.ForeColor = this.BackColor
ELSE
  this.ForeColor = RGB(0,0,0)  && Black
ENDIF
Might cause a bit of a problem if they need to actaully enter values in this field.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform