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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background color in grid

Status
Not open for further replies.

jesylv

MIS
Jul 1, 2001
135
I am using the dynamicBackground property to Highlight the current row in a grid. It works fine except that the currently selected cell appears with the default colors (Black on white). How can I correct this behaviour?


Jean
 
Hi

1. Have you followed the FAQ link..
How to make grid display current row in distinct color?
faq184-1264

2. You can solve your problem by adding the code to your

MyGrid.AfterRowColChangeEvent
*****************************
** DODEFAULT()
This.Columns(This.ActiveColumn).Text1.BackColor = ;
RGB(0,255,255)
** or the RGB you use for the current row.
This.Refresh()

Hope this helps you :) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Thanks Ramani,

It solved my problem.


Jean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top