PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • How to?
  • How to display events associated with an element?
  • Special case: display events associated with an element from the code editor
  • Special case: F2 on the name of a plane
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile allow the use of event-driven and object-oriented programming.
The proposed event-driven programming associates one or more events with each element used. These events are displayed in the code editor.
For many elements:
  • Some events are proposed by default: the most common and used events.
  • Some events can be added. These events allow you to manage specific cases (Drag and Drop, for example). See Optional events for more details.
How to?

How to display events associated with an element?

Several methods are available to display the events associated with an element (control, window, page, etc.):
  • Use the F2 shortcut. To do so, you must:
    • Select the desired element.
    • Press F2: the code editor is automatically displayed with the list of default associated events.
  • Use the "Code" option from the popup menu. To do so, you must:
    • Select the desired element.
    • Display the popup menu (right click) and select "Code". The code editor is automatically displayed with the list of default associated events.
Remarks:
  • You can also display the events associated with an element from the element description window: simply click on , at the bottom of the description window.
  • To display the events associated with the project, a window, a page or a report, you can also use the bar of open elements. Simply:
    • Display the popup menu of the button corresponding to the desired item.
    • Select "Element code" in the menu that appears. The code editor is automatically displayed with the list of default associated events.
  • WEBDEV - Server codeWEBDEV - Browser code The "Server" and "Browser" events related to the selected element are displayed in the code editor. See Server code/Browser code for more details.

Special case: display events associated with an element from the code editor

The WLanguage code in the different processes, events, ... can handle specific elements (controls, windows, pages, etc.).
You can directly display the events of an element handled in a line of WLanguage code by clicking on the element name and pressing F2.
For example: if in the following code:
Open(WIN_Menu)
the F2 key is used on "WIN_Menu", the code editor will display the events associated with it.
Versions 24 and later

Special case: F2 on the name of a plane

If the WLanguage code handles a named plane, using the F2 key on the plane name in the code editor will open the corresponding window and position itself on the specified plane.
New in version 24

Special case: F2 on the name of a plane

If the WLanguage code handles a named plane, using the F2 key on the plane name in the code editor will open the corresponding window and position itself on the specified plane.

Special case: F2 on the name of a plane

If the WLanguage code handles a named plane, using the F2 key on the plane name in the code editor will open the corresponding window and position itself on the specified plane.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment