怎么保存cxGrid的设置?

//保存设置
procedureTForm1.FormClose(Sender:TObject;
varAction:TCloseAction);
begin
cxGridView_ClassList.StoreToIniFile(ExtractFilePath(Paramstr(0))+'Config/ChooseClass.ini');
end;

//读取设置
procedureTForm1.FormShow(Sender:TObject);
begin
Self.cxGridView_ClassList.RestoreFromIniFile(ExtractFilePath(Paramstr(0))+'Config/ChooseClass.ini');
end;

你可能感兴趣的:(grid)