Hi, I'm wondering if there is a standard username/password dialog component that can be used instead of creating my own.
Thanks in advance,

Mailing lists / lazarus / 2011-09
5 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi, I'm wondering if there is a standard username/password dialog component that can be used instead of creating my own.
Thanks in advance,
Leonardo M. Ram? wroteHi, I'm wondering if there is a standard username/password dialog component that can be used instead of creating my own.
To my knowledge, there isn't. But I think it would be good to have one, and have it register a callback in the db unit.
Michael.
There?s not a native component, but there?s one in the rxlib packge. I don?t know how it work?s, because I never used, but I know that exists.
2011/9/12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110912/f3881870/attachment.html>
Hi, I'm wondering if there is a standard username/password dialog component that can be…
Leonardo M. Ram? wroteHi, I'm wondering if there is a standard username/password dialog component that can be used instead of creating my own.
As Michael said, I don't think there are any include with Lazarus. fpGUI has two such dialogs as standard - if you want to take a look for ideas. One dialog has only the username and password edit boxes with Login/Cancel buttons. The second dialog also contains a Database / Connections combobox, so you can log into one of multiple connections. Both those dialog also have the optional "wiggle" support, where the dialog shakes if the login was unsuccessful.
To my knowledge, there isn't. But I think it would be good to have one, and have it…
There's even a bug-report about it. (One of the oldest bug reports still assigned to me:http://bugs.freepascal.org/view.php?id=7203)
Joost.