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.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives