RxFPC:fix store RxDBGridCollumn.Width in storage

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7616 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75 2020-08-18 08:30:06 +00:00
parent 213bd3e763
commit 94f88fbfcf

View File

@ -3788,7 +3788,8 @@ begin
C := TRxColumn(Columns[i]);
FPropertyStorageLink.Storage.WriteString(S1 + sCaption,
StrToHexText(C.Title.Caption));
FPropertyStorageLink.Storage.WriteInteger(S1 + sWidth, C.Width);
//FPropertyStorageLink.Storage.WriteInteger(S1 + sWidth, C.Width);
FPropertyStorageLink.Storage.WriteInteger(S1 + sWidth, C.StoredWidth);
FPropertyStorageLink.Storage.WriteInteger(S1 + sIndex, C.Index);
FPropertyStorageLink.Storage.WriteInteger(S1 + sVisible, Ord(C.Visible));
end;