Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Highlighting Entire Row In Grid

Status
Not open for further replies.

keepingbusy

Programmer
Apr 9, 2000
1,470
GB
Can anyone assist with the following?. I'm trying to highlight the entire row in a grid, no problem setting the fore and back colors etc. What I require is for the whole line to be white background with red forecolor when the record or line is selected. Any suggestions please....
 
* cut and paste this into a full page and it will make more sense

Set color of BOX to BG/N && Border.
Set color of FIELDS to N/W && Field area.
Set color of HIGHLIGHT to N/BG && Selected option in a menu.
Set color of INFORMATION to G/N && Hot keys, status line, time.
Set color of MESSAGES to BG/N && Messages, non-selected options.
Set color of NORMAL to W/N && Date, screen text, titles.
Set color of TITLES to B/G* && ???

*
* See Foxpro 2.5 "Programmers Reference", page 686, for color info.
*
* Scheme 1 = user-defined windows & clock N = black
* Scheme 2 = user-defined menus W = white
* Scheme 3 = system menu bar R = red
* Scheme 4 = system menu popups G = green
* Scheme 5 = system dialogs & messages RB = magenta
* Scheme 6 = system dialog popups (eg. BUTTONS) BG = cyan
* Scheme 7 = system alerts RG = brown
* Scheme 8 = system windows -- incl. COMMAND RG+=yellow
* Scheme 9 = system window popups I = inverse (N/W)
* Scheme 10 = BROWSE - CHANGE - EDIT + = bright frgrnd
* * = blinking frgd
*
* 1 2 3 4 5 6 7 8 9 10
* std enha bor- ti- mes- sele sts/ sha- ena- disa
* text nced der tle sage cted hot dow bled bled
* ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Set color of scheme 1 to W/N,n/bg, g/n ,G/N, R/W,n/bg,W+/N, , n/w,BG/N
Set color of scheme 2 to W/N,BG/N,RG/BG,G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 3 to W/N,BG/N,RG/BG,G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 4 to W/N,BG/N, R/G, G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 5 to W/N,BG/N, R/G, G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 6 to W/N,BG/N, R/G, G/N, r/w, b/r, r/b, ,gr+/b,w/b
Set color of scheme 7 to W/N,BG/N, R/G, G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 8 to W/N,BG/N, R/G, G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 9 to W/N,BG/N, R/G, G/N, R/W, N/W,W+/N, , W/N,BG/N
Set color of scheme 10 to W/N,BG/N,W/RG,BG/N,BG/N,BG/N, R/G, R/G,BG/N,BG/N

* ----------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top