[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The number of fixed columns on the control.
Source position: valedit.pas line 225
published property TValueListEditor.FixedCols : Integer |
FixedCols is a published Integer property in TValueListEditor. It contains the fixed column count for the control. The default value for the property is 0, and causes both the Key and Value columns on the control to be displayed using the background color specified in Color (or ParentColor when enabled).
FixedCols can be changed to 1 to force the Key column to be displayed using the FixedColor and TitleStyle for the control. A value other than 0 or 1 assigned to the property is ignored. Fixed columns are normally displayed on the left edge of the grid and become part of the control which is not scrolled horizontally.
When set to 1, a cell in the Key column cannot be edited using a cell editor at run-time. A cell in the Key column cannot be edited if keyEdit has not been included in KeyOptions - even when FixedCols is set to 0. The cell value can be modified using the Keys property for all combinations of FixedCols and KeyOptions.
Setting a new value for the FixedCols property causes several actions to be performed:
Use FixedRows to get or set the number of fixed rows displayed for the grid control.
Use the Keys property to maintain a key name displayed in a specific row on the control. Use Values to maintain the value associated with a specific key name. Or, use Strings to access key / value pairs on the control.
|
Provides indexed access to Key names in the control. |
|
|
Provides indexed access to Values stored in the control. |
|
|
Stores the keys, values, and item definitions in the control. |
|
|
Inserts a column or a row at the specified position. |
|
|
Inserts a row at the specified position. |
|
|
Inserts a row with the specified values at the specified position. |
|
|
The number of fixed columns in the grid. |
|
|
The number of fixed columns in the grid. |
|
|
The number of fixed columns in the grid. |
Version 4.0 | Generated 2025-05-03 | Home |