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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only