Subject | Re: [IBO] TIB_Connection: error msg displayed upon cancel |
---|---|
Author | Nando Dessena |
Post date | 2002-08-13T07:39:28Z |
Raymond,
exception handler will be triggered only by "real" errors. FWIW, I only
use the standard login dialog in the simplest internal applications; for
real application I usually have my own. This applies to IBO as well as a
ton of other connectivity components I use.
Ciao
--
____
_/\/ando
> Normally I would do the following:is DialoogBox a login dialog? If so, set LoginPrompt to False and your
>
> with DialogBox do
> begin
> if not (ShowModal() = mrOk) then
> begin
> Exit;
> end;
>
> try
> Login(Username, password)
> except
> on E: Exception do
> ...
> end;
> end;
exception handler will be triggered only by "real" errors. FWIW, I only
use the standard login dialog in the simplest internal applications; for
real application I usually have my own. This applies to IBO as well as a
ton of other connectivity components I use.
Ciao
--
____
_/\/ando