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

Grid background

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm working with a FlexGrid and was wondering if anyone knew how to set the background of the entire grid to a certain color. I can set the color for a cell (grid.textmatrix(x,y) = vbcolor), however, I don't know how to set a color for the whole background. You can change the text color for the entire grid (grid.forecolor = vbcolor), so I'm sure you can do the background color as well. Thanks in Advance!
 
Grid.BackColor = color
sets the backcolor for the grid itself
Grid.BackColorBkg = color
sets the backcolor for any area of the control not filled with grid Let me know if this helps

Check out FAQ222-2244
'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top