ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Project editor / Environment
  • Overview
  • How to?
  • Enabling UI compilation errors
  • Correcting a UI error
  • Disabling a UI compilation error
  • Some examples of detected UI errors
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
UI compilation errors indicate the possible problems detected in your interfaces whenever a window, a page or a report is saved or whenever the project is recompiled.
UI compilation errors are also available on reports. By default, UI compilation errors are enabled for each new project.
How to?

Enabling UI compilation errors

UI compilation errors can be enabled:
  • from the project description.
  • from the pane of compilation errors.
To enable UI compilation errors from the project description:
  1. Open the project description window (go to the "Project" tab, "Project" group and click "Description").
  2. In the "Compilation" tab:
    • In "UI errors", check "Enable UI compilation".
    • The "Edit the languages" button is used to choose the project languages that will be taken into account by the UI compilation.
  3. Validate.
To enable UI compilation errors from the compilation errors pane:
  1. Display the pane of compilation errors: on the "Home" tab, in the "Environment" group, expand "Panes", select "Panes", and then select "Compilation errors".
  2. Click .
UI errors are checked:
  • whenever saving a window, a page or a report.
  • whenever recompiling the project.

Correcting a UI error

UI errors are listed in the compilation errors pane.
To fix UI errors:
  1. Double-click the error displayed in the pane. The element containing the control where the problem occurs is opened in the editor. The description of the corresponding control is displayed.
  2. Fix the problem.

Disabling a UI compilation error

To disable a UI compilation error:
  1. In the pane of compilation errors, select the error to disable.
  2. Display the popup menu of the error:
    • "Disable this error" is used to disable the selected error.
    • the option "Disable this error and all the identical ones" is used to disable the error and all the errors of the same type in the current project.
To see the list of disabled UI compilation errors:
  1. Right-click in the compilation errors pane to open the context menu.
  2. Select "List of disabled errors".
To re-enable (if necessary) one or more errors in this list, all you have to do is uncheck the errors that must be re-enabled and validate the window.
Some examples of detected UI errors
The problems that can be detected are as follows:
  • Checking the existence of the images used by the Image controls.
  • Detecting the truncated captions on some types of controls.
  • WEBDEV - Server code Checking the existence of the internal pages used by the Internal Page controls.
  • Checking whether an anchored table contains an anchored column.
  • Checking the links with the items of the data files or with the variables.
  • Checking the existence of the control captions in all the languages.
  • Checking the presence of empty rows at the end of initial content of list box and combo box.
  • Checking the spelling mistakes.
  • Error if the text displayed in a language is always the default text.
  • WEBDEV - Server code Checking the invalid superposition areas.
  • Checking whether the caption of a button does not exceed the size of the control.
  • Checking the identical databinding links.
  • WEBDEV - Server code Errors specific to Responsive Web Design: Error about block stacking, Error about display order, ... For more details, see Responsive Web Design: Specific UI errors.
  • Verification of project dependencies. Error if dependencies are missing. For example: style sheets, external CSS sheets, images from Custom-Folders, code style, project custom fonts , etc.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2023

Send a report | Local help