ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / AAF functions (Automatic Application Features)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Customizes the text of a menu option for context menus corresponding to an AAF (Automatic Application Feature).
Example
AAFChangeCaption(aafTableToExcel, "Save in an Excel file")
 
AAFChangeCaption(TAB_DOC, aafTabNew, "New document")
AAFChangeCaption(TAB_CUSTOMER, aafTabNew, "New customer")
Syntax
AAFChangeCaption([<Control or window>, ] <AAF option to customize> , <Caption>)
<Control or window>: Optional character string
Name of control or name of opened 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:
aaf1stFocusControlModifies the text of the context menu used to set the initial focus to the edit control.

By default, this text is "Set initial focus to this control".

Affected element: Edit control
aafAddShortcutModifies the text of the context menu used to manage custom keyboard shortcuts.

By default, this text corresponds to "Choose a keyboard shortcut".

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

By default, this text corresponds to "Adjust all columns".

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

By default, this text corresponds to "Automatic validation".

Affected element: Button control.
aafCalculatorModifies the text of the context menu used to display a popup calculator to perform calculations.

By default, this text corresponds to "Calculator".

Affected element: Numeric or Currency edit control
aafCalendarModifies the text of the context menu used to display a popup calendar in order to select a date in a Date edit control.

By default, this text corresponds to "Calendar".

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

By default, this text corresponds to "Cancel date range comparison".

Affected element: Pivot Table control
aafChangeBackgroundColorModifies the text of the context menu used to change the background color of a row, column or cell in a control.

By default, this text corresponds to "Background color".

Affected element: Table control, TreeView Table control and Pivot Table control
aafChartModifies the text of the context menu used to display an automatic chart on a Table control.

By default, this text corresponds to "Chart".

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

By default, this text corresponds to "Check all".
Affected element: Table or TreeView Table control
aafCheckBoxCheckAllModifies the text of the context menu used to check all options in a Check Box control.

By default, this text corresponds to "Check all".

Affected element: Check Box control
aafColumnAddAverageModifies the text of the context menu used to add an automatic "Mean" total into a column of a Table control.

By default, this text corresponds to "Mean" (submenu of "Automatic calculations (sum, mean, ...)".

Affected element: Column of Table control
aafColumnAddCountModifies the text of the context menu used to add an automatic "Count" total into a column of a Table control.

By default, this text corresponds to "Number of elements" (submenu of "Automatic calculations (sum, mean, ...)".

Affected element: Column of Table control
aafColumnAddTotalModifies the text of the context menu used to add an automatic "Total" total into a column of a Table control.

By default, this text corresponds to "Total" (submenu of "Automatic calculations (sum, mean, ...)".

Affected element: Column of Table control
aafColumnSelectionModifies the text of the context menu option used to select the columns displayed in a Table or TreeView Table control.

By default, this text corresponds to "Select columns".

Affected element: Table or TreeView Table control
aafCompareDateRangePvtModifies the text of the context menu used to compare date ranges in a Pivot Table control.

By default, this text corresponds to "Compare date ranges".

Affected element: Pivot Table control
aafCopyModifies the text of the context menu used to:
  • copy the row of a List Box control. By default, this text corresponds to "Copy row".
  • copy the row found in a Table or Treeview Table control. By default, this text corresponds to "Copy row".
  • copy the content of an Image control. By default, this text corresponds to "Copy".


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

By default, this text corresponds to "Copy all".

Affected element: List Box control or Table control
aafCopyCellModifies the text of the context menu used to copy the cell in a Table control. By default, this text corresponds to "Copy XXX" where XXX is the cell content.

Affected element: Table control or TreeView Table control.
aafCopyColumnModifies the text of the context menu used to copy the column in a Table control. By default, this text corresponds to "Copy the column".

Affected element: Table control or TreeView Table control.
aafCopyFormModifies the text of the context menu used to copy the current form.

By default, this text corresponds to "Copy the form Ctrl Alt C".

Affected element: Window
aafCopyRowModifies the text 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.By default, this text corresponds to "Copy row".


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

By default, this text corresponds to "Customize interface".

Affected element: Window
aafCutModifies the text of the context menu used to cut the row in a Table or TreeView Table control. By default, this text corresponds to "Cut".

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

By default, this text corresponds to "Modification mode".

Affected element: Dashboard control
aafDeactivateWindowAnimationModifies the text of the context menu used to disable window animations.

By default, this text corresponds to "Disable the window animations".

Affected element: Window
aafDisplayEvolutionPvtModifies the text of the context menu used to show or hide the evolution in a comparison in a Pivot Table control.

By default, this text corresponds to "Show evolutions".

Affected element: Pivot Table control
aafDisplayOnSeveralLinesModifies the text of the context menu used to display the content of a column in a Table control on several lines.

By default, this text corresponds to "Display on several lines".

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

By default, this text corresponds to "Show evolutions in %".

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

By default, this text corresponds to "Disable image preview".

Affected element: File path Edit control
aafEditTooltipChanges the text of the context menu used to edit the tooltip of the control.

Affected element: all types of controls.
aafExpandCollapseAllModifies the text of the context menu used to expand or collapse all elements in a TreeView Table control or in a branch of a TreeView Table control.

By default, this text corresponds to "Expand/Collapse all".
Affected element:
  • TreeView Table control,
  • TreeView control.
aafFileSelectionModifies the text of the "Browse" option in the context menu displayed in the File and File Path edit controls.

By default, this text corresponds to "Browse".

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

By default, this text corresponds to "Filter".

Affected element: Table or Treeview Table control.
aafFindModifies:
  • 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.

    By default, this text corresponds to "Find".

    Affected element:
  • Multiline edit control,
  • Table or Treeview Table control
aafFreezeColumnLeftModifies the text of the context menu that allows users to lock columns in a Table control.


By default, this text corresponds to "Freeze columns to the left".

Affected element: Table or TreeView Table control
aafGanttAddDependencyModifies the text of the context menu used to add a dependency link between two tasks in a Gantt Chart column.

By default, this text corresponds to "Link a prerequisite task".

Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
aafGanttAddTaskModifies the text of the context menu used to add a task into a Gantt Chart column.

By default, this text corresponds to "Add a task".

Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
aafGanttDeleteTaskModifies the text of the context menu used to delete a task from a Gantt Chart column.

By default, this text corresponds to "Delete task".

Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
aafGanttEditTaskModifies the text of the context menu used to edit a task in a Gantt Chart column.

By default, this text corresponds to "Edit task".

Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
aafGotoLineModifies the text of the context menu used to display a window for entering the number of the line to reach in a multiline edit control.

By default, this text corresponds to "Go to line".

Affected element: Multiline edit control
aafHistoryHFLogModifies text of the context menu used to display the history of HFSQL records on a control linked to a data file.

By default, this text corresponds to "History".

Affected element: Control linked to a data file
aafHistoryInputModifies the text of the context menu used to manage input history.

By default, this text corresponds to "Remember input history".

Affected elements: Edit control, editable combo box
aafImageEditModeModifies the text of the context menu used to edit the image displayed in the Image control.

By default, this text corresponds to "Edit image".

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

By default, this text corresponds to "Find '%1!s!' on Internet...".

Affected element: Edit control
aafOgiAddAptModifies the text of the context menu used to add a new appointment into an Organizer control.

By default, this text corresponds to "New appointment".

Affected element: Organizer control
aafOgiDeleteAptModifies the text of the context menu used to delete an appointment from the Organizer control.

By default, this text corresponds to "Delete appointment".

Affected element: Organizer control
aafOgiEditAptModifies the text of the context menu used to edit an appointment in the Organizer control.

By default, this text corresponds to "Edit appointment".

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

By default, this text corresponds to "Open".

Affected element: File path Edit control
aafOpenLocationModifies the text of the context menu option used to open the directory containing the file.

By default, this text corresponds to "Open file location".

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

By default, this text corresponds to "Open with".

Affected element: File path Edit control
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.
aafPrintFileModifies the text of the context menu used to print a file.

By default, this text corresponds to "Print".

Affected element: File path Edit control
aafPrintOrganizerModifies the text of the context menu used to print the content of Organizer controls.

By default, this text corresponds to "Print".

Affected element: Organizer control
aafPrintPvtModifies the text of the context menu used to print the content of Pivot Table controls.

By default, this text corresponds to "Print".

Affected element: Pivot Table control
aafPrintReportOnTableModifies the text of the context menu used to print the content of Table controls, TreeView Table controls and Gantt Chart columns.

By default, this text corresponds to "Print".

Affected element: Table and TreeView Table control
aafPrintScheduleModifies the text of the context menu used to print the content of Scheduler controls.

By default, this text corresponds to "Print".

Affected element: Scheduler control
aafPrintSpreadsheetModifies the text of the context menu used to print the content of Spreadsheet controls.

By default, this text corresponds to "Print".

Affected element: Spreadsheet control
aafPvtEditModeModifies the text of the context menu option used to reorganize the row and column headers in a Pivot Table control.

By default, this text corresponds to "Reorganize the header of rows and columns".

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

By default, this text corresponds to "Reverse rows and columns".

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

"Remove filter" is the text used by default.

Affected element: Table or Treeview Table control
aafRTFToolbarModifies the text of the context menu used to display the RTF toolbar of RTF edit controls.

By default, this text corresponds to "RTF toolbar".

Affected element: RTF Edit control
aafSaveAsModifies the text of the context menu used to save:
  • the content of Spreadsheet control in an xlsx file.
  • the Dashboard control in image format.
  • the content of Image control in image format. By default, this text corresponds to "Save as".


Affected element:
  • Spreadsheet control
  • Dashboard control
  • Image control
aafSaveBreakStatusModifies the text of the context menu option used to store the status of breaks.

By default, this text corresponds to "Remember break states".

Affected element: Table control, Looper control
aafSaveFilterAndSortModifies the text of the context menu option used to store sorts.

By default, this text corresponds to "Remember sorts".

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

By default, this text corresponds to "New appointment".

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

By default, this text corresponds to "Delete appointment".

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

By default, this text corresponds to "Edit appointment".

Affected element: Scheduler control
aafSendFileByEmailModifies the text of the context menu used to send a file by email. This file can be:
  • the file whose path is found 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.By default, this text corresponds to "Send by email".


Affected element:
  • File Path edit control.
  • Organizer control.
  • Scheduler control.
aafSortListOrComboModifies the text of the context menu option used to sort the content of a List Box or Combo Box control.

By default, this text corresponds to "Sort".

Affected element: List Box or Combo Box control.
aafSpellCheckModifies the text of the context menu used to open the Word spelling checker in an Edit control.

By default, this text corresponds to "Spell check".

Affected element: Edit control
aafTableToExcelModifies 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).

By default, this text corresponds to "Export table to OpenOffice Calc".

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafTableToWordModifies 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).

By default, this text corresponds to "Export table to Word".

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafTableToXMLModifies 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.

By default, this text corresponds to "Export table to XML".

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafTabNewModifies the text of the option in the context menu of a dynamic tab used to create a menu.

By default, this text corresponds to "New".
Affected element: Dynamic Tab control
aafTodayModifies 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.

By default, this text corresponds to "Today"..

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

By default, this text corresponds to "Uncheck all".

Affected element: Table or TreeView Table control
aafZoomModifies 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.
    By default, this text corresponds to "Cancel zoom".
    Affected element: Table, TreeView Table, Pivot Table, Spreadsheet or List Box control.
  • cancel the zoom in a window.
    Affected element: Window.
<Caption>: Character string
  • New caption.
  • Empty string ("") to use the default text.
Business / UI classification: UI Code
Component: wd280obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/09/2023

Send a report | Local help