Skip to main content

TcxCustomVerticalGrid.StoreToIniFile(string,Boolean) Method

Stores the grid layout to an INI file.

Declaration

procedure StoreToIniFile(const AStorageName: string; AReCreate: Boolean = True);

Parameters

Name Type
AStorageName string
AReCreate Boolean

Remarks

You can use the StoreToIniFile method to store the vertical grid’s layout to an INI file. The method stores the PaintStyle, RowHeaderWidth and ValueWidth property values and the row structure: row indexes and their parent indexes, row heights and their expanded/collapsed status.

The AStorageName parameter determines the name of the INI file.

The AReCreate parameter specifies whether the INI file will be overwritten. Set the AReCreate parameter to False to store multiple layouts in a single file.

To restore the grid layout from an INI file, you can use the RestoreFromIniFile method.

Alternatively, you can store the grid layout to the Windows registry or to a stream using the StoreToRegistry and StoreToStream methods.

See Also