How can I limit the height of the DBMemo ?
How can I limit the maximum height of the DBMemo ?
Example, I want to display a 5 lines maximum of the memo field.
I tried to check the Stretch property, but it display all the text. I
tried without check Stretch and set the height at the maximum I want,
but all row have the maximum height.
--
Philippe Constant
CTRL/Informatique
350 Rue Franquet, bureau 50
Ste-Foy, Qc
G1P 4P3
Example, I want to display a 5 lines maximum of the memo field.
I tried to check the Stretch property, but it display all the text. I
tried without check Stretch and set the height at the maximum I want,
but all row have the maximum height.
--
Philippe Constant
CTRL/Informatique
350 Rue Franquet, bureau 50
Ste-Foy, Qc
G1P 4P3
This discussion has been closed.
Comments
height memo. There is no hybrid behavior available. You will have to
precalculate the wrapped lines and use a static height memo by settings its
height in the DetailBand's BeforePrint event. Search our newsgroups on
ppPlainText. There is a WordWrap routine in this unit that you can use to
wrap text. You can also search our source (ppMemo.pas) for occurrences
where we use this routine.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com