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!

FlexGrid -- Turning off Gridlines 1

Status
Not open for further replies.

SavantMan

Programmer
Apr 17, 2002
165
US
Is there a way to turn off the gridlines in the flexgrid control? I've tried setting the color of the gridlines to the same color as the backcolor of the grid itself, which works fine, except for the fact that I change the backcolor property of entire columns at runtime. When I do this, the gridlines show up due to the color change. If it matters, I would actually like the vertical lines to stay... it's just the horizonal ones that cause a problem, but I can work around this pretty easily if there is a simple way of just turning off the gridlines entirely. I try not to post here without looking around for the answer elsewhere first, so any help would be greatly appreciated.
 
There's a property called "Gridlines". One of the options is "0-flexGridNone". It can be set at design time (and I'm assuming run-time as well).

Hope this answers your question.

~Kevin
 
That did it. I thought I had gone through the properties thoroughly looking for something like this, but must have missed it. Thanks so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top