PC SOFT

WINDEV的在线文档

  • Overview
  • Setting
  • Configuring the automatic menu in a TreeView control
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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).
  • 18版本和更高版本
    expand or collapse all: This option is used to expand or collapse all the elements of the current branch.
    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 ..上下文菜单.

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 AAFs (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.
  • ..上下文菜单 can also be used to delete the popup menu specific to the AAFs and to restore the standard Windows menu for a specific control.
  • By programming, 禁用应用程序自动功能 is used to delete some options from the popup menu of AAFs specific to the TreeView controls. For example, the 应用程序自动功能.表格转换为Excel, 应用程序自动功能.表格转换为Word and 应用程序自动功能.表格转换为XML constants are used to disable the export features.