registryPath = '\Software\SATL\ProjectX\views';
procedure DView.getViews(list : tstrings);
list := tstrings.create;
MyReg := TRegistry.Create;
MyReg.RootKey := HKEY_CURRENT_USER;
if MyReg.OpenKey(registryPath,False) then
//here I would like to put the names of all subkeys in list.
/// close & free
I checked a component that saves views, it uses a 'workaround'. It stores the number of keys in an entry named count, and names all view-subkeys by a number.
I would like save my views by name and be able to retrieve them. Somebody a solution?