Tuto WINDEV 25
68 Part 2: The WLanguage basics Practical example: Using loops To check the use of loops, we are going to create a window into which an Image control will be moved. Project used To handle the different concepts of this lesson, we are going to create different windows. These windows will be created in the "WD My first windows" project. ▶ Open the "WD My First Windows" project if necessary. To do so, in WINDEV’s home page (Ctrl + <), click "Tutorial" and select "My first windows (Exercise)". Creating the window ▶ Create a new blank window: 1. Click among the quick access buttons. The window for creating a new element is displayed: click "Window" then "Window". The window creation wizard starts. 2. Select "Blank" and the "Phoenix" skin template. 3. Validate. The window is automatically created in the editor. The window for saving an element is displayed. 4. Specify the window title: "Loops". The window name ("WIN_Loops") is automatically proposed. 5. Click "OK" to validate the information shown in the save window. Creating controls We are going to create the Image control then the buttons used to handle this image. ▶ To create an Image control: 1. On the "Creation" pane, in the "Usual controls" group, click "Image". Position the control in the window. 2. Right-click the control and select "Description". 3. We are going to associate an image to the Image control via the image catalog of WINDEV. Remark As soon as an image can be displayed in a control or window, WINDEV proposes to use the image catalog. This image catalog is started via the "Catalog" option (available by clicking the button). This catalog contains hundreds of images, cliparts, ...
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==