Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bob Gatto
  Where is Bob Gatto?
 Hawthorne
 New Jersey - United States
 Bob Gatto
 To: Tore Bleken
  Where is Tore Bleken?
 Stokke
 Norway
 Tore Bleken
 Tags
Subject: RE: Highlighting a grid all the way
Thread ID: 396123 Message ID: 396127 # Views: 46 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Wednesday, January 22, 2014 10:43:56 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
>
> Yourgrid.HighlightStyle=1 && Or 2, if that's what you need.
>
> There's a fine line between helping and adding to the confusion.
>
> How to create sample data

Hello Tore,

I tried that and I'm still having that problem. Here are my highlight properties:

Highlight = .T.
HighlightBackColor = 0,0,255
HighlightForeColor = 255,255,255
HighlightRow = .T.
HighlightRowLineWidth = 1
HighlightStyle = 1

Any other suggestions?

Bob Gatto

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