Tuto WINDEV 25
36 Part 1: Discovering WINDEV Remark When developing an application, WINDEV informs you of the possible problems that may occur in your application via the "Compilation errors" pane. This pane presents different types of errors: • Compilation errors: The errors signal a major problem (programming error, ...). The project test or execution will not operate. • Compilation warning: The warnings signal programming cases that may trigger unexpected behaviors. • Compilation information: The information explains the compiler choices or provides tips for improving the code. • UI errors: The UI compilation errors inform you of the possible problems detected in your interfaces: images not found, truncated captions, ... • Programming standard errors: These errors inform you when the programming standard selected in the project description is not respected ("Compilation" tab). • Automatic test errors: These errors signal a problem when running automatic tests. Improving the window During this first test, you have noticed that: • your window is too big, • your window can be resized but it only contains two controls, • the first name is displayed with the case used in the edit control. We are going to force the use of an uppercase letter at the beginning of the word. We are going to improve the interface of this window. ▶ To reduce the window size in the editor: 1. Click the window: handles appear around the window. 2. Click the handle found at the bottom right and reduce the window size by keeping the left mouse button down. ▶ To prevent the window from being resized at run time: 1. Double-click the window. The description window is displayed. 2. In the "UI" tab, uncheck "Resizable" (simply click on the option). 3. Validate. Remark Tips for improving the interface and the ergonomics will be presented in a next chapter.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==