Subject Re: [IBO] TIB_Connection: error msg displayed upon cancel
Author Nando Dessena

> Normally I would do the following:
> with DialogBox do
> begin
> if not (ShowModal() = mrOk) then
> begin
> Exit;
> end;
> try
> Login(Username, password)
> except
> on E: Exception do
> ...
> end;
> end;

is DialoogBox a login dialog? If so, set LoginPrompt to False and your
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.