ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / AAF functions (Automatic Application Features)
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Customizes the text of a menu option for context menus corresponding to an AAF (Automatic Application Feature).
Example
AAFChangeCaption(aafTableToExcel, "Enregistrer dans un fichier Excel")

AAFChangeCaption(ONG_DOC, aafTabNew, "Nouveau document")
AAFChangeCaption(ONG_CLIENT, aafTabNew, "Nouveau client")
Syntax
AAFChangeCaption([<Control or window>, ] <AAF option to customize> , <Caption>)
<Control or window>: Optional character string
Name of a control or open window.
If this parameter is not specified, the modification is performed for all controls and for all windows.
<AAF option to customize>: Integer constant
Constant corresponding to the option to customize:
aaf1stFocusControlChanges the text of the context menu that allows users to set the initial focus to the edit control.

The default text is "Set initial focus to this control".

Concerned element: Edit control field
aafAAFHelpChanges the context menu option that opens the AAF help site (https://aaf.windev.com/).

The default text is "Help (AAF)".

Affected element: Window, Table field, Hierarchical Table field, Pivot Table control field
aafAddRowNumberColumnChanges the text of the context menu option used to insert a row number column into a Table control.


The default text is "Show row numbers".

Affected element: Table field or TreeView Table control field.
aafAddShortcutChanges the text of the context menu that allows users to manage custom keyboard shortcuts.

The default text is "Choose a keyboard shortcut".

Affected element: Button field
aafAdjustAllColumnsChanges the text of the context menu that allows users to make all columns of a Table control fit to the content.

The default text is "Adjust all columns".

Affected element: Table control
aafAutomaticValidationChanges the text of the context menu option used to implement a timer on a button.

The default text is "Automatic validation".

Affected element: Button control.
aafCalculatorChanges the text of the context menu that allows users to display a popup calculator to perform calculations.

The default text is "Calculator".

Concerned element: Numeric or monetary Edit control field
aafCalendarChanges the text of the context menu that allows users to display a popup calendar in order to select a date in a Date edit control.

The default text is "Calendar".

Affected element: Edit control type Date
aafCancelCompareDateRangePvtChanges the text of the context menu for canceling a date range comparison in a Pivot Table control.

The default text is "Cancel date range comparison".

Affected element: Pivot Table control field
aafChangeBackgroundColorChanges the text of the context menu that allows users to change the background color of a row, column or cell in a control.

The default text is "Background color".

Affected element: Table field, Hierarchical Table and Crosstab
aafChartChanges the text of the context menu that allows users to display an automatic chart on a Table control.

The default text is "Chart".

Affected element: Table control
aafCheckAllChanges the text of the context menu for the Check Box table columns used to check all boxes.

The default text is "Check all".
Affected element: Table field or TreeView Table control field
aafCheckBoxCheckAllChanges the text of the context menu that allows users to check all options in a Check Box control.

The default text is "Check all".

Item concerned: Check Box control field
aafColumnAddAverageChanges the text of the context menu that allows users to add an automatic "Mean" total in a column of a Table control.

The default text is "Mean" (submenu of "Automatic calculations (sum, mean, ...)".

Related element: Table control column
aafColumnAddCountChanges the text of the context menu that allows users to add an automatic "Count" total in a column of a Table control.

The default text is "Number of elements" (submenu of "Automatic calculations (sum, mean, ...)".

Related element: Table control column
aafColumnAddTotalChanges the text of the context menu that allows users to add an automatic "Total" total in a column of a Table control.

The default text is "Total" (submenu of "Automatic calculations (sum, mean, ...)".

Related element: Table control column
aafColumnSelectionChanges the text of the context menu option used to select the columns displayed in a Table or TreeView Table control.

The default text is "Select columns".

Element concerned: Table field or hierarchical table
aafCompareDateRangePvtChanges the text of the context menu that allows users to compare date ranges in a Pivot Table control.

The default text is "Compare date ranges".

Affected element: Pivot Table control field
aafCopyModifies the caption of the context menu used to:
  • copy the row of a List Box control. The default text is "Copy row".
  • copy the row found in a Table or Treeview Table control. The default text is "Copy row".
  • copy the content of an Image control. The default text is "Copy".


Affected element: List Box control, Image control, Table control or TreeView Table control.
aafCopyAllChanges the text of the option in the context menu used to copy all rows in a List Box or Table control.

The default text is "Copy all".

Affected element: List Box control or Table control
aafCopyCellChanges the text of the context menu that allows users to copy the cell in a Table control. The default text is "Copy XXX" where XXX is the cell content.

Affected element: Table field or TreeView Table control field.
aafCopyColumnChanges the text of the context menu that allows users to copy the column in a Table control. The default text is "Copy the column".

Affected element: Table field or TreeView Table control field.
aafCopyFormChanges the text of the context menu that allows users to copy the current form.

The default text is "Copy the form Ctrl Alt C".

Component concerned: Window
aafCopyRowModifies the caption of the context menu used to:
  • copy the row of a List Box control.
  • copy the row found in a Table or Treeview Table control.The default text is "Copy row".


Affected element: List Box control, Table control or TreeView Table control.
aafCustomizeUIChanges the text of the context menu option allowing the end user to customize the interface.

The default text is "Customize interface".

Component concerned: Window
aafCutChanges the text of the context menu that allows users to cut the row in a Table or TreeView Table control. The default text is "Cut".

Affected element: Table field or TreeView Table control field.
aafDashEditModeChanges the text of the context menu option used to switch to edit mode via the context menu in a Dashboard control.

The default text is "Modification mode".

Item concerned: Dashboard control field
aafDeactivateWindowAnimationChanges the text of the context menu that allows users to disable window animations.

The default text is "Disable window animations".

Component concerned: Window
aafDisplayEvolutionPvtModifies the context menu label for displaying or not displaying the evolution during a comparison in a Pivot Table control field.

The default text is "Show evolutions".

Affected element: Pivot Table control field
aafDisplayOnSeveralLinesChanges the text of the context menu that allows users to display the content of a column in a Table control on several lines.

The default text is "Display on several lines".

Affected element: Table control
aafDisplayPercentageEvolutionPvtChanges the text of the context menu for displaying the evolution as a percentage in a comparison in a Pivot Table control.

The default text is "Show evolutions in %".

Affected element: Pivot Table control field
aafDisplayThumbnailChanges the text of the context menu that allows users to disable the thumbnail display for an image or for a PDF file whose path was typed in an edit control.

The default text is "Disable image preview".

Affected element: Edit control file path input field
aafEditTooltipChanges the text of the context menu that allows users to edit the tooltip of the control.

Element concerned: all field types.
aafExpandCollapseAllChanges the text of the context menu that allows users to expand or collapse all elements in a TreeView Table control or in a branch of a TreeView Table control.

The default text is "Expand/Collapse all".
Applies to:
  • TreeView Table control,
  • TreeView control.
aafFileSelectionChanges the text of the "Browse" option in the context menu displayed in the File and File Path edit controls.

The default text is "Browse".

Concerned element: Edit control field
aafFilterChanges the text of the context menu option used to filter the content of a column in a Table or TreeView Table control.

The default text is "Filter".

Affected element: Table field or hierarchical table.
aafFindModified:
  • the text of the context menu option used to perform a search in a multiline Edit control.
  • the text of the context menu option used to perform a search in a column in a Table or TreeView Table control.

    The default text is "Find".

    Applies to:
  • Multiline Edit control,
  • Table or Treeview Table control
aafFreezeColumnLeftChanges the text of the context menu that allows users to lock columns in a Table control.


The default text is "Freeze columns to the left".

Affected element: Table field or TreeView Table control field
aafGanttAddDependencyChanges the text of the context menu that allows users to add a dependency link between two tasks in a Gantt Chart column.

The default text is "Link a prerequisite task".

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGanttAddTaskChanges the text of the context menu that allows users to add a task into a Gantt Chart column.

The default text is "Add a task".

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGanttDeleteTaskChanges the text of the context menu that allows users to delete a task from a Gantt Chart column.

The default text is "Delete task".

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGanttEditTaskChanges the text of the context menu that allows users to edit a task in a Gantt Chart column.

The default text is "Edit task".

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGotoLineChanges the text of the context menu that allows users to display a window for entering the number of the line to reach in a multiline edit control.

The default text is "Go to line".

Item concerned: Multiline Edit control field
aafHistoryHFLogModifies text of the context menu that allows users to display the history of HFSQL records of a control linked to a data file.

The default text is "History".

Item concerned: Field linked to a data file
aafHistoryInputChanges the text of the context menu that allows users to manage input history.

The default text is "Remember input history".

Elements involved: Edit control, combo with input
aafImageEditModeChanges the text of the context menu that allows users to edit the image displayed in the Image control.

The default text is "Edit image".

Affected element: Image control field
aafInternetSearchChanges the text of the context menu option of the selection used to perform a search on the Internet.

The default text is "Find '%1!s!' on the Internet...".

Concerned element: Edit control field
aafOgiAddAptChanges the text of the context menu that allows users to add a new appointment into an Organizer control.

The default text is "New appointment".

Affected element: Organizer control field
aafOgiDeleteAptChanges the text of the context menu that allows users to delete an appointment from the Organizer control.

The default text is "Delete appointment".

Affected element: Organizer control field
aafOgiEditAptChanges the text of the context menu that allows users to edit an appointment in the Organizer control.

The default text is "Edit appointment".

Affected element: Organizer control field
aafOpenChanges the text of the context menu option used to open a file.

The default text is "Open".

Affected element: Edit control file path input field
aafOpenLocationChanges the text of the context menu option used to open the directory containing the file.

The default text is "Open file location".

Affected element: Edit control file path input field
aafOpenWithChanges the text of the context menu option used to open a file by selecting the software.

The default text is "Open with".

Affected element: Edit control file path input field
aafPDFDeleteCurrentPageChanges the text of the context menu option that allows users to delete the current page in a PDF Reader control.

The default text is "Delete page".

Affected element: PDF Reader control field.
aafPrintFileChanges the text of the context menu that allows users to print a file.

The default text is "Print".

Affected element: Edit control file path input field
aafPrintOrganizerChanges the text of the context menu that allows users to print the content of Organizer controls.

The default text is "Print".

Affected element: Organizer control field
aafPrintPvtChanges the text of the context menu that allows users to print the content of Pivot Table controls.

The default text is "Print".

Affected element: Pivot Table control field
aafPrintReportOnTableChanges the text of the context menu that allows users to print the content of Table controls, TreeView Table controls and Gantt Chart columns.

The default text is "Print".

Affected element: Table field and hierarchical Table
aafPrintScheduleChanges the text of the context menu that allows users to print the content of Scheduler controls.

The default text is "Print".

Affected element: Scheduler control field
aafPrintSpreadsheetChanges the text of the context menu that allows users to print the content of Spreadsheet controls.

The default text is "Print".

Item concerned: Spreadsheet control field
aafPvtEditMode (Constant)Changes the text of the context menu option used to reorganize the row and column headers in a Pivot Table control.

The default text is "Reorganize the header of rows and columns".

Affected element: Pivot Table control field
aafPvtReverseRowColumnChanges the text of the context menu option used to reverse the rows and columns in a Pivot Table control.

The default text is "Reverse rows and columns".

Affected element: Pivot Table control field
aafRemoveFilterChanges the text of the "Remove filter" option in the context menu of columns in Table and TreeView Table controls.

The default text is "Remove filter".

Affected element: Table or hierarchical Table field
aafRTFToolbarChanges the text of the context menu that allows users to display the RTF toolbar of RTF edit controls.

The default text is "RTF toolbar".

Affected element: RTF edit control
aafSaveAsChanges the text of the context menu that allows users to save:
  • the content of a Spreadsheet control in an xlsx file.
  • the Dashboard control in image format.
  • the content of an Image control in image format. The default text is "Save as".


Applies to:
  • Spreadsheet control
  • Dashboard control
  • Image control
aafSaveBreakStatusChanges the text of the context menu option used to store the status of breaks.

The default text is "Remember break states".

Affected element: Table control field, RepeatString field
aafSaveFilterAndSortChanges the text of the context menu option used to store sorts.

The default text is "Remember sorts".

Affected element: Table control
aafSchAddAptChanges the text of the context menu option used to add a new appointment into the current Scheduler control.

The default text is "New appointment".

Affected element: Scheduler control field
aafSchDeleteAptChanges the text of the context menu option used to delete the current appointment from the Scheduler control.

The default text is "Delete appointment".

Affected element: Scheduler control field
aafSchEditAptChanges the text of the context menu option for editing an appointment in the current Scheduler control.

The default text is "Edit appointment".

Affected element: Scheduler control field
aafSendFileByEmailChanges the text of the context menu that allows users to send a file by email. This file can be:
  • the file whose path is in an Edit control.
  • the Organizer.pdf file that represents the printed version of the Organizer control.
  • the Scheduler.pdf file that represents the printed version of the Scheduler control.The default text is "Send by email".


Applies to:
  • File path Edit control.
  • Organizer control.
  • Scheduler control.
aafSortListOrComboChanges the text of the context menu option used to sort the content of a List Box or Combo Box control.

The default text is "Sort".

Affected element: List Box control or Combo Box control.
aafSpellCheckChanges the text of the context menu that allows users to open the Word spelling checker in an Edit control.

The default text is "Spell check".

Concerned element: Edit control field
aafTableToExcelChanges the text of the context menu option used to export the Table control content or content selection to Excel or to OpenOffice Calc (depending on the software installed on the user's computer).

The default text is "Export table to OpenOffice Calc".

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafTableToWordChanges the text of the context menu option to export the Table control content or content selection to Word or to OpenOffice Writer (depending on the software installed on the user's computer).

The default text is "Export table to Word".

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafTableToXMLChanges the text of the context menu option used to export the content of Table control or the selection performed in the Table control to XML.

The default text is "Export table to XML".

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafTabNewChanges the text of the option in the context menu of a dynamic tab used to create a menu.

The default text is "New".
Item concerned: Dynamic Tab Control field
aafTodayChanges the text of the "Today" button in the calendar input window (Date Edit control with a calendar). It is thus possible to customize the text of this button or to translate it if necessary.

The default text is "Today"..

Affected element: Edit control type Date
aafUncheckAllChanges the text of the context menu for the Check Box table columns used to uncheck all boxes.

The default text is "Uncheck all".

Affected element: Table field or TreeView Table control field
aafZoomChanges the text of the option in the context menu used to:
  • cancel the zoom in a Table, TreeView Table, Pivot Table, Spreadsheet or List Box control.
    The default text is "Cancel zoom".
    Element concerned: Table, Hierarchical Table, Dynamic Crosstab, Spreadsheet or List field.
  • cancel the zoom in a window.
    Component concerned: Window.
New in version 2025
faaPasteAllLine
Changes the text of the option that allows users to paste a row from one Table control into another Table control.

By default, this label corresponds to "Paste entire line".

Affected element: Table control
<Caption>: Character string
  • New caption.
  • Empty string ("") to use the default text.
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help