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:
00412560
Views:
20
F.e. Keyboard str(rgb(192,192,192))

or simply ? rgb(192,192,192)


Joerg Karpa

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform