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

Declaration
type  
  TacListViewRegistrySaver = class  
  published  
    property Enabled: Boolean;  
    property RegKeyString;  
    property RegLocationTacRegLocation;  
  end;  
 
property RegistrySaver: TacListViewRegistrySaver;  

Description
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.