Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicBackColor length limitations and complex conditio
Message
 
To
23/08/2009 11:20:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01419452
Message ID:
01420086
Views:
51
>Though, if you think of using a debugger while having a method call returning the color, be prepared to meditate a lot. It's evaluated once per cell on each grid refresh; while not much at runtime, with the debugger open, it may take some time, depending on the number of such calls.

Yes

>The way to circumvent this is to have a iForeColor and iBackColor fields in grid's cursor, which are then taken as dynamic*color expressions - simple field, no calculation. You do calculate once per row and store it - when the values in the row change (when the cursor is populated and in .BRCC()). May even save you a milliwattsecond or two :).

:) yes thanks for the columns idea.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform