Quantcast
Channel: DA-SOFT Technologies - Forum
Viewing all articles
Browse latest Browse all 1040

Subject: Unable to trap exceptions - by: Support

$
0
0
Hello GS If you are using TADGUIxLoginDialog, then it will trap ekUserPwdInvalid. If you remove TADGUIxLoginDialog and uADGUIxFormsfLogin unit from your application, then your code will work correctly. To make your code working correctly with login dialog, you should: - set ADConnection.LogingDialog to TADGUIxLoginDialog - set TADGUIxLoginDialog.LoginRetries to -1 - apply the following change: * open uADGUIxManager * locate there line: [code] if E.Kind = ekUserPwdInvalid then begin[/code] * replace it with: [code] if (E.Kind = ekUserPwdInvalid) and (FLoginRetries >= 0) then begin[/code]

Viewing all articles
Browse latest Browse all 1040

Trending Articles