Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor length limitations and complex conditio
Message
 
À
23/08/2009 11:20:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01419452
Message ID:
01420086
Vues:
52
>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
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform