Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting Grid Rows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01398121
Message ID:
01398145
Vues:
75
>Ok, things are working ok now.
>
>Now, if I want to highlight, instead of the entire row, but just the 2 fields Quan_Ship and Quan_onord, which are the two fields in question and are side by side in the grid, how would that be done with what I have so far?
>
>Thanks!

For this you would need manual highlight. You would need nRecno property in your grid which you would update in AfterRowColChange (set to recno()) and then you would need to add one more condition in your highlight for recno() = this.nRecno. If you already created a method then just add an extra case there.

Oops, I may have misunderstood you. In your case you would assign DynamicBackColor and DynamicForeColor to the specific columns instead of using SetAll of the grid.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform