mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 11:59:18 +02:00
lazdatadesktop: unicode file names
git-svn-id: trunk@46806 -
This commit is contained in:
parent
b4b6a57dd9
commit
d709e846a2
@ -398,7 +398,7 @@ begin
|
|||||||
ShowRecentConnections;
|
ShowRecentConnections;
|
||||||
ShowDDImports;
|
ShowDDImports;
|
||||||
ShowNewConnectionTypes;
|
ShowNewConnectionTypes;
|
||||||
PSMain.IniFileName:=ChangeFileExt(UTF8ToSys(FN),'.ini');
|
PSMain.IniFileName:=ChangeFileExt(FN,'.ini');
|
||||||
LVDicts.Columns[0].Width:=120;
|
LVDicts.Columns[0].Width:=120;
|
||||||
LVDicts.Columns[1].Width:=380;
|
LVDicts.Columns[1].Width:=380;
|
||||||
LVDicts.Columns[2].Width:=150;
|
LVDicts.Columns[2].Width:=150;
|
||||||
|
@ -369,7 +369,7 @@ end;
|
|||||||
procedure TQueryPanel.LoadQuery(AFileName: String);
|
procedure TQueryPanel.LoadQuery(AFileName: String);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
FMSQL.Lines.LoadFromFile(UTF8ToSys(AFileName));
|
FMSQL.Lines.LoadFromFile(AFileName);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TQueryPanel.AddToHistory(Qry: String): Integer;
|
function TQueryPanel.AddToHistory(Qry: String): Integer;
|
||||||
@ -413,7 +413,7 @@ end;
|
|||||||
procedure TQueryPanel.SaveQuery(AFileName: String);
|
procedure TQueryPanel.SaveQuery(AFileName: String);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
FMSQL.Lines.SaveToFile(UTF8ToSys(AFileName));
|
FMSQL.Lines.SaveToFile(AFileName);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TQueryPanel.ExecuteQuery(Qry : String);
|
procedure TQueryPanel.ExecuteQuery(Qry : String);
|
||||||
|
Loading…
Reference in New Issue
Block a user