This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
TElXTree: How to display multi-line text for a memo field?
In the forum article Another TElXTree bug with UseCustomScrollBar = false, the memo field is displayed on several lines and the Item's rowheight is increased to accommodate it.
How is this done?
Is it possible to have a fixed number of rows displayed or the full number? It would be nice to have these as options.
Does it print multi-line? If so, how?
Thanks.
Raymond

Comments
Actually you can specify this feature for each indidual item (see e.g. the designtime editor for item). Example:
ElXTree.Items[0].Multiline := false;
ElXTree.Items[0].WordWrap := false;
ElXTree.Items[0].Height := 50;
ElXTree.Items[0].WordWrap := true;
ElXTree.Items[0].Height := 50;
NewItem.WordWrap := true;
NewItem.Height := 50;