The function is used by LogoutDialog() to start the login dialog. |
Synopsis
LoginDialog(int closeModules, string loginModule, string picture); |
Parameters
Parameters |
Specification |
Description |
closeModules |
0 |
Opens a new module for Login,
without closing open modules |
loginModule |
|
Name of the Login module ( for example, login.pnl) |
picture |
|
Name of the required logo
(for example, |
Return value
None. |
Description
The function opens the Login dialog. In this dialog, you can select an operating language from a combo box after entering the user name and pressing Enter. |
Then a function afterLogin() will be called that resides in the CTRL Lib login.ctl. This lib can be defined in the project itself to allow opening its own modules after login. In the dialog (3rd parameter), you can display your own gif logo that must be located in the pictures directory. |
If you want to use your own logo in the login dialog, first copy it to the project directory. Then enter your own parameter for the gif image in your login module, for example, the login.pnl with the panel attributes > On opening. |
Example |
main() |
Relates to
panel.ctl |
Availability
UI, CTRL, DP |
See also
V 3.11 SP1
Copyright