Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting Grid Rows
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01398121
Message ID:
01398145
Views:
74
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform