Subject | Re: [IBO] TIB_Connection: error msg displayed upon cancel |
---|---|
Author | Nando Dessena |
Post date | 2002-08-12T14:27:27Z |
Raymond,
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
> In the IDE, when TIB_Connection.Connected = False, double-clicking brings up a logonNot exactly. When you double click on the Connected property value the
> 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.
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