Tuto WEBDEV 25

58 Part 1: Discovering WEBDEV Creating controls The login page will contain the following controls: • Two edit controls: • "Login" to type the login. • "Password" to type the password. • Two Button controls: • "Connect" to check the login and password. • "Register" to open the registration page (that was created beforehand). These types of controls have already been created, let’s see a reminder of operations to perform: ▶ To create an edit control: 1. On the "Creation" pane, in the "Usual controls" group, click . 2. Click inside the blank page to create the control. 3. Click the control (simple click): the caption becomes editable. 4.  Type the caption ("Login" and "Password") and press Enter to validate. The caption is immediately modified. Remark The type of "Password" control must be "Password". To modify the type of edit control, display the description window of control. ▶ To create a Button control: 1. On the "Creation" pane, in the "Usual controls" group, click . 2. Click inside the page to create the Button control (below the edit controls for example). The control is created. 3. Press the space bar: the caption becomes editable. 4.  Type the caption ("Connect" and "Register") and press Enter to validate. The caption is immediately modified. ▶ You get the following page:

RkJQdWJsaXNoZXIy NDQ0OA==