Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem setting DynamicBack color
Message
De
10/12/2003 09:41:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/12/2003 09:27:56
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00857619
Message ID:
00857628
Vues:
27
>I have a grid with ColumnCount set to 3. If I put a default value in the a Column's DynamicBackColor property...
>IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))
>...it does not work.
>
>But if I use...
>
>thisform.Grid1.SetAll("IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))","Column")
>
>in the init it works.
>
>Is this a bug?
>
>TIA,
>Larry Long

Larry,
There is not such a bug. I think it's your code making it not to work. Are you sure Column's dynamicbackcolor is as you wrote at runtime (Open a debugger window and check)?
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