Tuto WINDEV Mobile 25

Part 3: iOS application 57 5. Specify the title of the element: "Welcome". The name of the element is automatically proposed: "WIN_Welcome". 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". 6. Save the window by clicking "OK". Displaying a message You are now going to create a Button control used to display a message. ▶ To create the 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. ▶ Modify the control characteristics by entering the following information: 1.  This control is named: "BTN_Display". 2.  The control caption is: "Display".

RkJQdWJsaXNoZXIy NDQ0OA==