Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

Multi-Line Cell Text

Cell text can consist of several text lines. The number of text lines can be defined using SetItemLines. In a fixed height tree control, the specified number of lines are reserved for each cell text. Should the cell text consist of fewer lines, the text is vertically centered. In a variable height tree control, up to the specified number of lines are displayed. If fewer text lines are available, the item height is adjusted if possible, based on other item attributes.

If more text lines are available than fit in the cell, the symbol "+" is shown in the bottom right of the cell.

Cell text can word-wrap and can contain explicit line breaks (cr-lf or \r\n). Word-wrap is defined using SetColumns (see SFTTREE_COLUMN_EX, SFTTREE_WRAP).

Tree Components