 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Michael Sørensen Guest
|
Posted: Thu Apr 05, 2007 2:34 pm Post subject: 2 changes in a DBGrid |
|
|
Hi.
I'm a young guy from Denmark, who plays with Delphi for fun in my sparetime.
I have af DBGrid, but i'm not sattisfied with that.
I want two things, but I don't know how to start.
1. In the cells I want the text to be placed either in the center og bottom
in the cell. (vertical alignment). But the text always appears in the top.
How can i chance this.
2. I want the row heights to be smaller, but then the text can't be there
anymore. Can I change the margin / padding between the text and the cell
border to nothing? |
|
| Back to top |
|
 |
Vesa Lappalainen Guest
|
Posted: Thu Apr 05, 2007 2:34 pm Post subject: Re: 2 changes in a DBGrid |
|
|
Michael Sørensen <ms1 og snabela samt skindbeni punktum dk> wrote:
| Quote: | 1. In the cells I want the text to be placed either in the center og bottom
in the cell. (vertical alignment). But the text always appears in the top.
How can i chance this.
2. I want the row heights to be smaller, but then the text can't be there
anymore. Can I change the margin / padding between the text and the cell
border to nothing?
|
Use the event for drawing the cell by yourself. Then you have full
control of how things appear.
Vesa |
|
| 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
|
|