folderlistview RegistrySaver structure
Return to Introduction  Previous page  Next page
Applies to
dcFolderListView component.  

Declaration
type  
  TdcListViewRegistrySaver = class  
  published  
    property Enabled: Boolean;  
    property RegKeyString;  
    property RegLocation: TdcRegLocation;  
  end;  
 
property RegistrySaver: TdcListViewRegistrySaver;  

Description
The RegistrySaver structure intended 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.