AW: TZF - Grid Row Heigth

Grunwald <[email protected]> Tue, 7 Oct 2003 08:49:31 +0200
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
What you can do is setting the grid's rowheight:

Type Tmygrid =	class(ttzgrid)
		Property defaultrowheight;
		End;

TMygrid(app.grid).defaultrowheight:=24;

Regards M. Grunwald
 -----Ursprüngliche Nachricht-----
Von: 	Philip Kidder [mailto:[email protected]]
Gesendet:	Montag, 6. Oktober 2003 22:38
An:	[email protected]
Betreff:	TZF - Grid Row Heigth

Hello All,

My question is simple I think. How can I get the height of a row in a
TtzGrid?

I have a variable number of rows I want to display. I want to adjust the
grid heigth to accomodate the number of rows in the grid and no more. Based
on the size of the grid I will position other items on the form. At least
that's my goal once I know the heigth of a grid row.

Any ideas?

Thanks!

Phil Kidder

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------