The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



NrOfColumns


Unit:SDL_ntabed
Class:TNTabEd
Declaration:property NrOfColumns: longint;

The property NrOfColumns specifies the number of columns of the data area of the table. Note that the width of any additional column (if increasing the number of columns) is set to the width of the rightmost column. The width of the new columns must not be necessarily the default column width of the table.

Hint 1: Increasing the number of columns preserves all information in the table, while decreasing its number of columns destroys the information contained in the removed (rightmost) columns.

Hint 2: In the Light Edition the max. number of cells of the data table is restricted to 2000 (i.e. the product of NrOfColumns times NrOfRows must not exceed 2000).

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): cluster, kohmap, multilinreg, ntabedit, simplepca



Last Update: 2013-May-30