Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving through a sepia color set, from dark to light ?
Message
From
31/05/2010 10:11:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
30/05/2010 12:00:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01466438
Message ID:
01466635
Views:
93
>Hi Dragan,
>
>>This is what I use (with help of the rgbcomp() function from foxtools.fll):
>
>Thanks for dropping in and the input.
>
>At this stage I try to avoid dependancies as much as possible. Especially fll ones that alas do not fit well under molebox ultra at this time.

You can write your own as three one-liners:

GetRed=bitand(nColor, 255)

GetBlue=bitrshift(nColor, 16)

GetGreen=bitrshift(bitand(nColor, 0xff00), 8)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform