WINDEV Concepts

132 Part 4: Advanced concept 3.5 Testing the application When an application that uses the standard User Groupware is tested, the first window that appears is the login window (regardless of the first window defined in your application). A single user is created by default: the supervisor. To log in as supervisor, simply enter the following information in the login window: • Name : SUPERVISOR • Password: SUPERVISOR You can test your application, or configure the User Groupware. Remarks : • To set a first window other than the login window in your application, select "Manual start (programmatically)" in the "General" tab of the User Groupware options. Simply use gpwOpen to open the login window. • The User Groupware management windows are executed before the project initialization code. • The window of your application defined in the project will be opened after the login window (if the user is not the supervisor). • In the "Options" tab of the User Groupware configuration window, you can define the username and password to be used for the test mode. The password will no longer be requested when you click GO to test the window or project. 3.6 Creating the WINDEV executable When creating an executable that uses the standard User Groupware ("Generate" option on the "Project" tab), the wizard will show a screen specific to the standard User Groupware. This allows you to define the location of the User Groupware data files. 3.7 Installing an application that uses the User Groupware An application that uses the User Groupware is installed like any other application: on the "Project" tab, in the "Generation" group, click "Setup procedure". The wizard displays a screen specific to the standard User Groupware to set the location of the User Groupware data files. Remarks : • If the User Groupware data files have been configured for your client, they must be selected when preparing the setup. Therefore, the list of setup files must be customized. • If the groupware data files have not been configured, the Supervisor will be the only user in the application the first time it is started. Tip : If you do not configure the different User Groupware use levels for your clients, we recommend that you provide them with a document listing all the controls used in your windows in order to get an optimized configuration. 4 Configuring the application that uses the standard User Groupware When the application is deployed, the standard User Groupware is configured by the application supervisor. This configuration consists in creating users and groups of users, and granting them specific rights for each control in each window of the application. These rights are used to gray controls, groups of controls or menu options, and to make them visible or invisible. To configure the standard User Groupware, simply : 1. Start the application (executable or test from WINDEV) and log in as supervisor: • Name : supervisor • Password: supervisor

RkJQdWJsaXNoZXIy NDQ0OA==