Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid DynamicBackColor trick
Message
From
10/04/2001 03:27:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/04/2001 18:11:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00492054
Message ID:
00493920
Views:
19
>>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform