Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Speed
Message
 
To
05/09/2000 11:39:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00412488
Message ID:
00412527
Views:
20
Morys, one easy way would be to put RGB(192,192,192) into Watch window and see the result.

>How do I find the numeric values?
>
>
>>1.) Faster: do something like:
>>
>>nRGB = 12632256 &&RGB(192,192,192)
>>with thisform
>> ? Seconds()
>> for i = 1 to 10000
>> STORE nRGB TO .optSecSold.Option1.DisabledBackColor, ;
>> and_all_other_properties
>> endfor
>> ? seconds()
>> for i = 1 to 10000
>> .optSecSold.Option1.DisabledBackColor = nRGB
>> endfor
>> ? seconds()
>>EndWith
>>
>>2.) RGB() is slow. If you can avoid it, use the numeric value instead of the function.
>>
>>Joerg Karpa
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform