Code: Select all
UniConnection1.ConnectDialog:=UniConnectDialog1;
UniConnection1.LoginPrompt:=true;
UniConnection1.Connect;
ShowMessage('Next');
if UniConnection1.Connected=false then
ShowMessage('not Connected')
else
ShowMessage('Connected');
How can I find out if the CancelButton was pressed