* Possibility to specify character set in connection dialog

git-svn-id: trunk@13339 -
This commit is contained in:
michael 2009-06-27 14:03:32 +00:00
parent 2379ea463b
commit c7ca0f8b0f

View File

@ -57,6 +57,7 @@ Const
KeyUserName = 'User';
KeyPassword = 'Password';
KeyEncode = 'Trivial';
KeyCharset = 'Charset';
implementation
@ -105,6 +106,7 @@ begin
FConn.Password:=XorDecode(KeyEncode,L.Values[KeyPassword]);
FConn.LoginPrompt:=False;
FConn.Connected:=True;
FConn.CharSet:=L.Values[KeyCharset];
FConnected:=True;
FConnectString:=AConnectString;
Result:=True;