Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor of Each Column are different!
Message
De
20/08/1999 08:23:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/08/1999 08:17:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00255740
Message ID:
00255783
Vues:
20
>>First the expression is wrong. You must put the whole expression as a char string :
.DynamicBackColor = "IIF(Empty(myTable.Field1), rgb(0,0,0), rgb(192,192,255))"
>
>
>An additional note- the Dynamic properties often don't take kindly to the RGB function in the expression, and it is often more dependable to just put the color constant as returned by RGB, rather than the RGB function. Also- try to keep all spaces out of the poperty. There is a bug in the Dynamic properties that often causes the properties to be ignored if spaces are embedded in the expression.

Being honest I never faced those problems yet. I would stick to understandable RGB() till I face :) Mine always worked as long as the expressions are correct and I never counted the spaces. VFP5.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform