Tuto WINDEV 25
Part 1: Discovering WINDEV 35 Remark When writing this code in the code editor, you may have noticed that the different elements use different colors. This is the syntactic coloring. The code editor allows you to easily identify the different elements handled by the code. Therefore, in the code editor that is using the light theme: • the WLanguage functions are colored in blue, • the character strings (between quotes) are colored in purple, • the names of controls are colored in cyan. Info displays the message passed in parameter on one or more lines. Our message is built from the text "Hello " and from the value of "EDT_FirstName" control. The "," sign separates the parameters of Info . Each parameter is displayed on a different line. Remark In this example, the text is displayed in a system window but it can also be displayed it in a window created with WINDEV. ▶ Let’s now run the window test: 1. Click among the quick access buttons (or press F9). 2. The window that was just created is automatically saved then it is started in execution. 3. Type your first name. 4. Click the "Display" button. 5. Validate the system window that is displayed (click the "OK" button). Any developer knows that running a program test can be a long and tiresome job. In WINDEV, a SINGLE CLICK allows you to run the test of window, report or procedure currently created. This is both simple and fast! ▶ Close the test window: click the system closing button of window ("x" button found in the title bar). ▶ The WINDEV editor is redisplayed. Close the code editor: on the "Home" pane, in the "General" group, click "Close". ▶ An error is displayed in the "Compilation errors" pane. This error indicates that the window can be resized while no anchoring is defined. Don’t worry: this error will be processed in the next paragraph.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==