JVCL Help:TJvStringGrid.AutoSizeCol

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Calculates and sets the width of a specific column or all columns.


Pascal

 procedureAutoSizeCol(Index: Integer; MinWidth: Integer; AColumnPadding: Integer = 8);


Parameters

Parameters Description
Index: Integer The index of the column to resize. If Index < 0, all columns are resized.
MinWidth: Integer Specifies a minimum width for the column(s). If MinWidth is < 0, DefaultColWidth is used instead.


Description

Call AutoSizeCol to calculates and set the width of column specified by parameter Index, based on the text in the affected cells.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page