Tuto WINDEV Mobile 25
182 Part 6: Windows Mobile application 5. Specify the name of the element: "Welcome" (here, the element corresponds to the WINDEV Mobile window). 6. The element name ("WIN_Welcome") is automatically proposed. Remark Let’s take a look at the window name proposed by WINDEV Mobile: this name starts with the letters "WIN_". This prefix is automatically added because the project is using a code style. The code style is used to define a prefix for each type of object, allowing you to quickly identify the element: • a window starts with "WIN_", • a button starts with "BTN_", • etc. If you do not want to use this code style, you can simply disable it: on the "Project" pane, in the "Other actions" group, expand "Code style" and uncheck "Use code style". 7. Validate by clicking "OK". Displaying a message You are now going to create a Button control to display a message. ▶ To create the "Display" Button control: 1. On the "Creation" pane, in the "Usual controls" group, click . The control appears in creation mode under the mouse pointer. 2. Move the mouse toward the position where the control will be created in the window (at the top of window for example). To drop the control in the window, simply click again. 3. Right-click the control that was just created. The popup menu of control is displayed. Select "Description" from this popup menu. The description window of the Button control appears.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==