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

> In the IDE, when TIB_Connection.Connected = False, double-clicking brings up a logon
> dialog box.
>
> Cancelling this box should close it without any messages appearing.
>
> It incorrectly displays and error msg upon cancel.
>
> To indicate that an error has occurred when the desired effect has occurred is
> inappropriate.

Not exactly. When you double click on the Connected property value the
Object Inspector tries to set it to True; if LoginPrompt is True this
makes a login dialog appear. Whether you cancel the dialog or you don't
get connected for any other reason, an exception must occur, since the
desired assignment (MyConnection.Connected := True) couldn't be
performed.
This is consistent at run time too.
I hope I have made it clear enough.
Ciao
--
____
_/\/ando