On Tuesday 14 March 2006 00:34, Michael Van Canneyt wrote:
> On Mon, 13 Mar 2006, johnf wrote:
> > It appears that the "OnLogin" event does not work correctly in the
> > TPQConnection. When I turn on the loginprompt= true nothing happens.
> > Can some shed some light on the issue?
>
> This is a known issue. A login handler needs to be implemented.
>
> That is, a global callback needs to be defined in db.pp which is called
> by the TDatabase component. This callback then needs to be set by the
> GUI code, and should return whatever parameters are needed.
>
> So something like
>
> Type
> TLoginPromptEvent = Function (Sender : TDatabase) : Boolean;
>
> Var
> OnLoginPrompt : TLoginPromptEvent;
>
> But this is not yet implemented.
>
> Michael.
thanks for the reply - but now I need to know the work around. I am currently
attempting to use my own login form along with a datamodule. I left a
message and you made a suggestion but it's not working.
John
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives