[Lazarus] Rowheight of a DBGrid
Koenraad Lelong
lazarus2 at de-brouwerij.be
Mon Sep 9 12:43:53 CEST 2013
Hi,
Is it possible to set the height of individual rows in a DBGrid ?
I have a database containing multi-line texts. I now can display these
lines, but more than two lines of text in a rowheigth of 18 will be
problematic. I could modify the defaultrowheight but then also the fixed
row height will be bigger.
I found some code to calculate the required height, but I get a
compile-error on this line :
WidgetSet.DrawText(DC, pChar(str), Length(str), fRect, DT_CALCRECT or
Options);
Where do I find that WidgetSet ?
Thanks for any pointers.
Koenraad Lelong
More information about the Lazarus
mailing list