Rewrite import file dialog: Use a grid for column values, distinct between binary and text files

This commit is contained in:
Ansgar Becker
2011-07-11 06:13:50 +00:00
parent b1d23cf1ab
commit 3824e552fe
7 changed files with 827 additions and 607 deletions

View File

@ -115,7 +115,7 @@ type
function MakeInt( Str: String ) : Int64;
function MakeFloat( Str: String ): Extended;
function CleanupNumber(Str: String): String;
function esc(Text: String; ProcessJokerChars: Boolean=false): String;
function esc(Text: String; ProcessJokerChars: Boolean=false; DoQuote: Boolean=True): String;
function ScanNulChar(Text: String): Boolean;
function ScanLineBreaks(Text: String): TLineBreaks;
function RemoveNulChars(Text: String): String;
@ -657,9 +657,9 @@ begin
end;
function esc(Text: String; ProcessJokerChars: Boolean=false): String;
function esc(Text: String; ProcessJokerChars: Boolean=false; DoQuote: Boolean=True): String;
begin
Result := MainForm.ActiveConnection.EscapeString(Text, ProcessJokerChars);
Result := MainForm.ActiveConnection.EscapeString(Text, ProcessJokerChars, DoQuote);
end;