Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 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: 396152 # Views: 48 # Ratings: 2
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Thursday, January 23, 2014 5:22:56 AM         
   


> >
> > 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


AllowCellSelection = .F. as Borislav said I believe is out of the question (or answer)?

I suggest you reconsider. Tore have shown how to do it though it won't work on mouse click but just on navigating via arrow keys. But then it is confusing to your users as they won't be able to easily identify the active cell then.

Personally I find that default behavior of a clicked cell shown in contrasting colors good because it tells you clearly on which cell you are.

Just my one cent.




https://vfpx.codeplex.com/releases/view/99045
http://sandstorm36.blogspot.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