Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate a Control
Message
 
À
01/09/2005 06:54:57
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01045768
Message ID:
01045770
Vues:
26
>Dear All,
>
>I've got several label for Sun to Sat, I would like to highlight the day of Today, like so
>
>I want to use substitue like this:
>
>X = DOW(Date())
>Thisform.Datelabel(X).background = RGB(0,0,255)
>
>
>Anything wrongs?! cos I couldn't

You can name the labels as follows: the label that is represent Monday name it Label1, Tuesday ->Label2 etc.
Then
X = DOW(Date(),2)
myLabel = [Thisform.Label]+TRANSFORM(x)
&myLabel..BackColor = RGB(0,0,255)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform