ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Code editor
  • Overview
  • How to?
  • Implementing code window recycling
  • Use multiple code windows for the same element
  • Notes
  • Global procedures, classes, etc.
  • Using several code windows for the same WINDEV/WINDEV Mobile/WEBDEV element (window, report, etc.)
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
By default, a single code window is opened for each open element in the editor
For example, a code window displays the code of a button used in a window. When you try to open the code of another element from this window, the same code window will be used.
This is called code window recycling (default mode).
To display the code of multiple objects in multiple windows, simply disable the code window recycling feature.
How to?

Implementing code window recycling

To recycle the code windows of a WINDEV or WEBDEV file (window, report, etc.):
  1. Open the code of the desired element.
  2. On the "Display" tab, in the "Editing help" group, check "Reuse same code window".

Use multiple code windows for the same element

By default, code window recycling is used: a single code window is displayed for each element (window, page, etc.).
To display multiple code windows for a WINDEV, WINDEV Mobile or WEBDEV element (window, report, etc.):
  1. Open the code of the desired element.
  2. In the "Display" tab, in the "Editing help" group, uncheck "Reuse same code window".
When there are multiple code windows open for the same element (for example, one code window open for each button in the window):
  1. A specific icon appears in the tab:
  2. You can click this icon to access the different code windows:
Remark: To view code windows side by side, you can use the "Undock active view" option and move the various code views:
Notes

Global procedures, classes, etc.

When a procedure or method is selected in the "Project explorer" pane, the "Edit code in a new window" option in the context menu opens a new code window for viewing global procedures (whether or not the Reuse same code window option is checked). You can then change the displayed code view and/or detach it by clicking the icon.

Using several code windows for the same WINDEV/WINDEV Mobile/WEBDEV element (window, report, etc.)

If the code of the same element (code of a button, code of a control, ...) is requested several times, the corresponding code window is re-enabled.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/30/2023

Send a report | Local help