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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to