TCustomGrid.GetDefaultColumnWidth function
Gets the default width used for the specified column.
Declaration
function GetDefaultColumnWidth(Column: Integer): Integer; virtualArguments
Column | Column number. Ignored in the method. |
Function result
Default column width for the specified column number.
Description
GetDefaultColumnWidth is an Integer function which retrieves the default width for the specified Column in the grid control. GetDefaultColumnWidth is used in the GetColumnWidth method when Columns have not been enabled for the control. It returns the value stored in the DefaultColWidth property.
Use the indexed ColWidths property to set the width for an individual column when the Columns collection has not been enabled. Or, use the Columns collection to maintain column definitions including their editing and display attributes.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
