PC SOFT

WINDEV的在线文档

  • Overview
  • Resizing the columns
  • Tip
  • Changing the order of columns
  • Tip
  • Fixing the columns
  • Performing a search in the columns
  • Tip
  • Displaying the content of the column on several lines
  • Copying the column
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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 Tables controls displayed in a window allow the end user to perform several operations. Some features are automatic features while some features require to perform simple modifications in the application.

This help page presents the Automatic Application Features (AAF) available for the columns found in the Table controls:

Note: These Automatic Application Features (AAF) are also available for the TreeView Table controls.

Resizing the columns
The user can easily resize the columns found in a Table control.

To resize the columns found in a Table control:

  1. Hover the column separator.
  2. When the cursor tuns into a double arrow, keep the left mouse button down.
  3. Move the column separator in order to get the required dimension.
Example:
The first column is too small to display the full names of the companies.
The first column is too small to
to view the entire name of the companies.

The first column was resized.
The first column was resized.

Tip

To automatically adjust the size of the column to the longest text found in this column, all you have to do is double-click the column separator (to the right of the title of the column to adjust).

Note: In order for the automatic adjustment to be available, "Adjustable" must be checked in the "General" tab of the column description.

Changing the order of columns
The end user can easily reorganize the columns found in a Table control. To do so, the following operations must be performed:
  1. Click the title of the column to move and keep the left mouse button down.
  2. Move the column to its new position and release the left mouse button.
Example:

Tip

To implement this feature, "Moveable" must be checked in the "General" tab of the column description.

Fixing the columns
You have the ability to fix a column in order to view the content: the column is fixed on the border of the Table control and the horizontal scrollbar is used to access (if necessary) the other columns of the Table control.

To fix a column:

  1. Hover the left part of the column title.
  2. When the mouse cursor turns into an opened padlock, click with the left mouse button. All the columns found on the left of this column will be fixed. These columns cannot be moved anymore.
The same operation can be done to unfix the columns.

Example:

La colonne Société est fixée.
The Company column is fixed.

Tip: To implement this feature, "Adjustable" must be checked in the "General" tab of the column description.

Performing a search in the columns
To perform a search in a Table control, you must:
  1. Click the magnifier found in the title of the column. An input area is displayed.
  2. Type the first letters of the sought element. The first corresponding element is automatically selected in the Table control.
Notes:
  • To implement this feature, "With search (Magnifier)" must be checked in the "General" tab of the description window of the column.
  • You also have the ability to filter the elements displayed in a Table control. See Filter in the columns of a Table control for more details.

Tip

You also have the ability to perform a search by typing the first letters sought. You must:
  1. Sort the column where the search must be performed (the magnifier must be displayed in this column).
  2. Type the first letters of the sought element. The first corresponding element is automatically selected in the table.

Displaying the content of the column on several lines
18版本和更高版本
In some case, the table columns are not wide enough to display the entire information. The column must be enlarged. But in some cases, the column becomes as wide as the table itself!

To avoid these operations, use the popup menu of the column:
  1. Right-click the title of the column. A popup menu is displayed. This popup menu affects to the current column.
  2. Select the "Display over several rows" option.
  3. The content of the column is automatically displayed on several lines.
Notes:
  • The content of the table column must contain space characters in order to be displayed on several lines.
  • To display all the text columns as multi-line columns, check "Multiline text columns" in the "Details" tab of the description window of the Table control.
  • Like all the popup menus proposed by the AAFs, you have the ability to configure the options proposed by default by the Table control. See Configuring the AAF menus for more details.
  • By programming:
    • 禁用应用程序自动功能 associated with the 应用程序自动功能.显示多行 constant deletes the menu option.
    • ..多行 used on a column allows you to find out whether the column is displayed in multiline mode or not.
18新版本
In some case, the table columns are not wide enough to display the entire information. The column must be enlarged. But in some cases, the column becomes as wide as the table itself!

To avoid these operations, use the popup menu of the column:
  1. Right-click the title of the column. A popup menu is displayed. This popup menu affects to the current column.
  2. Select the "Display over several rows" option.
  3. The content of the column is automatically displayed on several lines.
Notes:
  • The content of the table column must contain space characters in order to be displayed on several lines.
  • To display all the text columns as multi-line columns, check "Multiline text columns" in the "Details" tab of the description window of the Table control.
  • Like all the popup menus proposed by the AAFs, you have the ability to configure the options proposed by default by the Table control. See Configuring the AAF menus for more details.
  • By programming:
    • 禁用应用程序自动功能 associated with the 应用程序自动功能.显示多行 constant deletes the menu option.
    • ..多行 used on a column allows you to find out whether the column is displayed in multiline mode or not.
In some case, the table columns are not wide enough to display the entire information. The column must be enlarged. But in some cases, the column becomes as wide as the table itself!

To avoid these operations, use the popup menu of the column:
  1. Right-click the title of the column. A popup menu is displayed. This popup menu affects to the current column.
  2. Select the "Display over several rows" option.
  3. The content of the column is automatically displayed on several lines.
Notes:
  • The content of the table column must contain space characters in order to be displayed on several lines.
  • To display all the text columns as multi-line columns, check "Multiline text columns" in the "Details" tab of the description window of the Table control.
  • Like all the popup menus proposed by the AAFs, you have the ability to configure the options proposed by default by the Table control. See Configuring the AAF menus for more details.
  • By programming:
    • 禁用应用程序自动功能 associated with the 应用程序自动功能.显示多行 constant deletes the menu option.
    • ..多行 used on a column allows you to find out whether the column is displayed in multiline mode or not.

Copying the column
18版本和更高版本
To copy the data found in a column of a Table control:
  1. Right-click the title of the column. A popup menu is displayed. This popup menu affects to the current column.
  2. Select "Copy the column".
  3. The content of the column is automatically copied in the clipboard and can be pasted in any application.
Note: Like all the popup menus proposed by the AAFs, you have the ability to configure the options proposed by default by the Table control. See Configuring the AAF menus for more details.
18新版本
To copy the data found in a column of a Table control:
  1. Right-click the title of the column. A popup menu is displayed. This popup menu affects to the current column.
  2. Select "Copy the column".
  3. The content of the column is automatically copied in the clipboard and can be pasted in any application.
Note: Like all the popup menus proposed by the AAFs, you have the ability to configure the options proposed by default by the Table control. See Configuring the AAF menus for more details.
To copy the data found in a column of a Table control:
  1. Right-click the title of the column. A popup menu is displayed. This popup menu affects to the current column.
  2. Select "Copy the column".
  3. The content of the column is automatically copied in the clipboard and can be pasted in any application.
Note: Like all the popup menus proposed by the AAFs, you have the ability to configure the options proposed by default by the Table control. See Configuring the AAF menus for more details.