Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i color code text boxes based on db?
Message
De
12/01/2002 14:04:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00594778
Message ID:
00603929
Vues:
21
>Hi Guys,
>
>This is still not working for me. In the forecolor property of my text boxes i have "=f_color(this.value)".
>
>and in the f_color function, i am doing something simple like
>
>Do Case
>Case 1
> RETURN RGB(50,50,50)
>Case 2
> RETURN RGB(100,100,100)
>otherwise
> RETURN RGB(200,200,200)
>endcase
>
>When I run there are no errors but the font color is always black. What am I doing wrong?

The property should go without the = sign into the DynamicForeColor property of the column, not of the textbox. Tried, works.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform