Subject Re: [IBO] Aborting login
Author Raymond Kennington
I objected to the display of the error dialogbox upon cancel and was instructed that this
was sensible behaviour.

For now, you have to alter the source code yourself.

Raymond Kennington

Ryan Nilsson-Harding wrote:
>
> Hi there,
> I'm using the TIB_Connection component, and I have my own OnLogin
> event so I can display my own login box.
>
> If the user presses cancel on this box, how can I abort the login
> process?
>
> I cannot set the LoginAborted property as it is read-only, but when
> the user presses cancel, I still get the failed login error, and
> this pops up for the amount of times I have set in the LoginAttempts
> property.
>
> I'm sure this is simple, but cannot find some AbortLogin method..
> I've tried ForcedShutdown, and Close, but both leave the app hanging.
>
> Rgds,
> -Ryan
>
>
> ___________________________________________________________________________
> 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/