Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting a block in a grid
Message
From
30/12/1999 21:51:02
 
 
To
30/12/1999 19:56:06
Frank Mundo
WindowDressers, Inc.
Maine, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00310783
Message ID:
00310806
Views:
25
>Has anyone written the code that allows a user to highlight a block of "cells" in a grid? (similiar to highlighting a group of cells in Excel)

You should use Column.DynamicBackcolor property to highlight particular rows (cells) of the same color, e.g.
Thisform.Mygrid.Mycolumn.DynamicBackColor="IIF(myrecordsource.myfield>10,0,255)"

If you apply the same DynamicBackColor code to few columns then you will get a 'block'.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform