PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Setting
  • Configuring the automatic menu in a TreeView control
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
Each TreeView control found in a window proposes a popup menu to the user.
This menu, available without programming, proposes several actions:
  • copy (the element, the row, the column or everything). Copying the column is used to copy the entire content of the treeview branches into the clipboard. The different elements are separated by CR characters (Carriage Return).
  • Versions 18 and later
    expand or collapse all: This option is used to expand or collapse all the elements of the current branch.
    New in version 18
    expand or collapse all: This option is used to expand or collapse all the elements of the current branch.
    expand or collapse all: This option is used to expand or collapse all the elements of the current branch.
  • WINDEV export to Word, Excel, XML: This option is used to export the content of the TreeView control into a file in the specified format.
Notes:
  • The same popup menu is available for the treeview section of a treeview table.
  • You have the ability to add choices to this menu by programming. To do so, use ..PopupMenu.
Setting

Configuring the automatic menu in a TreeView control

The popup menu of the TreeView control can be disabled. To configure the display of the popup menu associated with the TreeView control, you must:
  1. Display the description window of the TreeView control.
  2. Select the "GUI" tab.
  3. Choose the requested menu in the "Popup Menu" combo box. You can:
    • "Display the menu of AAF (System)": In this case, the automatic menu of the TreeView control will be displayed. See Configuring the menu of AAFs for more details.
    • "Add a popup menu": If this option is checked, you will have the ability to select the custom popup menu to display.
Notes:
  • If both options are checked, the custom popup menu can be added before or after the menu of AAFs.
  • If no option is selected, no popup menu will be selected. The <Disabled> option will be displayed in the description window.
  • ..PopupMenu can also be used to delete the popup menu specific to the AAFs and to go back to the standard Windows menu for a specific control.
  • By programming, DisableAAF is used to delete some options from the popup menu of AAFs specific to the TreeView controls. For example, the aafTableToExcel, aafTableToWord and aafTableToXML constants are used to disable the export features.
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment