Now properly closes the file base datafiles
This commit is contained in:
parent
a333e34264
commit
f19f661819
|
@ -148,7 +148,7 @@ Begin
|
||||||
List.AllowTag := True;
|
List.AllowTag := True;
|
||||||
List.SearchY := 21;
|
List.SearchY := 21;
|
||||||
|
|
||||||
If FileSize(FBaseFile) = 0 Then InsertRecord;
|
//If FileSize(FBaseFile) = 0 Then InsertRecord;
|
||||||
|
|
||||||
Box.Open (15, 5, 65, 21);
|
Box.Open (15, 5, 65, 21);
|
||||||
|
|
||||||
|
@ -214,6 +214,8 @@ Begin
|
||||||
End;
|
End;
|
||||||
Until False;
|
Until False;
|
||||||
|
|
||||||
|
Close (FBaseFile);
|
||||||
|
|
||||||
Box.Close;
|
Box.Close;
|
||||||
List.Free;
|
List.Free;
|
||||||
Box.Free;
|
Box.Free;
|
||||||
|
|
Loading…
Reference in New Issue