Subject RE: [IBO] IBD_Login question
Author Alan McDonald
> >procedure TdmMyDm.cn1BeforeConnect(Sender: TIB_Connection);
> >begin
> > // if LoginAborted then
>
> if Sender.LoginAborted then
>
> > begin
> > ShowMessage('Login cancelled'); // only if you want to
> give feedback
> > Sysutils.Abort;
> > end
> > else
> > inherited;
> >end;

Funny, but before connected gets called before the login dialog comes up, so
cacellation does occur here
Alan