PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Configuring the popup menus of AAFs
  • Configuration at project level
  • Configuration at control level
  • Disabling the popup menu of AAFs
  • How to translate the popup menus of AAFs?
  • Translating the default popup menu
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 proposes several AAFs (Automatic Application Features). These AAFs allow the end user to print the content of a Table control, to export the content of a Table control to Excel, to display a Calendar control for date selection, ... See the "WINDEV AAF xx.pdf" file for an exhaustive list of available AAFs. This file is found in the "Help" directory of WINDEV.
In most cases, specific popup menus are linked to the AAFs. These popup menus are displayed on the windows, the edit controls, the image controls, ...
The different options displayed in this popup menu can be easily configured from the editor.
A custom popup menu can also be added to the popup menu of the AAF. This popup menu can be positioned before or after the popup menu of the AAF.
Note: An AAF menu is displayed for the following controls:
  • In WINDEV: Organizer, Button, Edit control, Combo box, Gantt chart, Window, Chart, Image, Check box, List box, Organization chart, Scheduler, Radio button, Table, Pivot table, TimeLine and Looper.
  • In WINDEV Mobile: Combo box, Check box, List box, Radio button, Table and Looper.
Configuring the popup menus of AAFs

Configuration at project level

By default, all the options found in the popup menus of AAFs are available in a project for all the types of controls.
To avoid proposing some options found in the popup menus of AAFs for some types of controls:
  1. Display the project description ("Project .. Project description").Display the project description: on the "Project" pane, in the "Project" group, click "Description".
  2. Display:
    • the "Advanced" tab in WINDEV.
    • the "Style" tab in WINDEV Mobile.
  3. Click the "Menu of AAF" button. The window that is opened allows you to configure the options that will be proposed by default in the popup menu of AAFs for each type of control.
  4. For each type of control, select the options to display.
  5. Validate the setting window and the project description.
Note: The AAF menu can be configured for the following controls:
  • In WINDEV: Organizer, Button, Edit control, Combo box, Window, Image, Check box, List box, Scheduler, Radio button, Table, Pivot table, TimeLine and Looper.
  • In WINDEV Mobile: Combo box, Check box, List box, Radio button, Table and Looper.
WINDEVWindows

Configuration at control level

A popup menu can be chosen for each type of control. The "System" popup menu is proposed by default. This "System" popup menu contains the different options of AAFs.
To configure the popup menu of the controls:
  1. Display the description window of the control.
  2. Display the "GUI" tab.
  3. The "Popup Menu" control is used to configure the popup menu:
    • the button is used to create a new popup menu.
    • the combo box is used to:
      • display the popup menu of the AAF and configure the options that will be displayed for the current control.
      • display a specific popup menu. This popup menu can replace the popup menu of AAFs or it can be displayed before or after the popup menu of AAFs.
  4. Validate.
Note: The AAF menu can be configured for the following controls:
  • In WINDEV: Button, Edit control, Combo box, Window, Image, Check box, List box, Organization chart, Radio button, Table, Pivot table, TimeLine, Looper and Chart. For the Chart control, the popup menu can be displayed (or not) and a custom menu can be displayed before or after. To configure the options that will be displayed in the popup menu of a chart, use grMenuOption.
  • In WINDEV Mobile: Combo box, Check box, List box, Radio button, Table and Looper.

Disabling the popup menu of AAFs

To disable the popup menu of AAFs:
  • in the window editor: in the control description ("GUI" tab), uncheck "Display the menu of AAF (System)" in the "Popup menu" combo box.
  • by programming, use ..PopupMenu.
How to translate the popup menus of AAFs?
In a multilingual application, the popup menus of the FAA must be translated as well as all the captions and messages found in the application. WDINT is required to translate this type of menu.
Reminder: WDINT is an additional tool. This tool creates a specific file (.WDM extension) containing all the translations of the resources found in WINDEV/WEBDEV/WINDEV Mobile. This tool is supplied with WDMSG that is used to check out the captions to translate then to check back in the translated captions in your application. Contact PC SOFT Sales Department for more details about the conditions for using this product. By default, all the resources in English and in French are supplied with WDINT.

Translating the default popup menu

To translate the default popup menus:
  1. Install WDINT if not already done.
  2. Start WINDEV and select "Tools .. WDINT .. WDINT - Translate the WINDEV framework". Start WINDEV. On the "Project" pane, in the "Translate" group, expand "Translate" and select "WDINT - Translate the WINDEV framework".
  3. In the wizard of WDINT, specify the translation language and choose to translate the wd190obj DLL.
  4. Translate the resources of the DLL.
  5. Save the WDM file created by WDINT and exit from WDINT.
  6. Copy the WDM file into the directory of your application.
  7. In WINDEV, display the description window of project ("Project .. Project description").In WINDEV, display the description window of project: on the "Project" pane, in the "Project" group, click "Description".
  8. In the "Languages" tab, specify the WDM file containing the requested translations ("Various" tab).
  9. Validate the description window of project.
  10. When running the application in the translation language, the popup menus will be displayed in this language.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment