SftTree/DLL 6.5

Columns

Softel vdm, Inc.

A SftTree/DLL tree control can define multiple columns, each with its individual text alignment (left, right, center).  A tree control can also define a header with titles, each with its individual text alignment.  Column header attributes are defined using the SetColumns function.  

Columns can be reordered and resized by the user without application program intervention (unless disabled by the application).  An application could save these column widths and column order in an INI file or the registry for future use.

Each column has a defined width (see SFTTREE_COLUMN_EX).  The last column can be defined as an open-ended column using the SetOpenEnded function.

Using the SetOpenEnded function, the last displayed column can be defined as open-ended, which is the default if the application doesn't define any columns.  An open-ended last column will display the complete text and graphics specified for the last (or only) column and never truncate any data.  A fixed-width last column is defined with a specified width (see "Columns") and any data which doesn't fit is truncated.

Tree Components

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com