GRID.ExpandColumnsToFit

Previous  Next

 

state = GRID.ExpandColumnsToFit( BYVAL nControl    AS INTEGER,

                                 BYVAL expandtofix AS INTEGER ) AS INTEGER

 

 

 

 

Expands the column widths to fit the grid area. If bExpandFixed is TRUE then fixed columns will be modified, otherwise they will not be affected.

 

Example:

 

GRID.ExpandColumnsToFit( nControl, TRUE )