listview RegistrySaver structure
Return to Introduction  Previous page  Next page
Applies to
acListView, acHostnameResolver and acAppBar components.  

  TacListViewRegistrySaver = class  
    property Enabled: Boolean;  
    property RegKeyString;  
    property RegLocationTacRegLocation;  
property RegistrySaver: TacListViewRegistrySaver;  

The RegistrySaver structure used to save and restore the sorting rules, ViewStyle and widths of columns on every exit and startup of your program.  
Just specify the RegLocation and RegKey where to store these settings, and set Enabled to True. The SortColumn, SortDirection properties and widths of the list columns will be saved on every exit, to be restored on every program restart.