Can someone give me an example for saving and loading columns sizes in the registry? There are plenty of examples using an ini fil, but I can't find one using the registry. I must be missing a setting somewhere.
Thanks,
Marshall
Initialize the grid like:
procedure TForm4.FormCreate(Sender: TObject);
begin
advstringgrid1.ColumnSize.Location := clRegistry;
advstringgrid1.ColumnSize.Save := true;
advstringgrid1.ColumnSize.Key := 'company\app\settingname';
advstringgrid1.ColumnSize.Section := 'settingvalue';
end;
or you can do this yourself programmatically using the techniques described at:
1 Like