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:
aaf1stFocusControlModifies the text of the context menu used 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 hierarchical TreeView Table control field.
aafAddShortcutModifies the text of the context menu used 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".

Item concerned: Table field
aafAutomaticValidationModifies the text of the context menu option used to implement a timer on a button.

The default text is "Automatic validation".

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

The default text is "Calculator".

Affected element: Numerical or Monetary input field
aafCalendarModifies the text of the context menu used 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
aafCancelCompareDateRangePvtModifies 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
aafChangeBackgroundColorModifies the text of the context menu used 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.
aafChartModifies the text of the context menu used to display an automatic chart on a Table control.

The default text is "Chart".

Item concerned: Table field
aafCheckAllModifies 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
aafCheckBoxCheckAllModifies the text of the context menu used to check all options in a Check Box control.

The default text is "Check all".

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

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

Concerned element: Column of a Table field
aafColumnAddCountModifies the text of the context menu used 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, ...)".

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

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

Concerned element: Column of a Table field
aafColumnSelectionModifies 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
aafCompareDateRangePvtModifies the text of the context menu used 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 field, Image field, Table field or Hierarchical Table field.
aafCopyAllModifies 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".

Element concerned: List Box control or Table field
aafCopyCellModifies the text of the context menu used 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 hierarchical TreeView Table control field.
aafCopyColumnModifies the text of the context menu used to copy the column in a Table control. The default text is "Copy the column".

Affected element: Table field or hierarchical TreeView Table control field.
aafCopyFormModifies the text of the context menu used 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 Hierarchical TreeView Table control.
aafCustomizeUIModifies the text of the context menu option allowing the end user to customize the interface.

The default text is "Customize interface".

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

Affected element: Table field or hierarchical TreeView Table control field.
aafDashEditModeModifies 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
aafDeactivateWindowAnimationModifies the text of the context menu used to disable window animations.

The default text is "Disable window animations".

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

The default text is "Show evolutions".

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

The default text is "Display on several lines".

Item concerned: Table field
aafDisplayPercentageEvolutionPvtModifies 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
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.

The default text is "Disable image preview".

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

Element concerned: all field types.
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.

The default text is "Expand/Collapse all".
Applies to:
  • 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.

The default text is "Browse".

Concerned element: Edit control field
aafFilterModifies 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
aafFreezeColumnLeftModifies 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
aafGanttAddDependencyModifies the text of the context menu used 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 TreeView Table control field.
aafGanttAddTaskModifies the text of the context menu used 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 TreeView Table control field.
aafGanttDeleteTaskModifies the text of the context menu used 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 TreeView Table control field.
aafGanttEditTaskModifies the text of the context menu used 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 TreeView Table control field.
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.

The default text is "Go to line".

Item concerned: Multiline Edit control field
aafHistoryHFLogModifies text of the context menu used 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
aafHistoryInputModifies the text of the context menu used to manage input history.

The default text is "Remember input history".

Elements involved: Edit control, combo with input
aafImageEditModeModifies the text of the context menu used to edit the image displayed in the Image control.

The default text is "Edit image".

Related element: Image field
aafInternetSearchModifies 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
aafOgiAddAptModifies the text of the context menu used to add a new appointment into an Organizer control.

The default text is "New appointment".

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

The default text is "Delete appointment".

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

The default text is "Edit appointment".

Affected element: Organizer control
aafOpenModifies 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
aafOpenLocationModifies 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
aafOpenWithModifies 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.
aafPrintFileModifies the text of the context menu used to print a file.

The default text is "Print".

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

The default text is "Print".

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

The default text is "Print".

Affected element: Pivot Table control field
aafPrintReportOnTableModifies the text of the context menu used 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
aafPrintScheduleModifies the text of the context menu used to print the content of Scheduler controls.

The default text is "Print".

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

The default text is "Print".

Item concerned: Spreadsheet control field
aafPvtEditMode (Constant)Modifies 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
aafPvtReverseRowColumnModifies 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 field or hierarchical table
aafRTFToolbarModifies the text of the context menu used to display the RTF toolbar of RTF edit controls.

The default text is "RTF toolbar".

Affected element: RTF edit control
aafSaveAsModifies the text of the context menu used 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
aafSaveBreakStatusModifies the text of the context menu option used to store the status of breaks.

The default text is "Remember break states".

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

The default text is "Remember sorts".

Item concerned: Table field
aafSchAddAptModifies 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
aafSchDeleteAptModifies 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
aafSendFileByEmailModifies the text of the context menu used 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.
aafSortListOrComboModifies 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.
aafSpellCheckModifies the text of the context menu used to open the Word spelling checker in an Edit control.

The default text is "Spell check".

Concerned element: Edit control field
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).

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

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
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).

The default text is "Export table to Word".

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
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.

The default text is "Export table to XML".

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafTabNewModifies 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
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.

The default text is "Today"..

Affected element: Edit control type Date
aafUncheckAllModifies 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
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.
    The default text is "Cancel zoom".
    Affected element: Table field, Hierarchical Table, Crosstab, Spreadsheet or List.
  • cancel the zoom in a window.
    Component concerned: Window.
<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: 09/21/2024

Send a report | Local help