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
Re-enables an Automatic Application Feature (AAF) previously disabled by AAFDisable.
Example
// Click "Do not save" Button control
// => the values typed by the user will not be saved
AAFDisable(MyWindow, aafSaveValue)
// Click "Re-enable save" Button control
// => the values entered by the user will be saved
AAFEnable(MyWindow, aafSaveValue)
Syntax
AAFEnable([<Control or Window>, ] <Feature to re-enable>)
<Control or Window>: Optional control name or window name
Name of the control or window affected by the automatic feature. It is also possible to use a window alias name.
If this parameter is not specified, the automatic feature will be disabled for the entire application.
<Feature to re-enable>: Integer constant
Automatic action to re-enable. This action depends on the type of control used. The function has no effect if the type of control is not valid for the selected constant.
aafAddShortcutRe-enables the context menu used to manage custom keyboard shortcuts.
AndroidiPhone/iPad This constant is not available.

Affected element: Button field
aafAdjustAllColumnsRe-enables the context menu that allows users to make all columns of a Table control fit to the content.
AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafAutomaticCalculationTableRe-enables the context menu for displaying automatic calculations on Table control columns.
AndroidiPhone/iPad This constant is not available.

Item concerned: Table field or TreeView Table control field
aafAutomaticTotalsRe-enables automatic calculations in numeric columns of a Table control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafAutomaticValidationRe-enables the option to set a timer on a button.
AndroidiPhone/iPad This constant is not available.

Affected element: Button control.
aafCalculatorRe-enables the context menu used to display a popup calculator to perform calculations.
AndroidiPhone/iPad This constant is not available.

Affected element: Numerical or Monetary input field
aafCalendarRe-enables the context menu used to display a popup calendar in order to select a date in a Date edit control.
AndroidiPhone/iPad This constant is not available.

Affected element: Edit control type Date
aafChangeBackgroundColorRe-enables the context menu used to change the background color of a row, column or cell in a control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table field, Hierarchical Table and Crosstab
aafChartRe-enables the display of an automatic chart in a Table control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafChartMenuRe-enables the context menu of Chart controls displayed via the AAF mechanism.
AndroidiPhone/iPad This constant is not available.

Item concerned: Chart control field
aafCheckAllRe-enables the context menu used to check/uncheck all rows in a Check Box column of a Table control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table field or TreeView Table control field
aafCheckBoxCheckAllRe-enables the context menu options used to check or uncheck all the options in a Check Box control.
AndroidiPhone/iPad This constant is not available.

Item concerned: Check Box control field
aafColumnSelectionRe-enables the column selection on a Table control to display.
AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafCompareDateRangePvtRe-enables the context menu used to compare different periods in the Pivot Table control.
AndroidiPhone/iPad This constant is not available.

Item concerned: Pivot table field
aafCopyRe-enables the context menu used to:
  • copy the row of a List Box control.
  • copy the row and the column of a Table control.
Element concerned: List Box control or Table control.
AndroidiPhone/iPad This constant is not available.
aafCopyAllRe-enables the context menu used to copy all the rows of a List Box or Table control to the clipboard ("Copy all").

Affected element: List Box control or Table control
AndroidiPhone/iPad This constant is not available.
aafCopyFormRe-enables the context menu used to copy the current form
AndroidiPhone/iPad This constant is not available.

Component concerned: Window
aafCustomizeUIRe-enables the context menu option allowing the end user to customize the interface.
AndroidiPhone/iPad This constant is not available.

Component concerned: Window
aafDashEditModeRe-enables the option to switch to edit mode:
  • WINDEV via the context menu in a Dashboard control.
  • AndroidiPhone/iPad via a long press.

Item concerned: Dashboard control field
aafDeactivateWindowAnimationRe-enables the context menu option used to disable window animations.
AndroidiPhone/iPad This constant is not available.

Component concerned: Window
aafDisplayOnSeveralLinesRe-enables the context menu to display the content of a column of a Table control on several rows. This context menu is re-enabled for all columns in the Table control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafDisplayPasswordRe-displays the password reveal icon.
Concerned element: Edit control field
aafDisplayThumbnailRe-enables the display of a thumbnail of an image or PDF file whose path has been entered in an edit control.
AndroidiPhone/iPad This constant is not available.

Affected element: Edit control file path input field
aafEditTooltipRe-enables the context menu option used to edit the tooltip of the control.
AndroidiPhone/iPad This constant is not available.

Element concerned: all field types.
aafExpandCollapseAllRe-enables the option used to expand or collapse all elements in a TreeView Table control or in a branch of a TreeView Table control.
AndroidiPhone/iPad This constant is not available.

Applies to:
  • TreeView Table control,
  • TreeView control.
aafFileSelectionRe-enables the "Browse" option in the context menu displayed in File and File Path edit controls.
AndroidiPhone/iPad This constant is not available.

Concerned element: Edit control field
aafFilterRe-enables the context menu for automatic filtering on magnifiers, in the columns titles of a Table control.
Affected element: Table control.
AndroidiPhone/iPad This constant is not available.
aafFindRe-enables the use of the search on a multiline edit control.
AndroidiPhone/iPad This constant is not available.

Item concerned: Multiline Edit control field
aafFindInComboRe-enables the search on a Combo Box control.
Warning: If the search in the Combo Box control has been activated by the "With search" option available in the "Detail" tab of the field description window, this constant is not taken into account..
AndroidiPhone/iPad This constant is not available.

Affected element: Combo Box control
aafFreezeColumnLeftRe-enables the context menu that allows users to lock columns in a Table control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table field or TreeView Table control field
aafGanttAddDependencyRe-enables the context menu used to add and delete a dependency link between two tasks in a Gantt Chart column.
AndroidiPhone/iPad This constant is not available.

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGanttAddTaskRe-enables the context menu used to add a task into a Gantt Chart column.
AndroidiPhone/iPad This constant is not available.

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGanttDeleteTaskRe-enables the context menu used to delete a task from a Gantt Chart column.
AndroidiPhone/iPad This constant is not available.

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGanttEditTaskRe-enables the context menu used to edit a task in a Gantt Chart column.
AndroidiPhone/iPad This constant is not available.

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafGotoLineRe-enables the context menu used to display a window for entering the number of the line to reach in a multiline edit control.
AndroidiPhone/iPad This constant is not available.

Item concerned: Multiline Edit control field
aafHistoryHFLogRe-enables the history of HFSQL records of a control linked to a data file.
AndroidiPhone/iPad This constant is not available.

Item concerned: Field linked to a data file
aafHistoryInputRe-enables input history.
AndroidiPhone/iPad This constant is not available.

Elements involved: Edit control, combo with input
aafInternetSearchRe-enables the context menu option used to perform a search on the Internet.
AndroidiPhone/iPad This constant is not available.

Affected elements:
  • Edit control
  • Table control, TreeView Table control, Spreadsheet control and Pivot Table control
aafMagnifierOnTableNoInputNoSelectionMaintains version 20 behavior on Table fields without input or selection: the magnifying glass does not appear in the column even if the "Magnifying glass" option is checked in the column description window..
Android This constant is not available.

Affected element: Table control
aafModifyInputValueWithWheelRe-enables the ability to change values in Edit controls (numeric, currency, date, time, duration, etc.) using the mouse wheel.
AndroidiPhone/iPad This constant is not available.

Concerned element: Numerical, monetary, date, time, duration edit control.
aafModifyProgressGanttTaskRe-enables the modification of the progress value of a task in a Gantt Chart column.
AndroidiPhone/iPad This constant is not available.

Affected element: Gantt Chart column in a Table field or a hierarchical Table field.
aafOpenRe-enables the context menu option used to open a file.
AndroidiPhone/iPad This constant is not available.

Affected element: Edit control file path input field
aafOpenLocationRe-enables the context menu option used to open the directory containing the file.
AndroidiPhone/iPad This constant is not available.

Affected element: Edit control file path input field
aafOpenWithRe-enables the context menu option used to open a file by selecting the software.
AndroidiPhone/iPad This constant is not available.

Affected element: Edit control file path input field
aafPDFDeleteCurrentPageRe-enables the context menu option that allows users to delete the current page in a PDF Reader control.
AndroidiPhone/iPad This constant is not available.

Affected element: PDF Reader control field.
aafPrintFileRe-enables the context menu option used to print a file.
AndroidiPhone/iPad This constant is not available.

Affected element: Edit control file path input field
aafPrintOrganizerRe-enables the context menu option used to print the content of an Organizer control.
AndroidiPhone/iPad This constant is not available.

Affected element: Organizer control field
aafPrintPvtRe-enables the context menu option used to print the content of a Pivot Table control.
AndroidiPhone/iPad This constant is not available.

Item concerned: Pivot table field
aafPrintReportOnTableRe-enables the "Print" option in the context menu of Table and TreeView Table controls.
This constant also disables the "Print" option in the context menu of Gantt Chart columns.
AndroidiPhone/iPad This constant is not available.

Affected element: Table field and hierarchical Table
aafPrintScheduleRe-enables the context menu option used to print the content of a Scheduler control.
AndroidiPhone/iPad This constant is not available.

Affected element: Scheduler control field
aafPrintSpreadsheetRe-enables the context menu option used to print the content of a Spreadsheet control.
AndroidiPhone/iPad This constant is not available.

Item concerned: Spreadsheet control field
aafPvtCollapseAllRe-enables the option to collapse the entire content of the Pivot Table control.

Item concerned: Pivot table field
aafPvtExpandAllRe-enables the option to expand the entire content of the Pivot Table control.

Item concerned: Pivot table field
aafPvtRememberGroupRe-enables the option to save the configuration of groups.

Item concerned: Pivot table field
aafPvtRestoreGroupRe-enables the option to restore the initial configuration of groups.

Item concerned: Pivot table field
aafQuestionMarkMenuRe-enables the context menu option corresponding to the "?" menu.
AndroidiPhone/iPad This constant is not available.

Component concerned: Window
aafRateDDWRe-enables the option to modify the DDW (Dimmed Disabled Window) dim rate). The corresponding menu options and the shortcuts (Ctrl + Alt + [+] or Ctrl + Alt [-]) cannot be used anymore.
AndroidiPhone/iPad This constant is not available.
aafRepositionableNoteRe-enables the ability to create repositionable notes.
AndroidiPhone/iPad This constant is not available.

Component concerned: Window
aafResizeRowHeightRe-enables the option for the user to resize the rows vertically. This option must have been enabled in the description of the Table control.
Affected element: Table field, Hierarchical Table field, RepeatString field
AndroidiPhone/iPad This constant is not available.
aafRTFToolbarRe-enables the context menu used to display the RTF toolbar of RTF edit controls.
AndroidiPhone/iPad This constant is not available.

Affected element: RTF edit control
aafSaveAs
  • Re-enables the context menu option used to save the Spreadsheet control content in an xlsx file.
  • Re-enables the context menu option used to save the Dashboard control as an image.
AndroidiPhone/iPad This constant is not available.

Applies to:
  • Spreadsheet control
  • Dashboard control
aafSaveBreakStatusRe-enables the context menu option used to save the status of breaks.
AndroidiPhone/iPad This constant is not available.

Affected element: Table control field, RepeatString field
aafSaveFilterAndSortRe-enables the menu options used to save filters and sorts in a Table control.
Affected element: Table control
AndroidiPhone/iPad This constant is not available.
aafSaveSizeAndPositionRe-enables size and position saving for windows and window controls (Splitter, Table, Toolbar control).
AndroidiPhone/iPad This constant is not available.

Component concerned: Window
aafSaveValueRe-enables value saving of persistent controls in the window. This AAF can be disabled for a control or a window (in this case, the option is deleted from the context menus of all window controls).
Elements involved: Window, Edit control, List control, Combo Box control with input, Radio Button control or Check Box control.
AndroidiPhone/iPad This constant is not available.
aafSchAutoScrollRe-enables the automatic scroll of the schedule when an appointment is moved.
AndroidiPhone/iPad This constant is not available.

Affected element: Scheduler control field
aafSendFileByEmailRe-enables the context menu option 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.
AndroidiPhone/iPad This constant is not available.

Applies to:
  • File path Edit control.
  • Organizer control.
  • Scheduler control.
aafSortListOrComboRe-enables the context menu option used to sort the content of a List Box or Combo Box control.
AndroidiPhone/iPad This constant is not available.

Affected element: List Box control or Combo Box control.
aafSortTVTableKeepHierarchyChanges the sort method in the TreeView Table controls. By default, sorting on columns preserves the hierarchy: only leaves are sorted..
This constant is used to changer this behavior and to sort the nodes and leaves level by level.
Android This constant is not available.

Affected element: TreeView Table control field.
aafSpeechRecognitionRe-enables speech recognition.
AndroidiPhone/iPad This constant is not available.
aafSpellCheckRe-enables the use of Word spelling checker on a edit control.
Note: This feature requires Word 2000 at least on the user's workstation.. This feature does not work with Word 97.
AndroidiPhone/iPad This constant is not available.

Concerned element: Edit control field
aafTableToExcelRe-enables the export of Table control content or content selection to Excel or to OpenOffice Calc (depending on the software installed on the user's computer).
AndroidiPhone/iPad This constant is not available.

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafTableToWordRe-enables the export of Table control content or content selection to Word or to OpenOffice Writer (depending on the software installed on the user's computer).
AndroidiPhone/iPad This constant is not available.

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafTableToXMLRe-enable the export of Table control content or content selection to XML.
AndroidiPhone/iPad This constant is not available.

Affected element: Table field, TreeView field, Hierarchical Table field, RepeatString field
aafUncheckAllRe-enables the context menu used to check/uncheck all rows in a Check Box column of a Table control.
AndroidiPhone/iPad This constant is not available.

Affected element: Table field or TreeView Table control field
aafZoom
  • Re-enables the option to zoom in a Table, Treeview table, Pivot Table, Spreadsheet or List Box control.
    Element concerned: Table field, Hierarchical table, Crosstab, Spreadsheet or List.
  • Re-enables the option to zoom in a window.
    Component concerned: Window.
AndroidiPhone/iPad This constant is not available.
New in version 2025
faaPasteAllLine
Reactivates the context menu for pasting a line from another Table control into a Table control.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control
Component: wd300obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/05/2025

Send a report | Local help