|
|
|
|
|
- Overview
- Settings
- Configuring the automatic menu in a Table control
- Configuring the "Select columns..." option
- Configuring the default behavior of the "Export to Excel" option
Automatic menu of tables (AAF)
Each Table field in a window offers the user a menu by default. This menu, available without programming, includes several actions: - Export to Word or to OpenOffice (depending on the software installed on the user computer).
- Export to Excel or to OpenOffice Calc (depending on the software installed on the user computer).
- Export to XML.
- Copy the row or the table.
- Create a chart for representing data.
Example of chart automatically generated by the context menu of a Table control:
- Print the table (see AAF for printing a table).
- Selecting multiple table columns:
To simplify the menu, only the first 32 columns are visible in the menu. Furthermore, only the columns with a title are proposed.
This menu allows the user to easily perform several processes not necessarily planned in the application: - Export to an external Excel, Word or XML file.
- Ability to display or hide the columns (to limit the size of the menu, only the first 32 columns are displayed).
- Automatically generate a chart from the data found in a table.
Note: it is not possible to select the columns to be included in the graph.. To choose some specific table columns, we advise you to create a new chart from the Table control displayed in a window.
Remarks: - You can add options to this menu from the code. To do so, use the ContextMenu property.
- When exporting a table via the context menu, the merge of columns is ignored.
- Horizontal table: The FAA menu does not contain options for exporting to an external Excel, Word or XML file.
Configuring the automatic menu in a Table control The context menu of a Table control can be disabled. To configure the display of the Table control context menu, you must: - Open the Table control description window.
- Select the "UI" tab.
- Choose the desired menu in the "Context menu" combo box. It is possible to:
- "Display the AAF menu (System)": In this case, the context menu displayed will be the automation menu for the Table field (FAA menu).. For more details on how to configure this menu, see Configuring the AAF menu.
- "Add a context menu": If this option is checked, you can select the custom context menu to be displayed..
Remarks: - If both options are checked, the custom context menu can be added before or after the AAF menu.
- If no option is selected, no context menu will be selected. The <Disabled> option will be displayed in the description window.
- The ContextMenu property is also used to remove the AAF-specific context menu and restore the standard Windows menu for a given control.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|