After successful login displays the required panel. |
Synopsis
void afterLogin(string user, string password, string newLocale, int closeModules); |
Parameter
Parameter |
Description |
user |
Name of the user |
password |
User's password |
newLocale |
Selected user language - for example, "de_AT.iso88591" |
closeModules |
Defines whether modules are closed or not when the project language is changed. It is not always necessary to close a module. When , for example, the menu bar of a panel is deactivated, the module does not have to be closed in order to change the language. |
Return value
None ( void). |
Description
After login this function opens a project panel of your choice. |
Example |
To
open a panel of your own choice after login the function afterLogin() of the login.ctl
(located in |
The variable |
string module = " |
string panel = "vision/pvss"; // panel to be opened |
has be changed to |
string module = "mill"; |
string panel = "overview" |
Assignment
User administration |
Availability
UI, CTRL |
See also
Reference Vision |
V 3.11 SP1
Copyright