Subject | Re: [IBO] TIB_Connection: error msg displayed upon cancel |
---|---|
Author | Raymond Kennington |
Post date | 2002-08-12T14:39:22Z |
I can see your logic.
However, I saw a dialog box for logging on and I -cancelled- it because I changed my mind.
This is not an error and should not be flagged as such.
Since it is also the same at run-time, I will have to create a work-around for this poor
behaviour --- unless the author would like to correct it.
I doubt it would adhere to ISO standard 9241-11.
Raymond Kennington
Nando Dessena wrote:
However, I saw a dialog box for logging on and I -cancelled- it because I changed my mind.
This is not an error and should not be flagged as such.
Since it is also the same at run-time, I will have to create a work-around for this poor
behaviour --- unless the author would like to correct it.
I doubt it would adhere to ISO standard 9241-11.
Raymond Kennington
Nando Dessena wrote:
>
> 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
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/