Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: Bob Gatto
  Where is Bob Gatto?
 Hawthorne
 New Jersey - United States
 Bob Gatto
 Tags
Subject: RE: Highlighting a grid all the way
Thread ID: 396123 Message ID: 396136 # Views: 57 # Ratings: 2
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Wednesday, January 22, 2014 11:48:20 PM         
   


> Hello One And All,
>
> I'm trying to set up a grid so when a row is clicked on the entire row is highlighted. Even if the cursor is in a field of a column. What I'm saying is right now I have it set so when I click on a row the entire row highlights blue with the exception of the field in the column I clicked on. That just stays white. And when I click on another column in that highlighted row, the field I click on turns white and the field the cursor was originally in is now properly highlighted.
>
> So how can I get it so all fields are highlighted in the no matter where the cursor is?
>
> I have each column's ReadOnly property set to TRUE because I don't want the user to edit any thing in the grid.
>
> Thanks for any help.
>
> Bob Gatto


Hi Bob,

Very easy...
Download my GridFooter class and look at the Grid settings.
https://www.foxite.com/uploads/97328e91-7957-4ce5-83d1-fbb23e63ab5f.zip

You will see what I have done.


Pete "the IceMan", from the Great White North of Canada.
www.marathongriffincomputers.com

ENTIRE THREAD

Highlighting a grid all the way Posted by Bob Gatto @ 1/22/2014 10:17:07 PM
RE: Highlighting a grid all the way Posted by Tore Bleken @ 1/22/2014 10:23:29 PM
RE: Highlighting a grid all the way Posted by Bob Gatto @ 1/22/2014 10:43:56 PM
RE: Highlighting a grid all the way Posted by Tore Bleken @ 1/22/2014 10:49:25 PM
RE: Highlighting a grid all the way Posted by David Mustakim @ 1/22/2014 10:59:56 PM
RE: Highlighting a grid all the way Posted by Jun Tangunan @ 1/23/2014 5:22:56 AM
RE: Highlighting a grid all the way Posted by Borislav Borissov @ 1/22/2014 10:52:54 PM
RE: Highlighting a grid all the way Posted by Paul Gibson @ 1/23/2014 2:21:16 PM
RE: Highlighting a grid all the way Posted by Pete Sass @ 1/22/2014 11:48:20 PM