You've already forked lazarus-ccr
TParadoxDataset: Show InputEncoding in Object Inspector only when dataset is active.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -552,6 +552,7 @@ end;
|
|||||||
|
|
||||||
procedure TParadoxDataset.InternalClose;
|
procedure TParadoxDataset.InternalClose;
|
||||||
begin
|
begin
|
||||||
|
FInputEncoding := '';
|
||||||
BindFields(FALSE);
|
BindFields(FALSE);
|
||||||
if DefaultFields then // Destroy the TField
|
if DefaultFields then // Destroy the TField
|
||||||
DestroyFields;
|
DestroyFields;
|
||||||
@ -678,7 +679,7 @@ begin
|
|||||||
else begin
|
else begin
|
||||||
FFieldInfoPtr := @FHeader^.FieldInfo;
|
FFieldInfoPtr := @FHeader^.FieldInfo;
|
||||||
cp := FHeader^.DosCodePage;
|
cp := FHeader^.DosCodePage;
|
||||||
FInputEncoding := 'cp' + IntToStr(cp);
|
FInputEncoding := 'CP' + IntToStr(cp);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if Encrypted then
|
if Encrypted then
|
||||||
|
Reference in New Issue
Block a user