 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Robert Cerny Guest
|
Posted: Wed Aug 27, 2003 7:01 am Post subject: Re: TDbGrid Title buttons |
|
|
You have to override the DrawCell method and draw the bricks for fixed
cells.
--
Robert Cerny
http://codecentral.borland.com/codecentral/ccWeb.exe/author?authorid=18355
"Eric Lyons" <elyons (AT) iwanttss (DOT) com> wrote
| Quote: | The TDBGrid has two options dgRowLines and dgColLines. When you turn
these
off then the title captions appear flat and don't look like buttons. I'm
trying to figure out how to make them look like buttons when these options
are off.
Thanks,
Eric Lyons
|
|
|
| Back to top |
|
 |
Eric Lyons Guest
|
Posted: Wed Aug 27, 2003 9:07 pm Post subject: Re: TDbGrid Title buttons |
|
|
I tried that but for some reason I can't get my buttons to look the same as
when the dbgrid does it with the row and col lines on. I guess I just need
help on how to draw buttons.
Thanks,
Eric Lyons
"Robert Cerny" <robert.qwe.cerny (AT) neosys (DOT) xrs.qwe.si> wrote
| Quote: | You have to override the DrawCell method and draw the bricks for fixed
cells.
--
Robert Cerny
http://codecentral.borland.com/codecentral/ccWeb.exe/author?authorid=18355
"Eric Lyons" <elyons (AT) iwanttss (DOT) com> wrote in message
news:3f4500f3$1 (AT) newsgroups (DOT) borland.com...
The TDBGrid has two options dgRowLines and dgColLines. When you turn
these
off then the title captions appear flat and don't look like buttons.
I'm
trying to figure out how to make them look like buttons when these
options
are off.
Thanks,
Eric Lyons
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|