Tuto WEBDEV 25
Part 13: The WLanguage basics 435 Practical example To handle the different concepts of this lesson, we are going to create different windows. These windows will be created in the "My_First_Pages" project. ▶ Open the "My_First_Pages" project if necessary. 1. Display the WEBDEV home page (Ctrl + <). 2. Click "Tutorial", then "My first pages (Exercise)". To handle the Character String variables, we are going to create the following page: This page is used to: • find a string inside another one. • compare two strings. ▶ Create a new blank page: 1. Click among the quick access buttons. The window for creating a new element is displayed: click "Page" then "Page". The page creation wizard appears. 2. Select "Blank". 3. Validate. The page is automatically created in the editor. The window for saving an element is displayed. 4. Specify the page title: "Variables". The page name ("PAGE_Variables") is automatically proposed. 5. Click on the "OK" to validate the information displayed in the save window. ▶ To create the edit control containing the string: 1. On the "Creation" pane, in the "Usual controls" group, click . 2. Click the location where the edit control will be created (at the top, in the middle of the page for example). 3. Right-click the control and select "Description". 4. In the "General" tab, specify: • The control name: "EDT_Text". • The control caption: "Text". 5. Select the "Content" tab. This tab is used to define the default value of edit control. Type "WEBDEV is a great tool". 6. Validate the description window. The text typed is directly displayed in the control.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==