Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid DynamicBackColor trick
Message
De
10/04/2001 03:27:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/04/2001 18:11:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00492054
Message ID:
00493920
Vues:
20
>>
>>Of course, the best you can do is influence the process of creating the cursor in the first place, and add an integer column with actual color number. Then there's no iif, noarrays and no function at all, and you can use all the colors you like:
>>>
'tran(myColorField)'
>>>No iif() too :)
>>Nothing at all :)
>
>OK, I was too quick. Not an integer column, but a character column with the tran() of the color number. Therefore:
>
'myalias.myColorField'
And I was too quick to say no iif() :) Made a pitfall and sensed for a moment ascan() was returning 0 or 1 :)
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