PC SOFT

WINDEV的在线文档

  • Overview
  • The AAFs available in the popup menu of the Table and TreeView Table controls
  • Configuring the automatic popup menu of Table and Treeview Table controls
  • Configuring the automatic menu in a Table/Treeview Table control
  • Configuring the "Select the columns..." option
  • Configuring some options by programming: Functions for managing the automatic features
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
The WinDev and WinDev mobile applications automatically propose a popup menu for the Table and TreeView Table controls as well as for their columns.

This popup menu, available without programming, presents several useful features: these features are part of the Automatic Application Features (AAF).

The AAFs available in the popup menu of the Table and TreeView Table controls
The system popup menu (also called "Menu of AAFs") associated by default with the Table and TreeView Table controls proposes the following options:

This menu allows the user to easily perform different processes not necessarily planned in the application

Notes:

  • The Table and TreeView Table controls propose several other AAFs.
  • You have the ability to add choices to this menu:
Characteristics of options:
  • Export options (Excel, Word or XML): By default, the suggested file name corresponds to the caption of the Table control. This name can be modified by programming via ..标签.
    Note: the "High-precision numeric" columns (with 38 significant digits) are exported to Excel as exponential numbers.
  • Selecting columns: This option allows the user to display or hide the columns (to limit the size of the menu, only the first 32 columns of the Table control are displayed).
  • Generating a chart: You cannot select the columns that will be included in the chart. To choose some specific columns of the Table control, we advise you to create a new chart from the Table control. This chart will be displayed in a window for example.

Configuring the automatic popup menu of Table and Treeview Table controls

Configuring the automatic menu in a Table/Treeview Table control

The popup menu of the control can be disabled. To configure the display of the popup menu:
  1. Display the description window of the control.
  2. Select the "GUI" tab.
  3. Choose the requested menu in the "Popup menu" combo box:
You can choose to display:
  • the system menu (menu of AAF). The options can be configured with the "Parameters" option. This menu can be displayed or not.
  • a custom popup menu. This menu can be displayed on its own or in addition to the system menu. In this case, you can specify whether this menu must be displayed before or after the system menu. See Managing the popup menus for more details.
  • no menu.
Note: The same configuration can be performed for the columns of the Table control. By default, the popup menu of the Table control is associated with all the columns.

WinDev

Configuring the "Select the columns..." option

In some case, you may not want to give the user the ability to hide the columns. To do so, the "Select the columns..." option can be enabled or disabled:
  1. Display the description window of the control.
  2. Select the "Details" tab.
  3. Check or uncheck "Menu 'Select the columns...'".

WinDev

Configuring some options by programming: Functions for managing the automatic features

Two WLanguage functions are used to manage the display of some options in the system popup menu of the Table or Treeview Table control:
09版本和更高版本
执行应用程序自动功能
执行应用程序自动功能
Runs an Automatic Application Feature (AAF) on a control or on a window.
09版本和更高版本
禁用应用程序自动功能
禁用应用程序自动功能
Disables an Automatic Application Feature (AAF) on a control, on a window or on the current application.