Skip to main content

TcxCustomPivotGrid.StoreToRegistry(string,Boolean) Method

Saves the pivot grid’s layout in the system registry.

Declaration

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

Parameters

Name Type
AStorageName string
AReCreate Boolean

Remarks

The information to be stored includes the field layout scheme, field filters, and the currently applied prefilter criteria. The AStorageName parameter specifies the HKEY_CURRENT_USER’s and HKEY_USERS’ subkeys. The values describing the layout scheme are stored under the subkey.

The AReCreate parameter specifies whether the value entries under the AStorageName subkey are overwritten. Set this parameter to False, to store multiple layouts under the single AStorageName suffix.

To restore the layout saved in the registry, use the RestoreFromRegistry method.

See Also