PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Running an automatic feature
  • Deleting AAFs
  • Equivalence
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
Disables an Automatic Application Feature (AAF) on a control, window or on the current application.
The export to Excel can be disabled for a Table control for example. The corresponding context menu option is automatically deleted.
Example
WINDEV
// Click the Cancel Button control
// => the values typed by the user will not be saved
AAFDisable(MyWindow, aafSaveValue)
Close()
WINDEV
// 'Restore the default parameters' menu option
DeleteParameter()
AAFDisable(MyWindow, aafSaveSizeAndPosition)
AAFDisable(MyWindow, aafSaveValue)
Use(WIN_MainWindow)
WINDEV
// -- Project initialization
// Disables the ability to select the columns to display
// for all the application tables
AAFDisable(aafColumnSelection)
Syntax
AAFDisable([<Control or window>, ] <Feature to disable>)
<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 disable>: Integer constant
Automatic feature to disable. 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.
aaf1stFocusControlDisables the context menu used to set the initial focus to the edit control.

Affected element: Edit control
aafAddShortcutDisables the context menu used to manage custom keyboard shortcuts.

AndroidiPhone/iPad This constant is not available.

Affected element: Button control
aafAdjustAllColumnsDisables the context menu that allows users to automatically adjust all columns.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafAutomaticCalculationTableDisables the context menu for displaying automatic calculations on Table control columns.

AndroidiPhone/iPad This constant is not available.

Affected element: Table or TreeView Table control
aafAutomaticTotalsDisables automatic calculations in numeric columns of a Table control.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafAutomaticValidationDisables the option to set a timer on a button.

AndroidiPhone/iPad This constant is not available.

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

AndroidiPhone/iPad This constant is not available.

Affected element: Numeric or Currency edit control
aafCalendarDisables 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: Date edit control
aafChangeBackgroundColorDisables 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 control, TreeView Table control and Pivot Table control
aafChartDisables the display of an automatic chart in a Table control.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafChartMenuDisables the context menu of Chart controls displayed via the AAF mechanism.

AndroidiPhone/iPad This constant is not available.

Affected element: Chart control
aafCheckAllDisables 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 or TreeView Table control
aafCheckBoxCheckAllDisables the context menu options used to check or uncheck all the options in a Check Box control.

AndroidiPhone/iPad This constant is not available.

Affected element: Check Box control
aafColumnSelectionDisables the column selection on a Table control to display.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafCompareDateRangePvtDisables the context menu used to compare different periods in the Pivot Table control.

AndroidiPhone/iPad This constant is not available.

Affected element: Pivot Table control
aafCopyDisables the context menu used to:
  • copy the row of a List Box control.
  • copy the row and the column of a Table control. Affected element: List Box control or Table control.


AndroidiPhone/iPad This constant is not available.
aafCopyAllDisables the context menu used to copy all rows found in a List Box or Table control to the clipboard ("Copy all" option).

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

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafCustomizeUIDisables the context menu option allowing the end user to customize the interface.

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafDashEditModeDisables the option to switch to edit mode:
  • WINDEV via the context menu in a Dashboard control.
  • AndroidiPhone/iPad via a long press.

Affected element: Dashboard control
aafDashEditModeDisables the option to switch to edit mode:
  • WINDEV via the context menu in a Dashboard control.
  • AndroidiPhone/iPad via a long press.

Affected element: Dashboard control

Affected element: Pivot Table control
aafDeactivateWindowAnimationDisables the context menu option used to disable window animations.

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafDiscoverAAFDisables the toast used to inform the user about AAFs (Automatic Application Features).

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafDisplayOnSeveralLinesDisables the context menu used to display the content of a column of a Table control on several rows. This context menu is disabled for all columns in the Table control.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control
aafDisplayPasswordDeletes the password reveal icon.

Affected element: Edit control
aafDisplayThumbnailDisables 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: File path Edit control
aafExpandCollapseAllDisables 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.

Affected element:
  • TreeView Table control,
  • TreeView control.
aafFileSelectionDisables the "Browse" option in the context menu displayed in File and File Path edit controls.

AndroidiPhone/iPad This constant is not available.

Affected element: Edit control
aafFilterDisables the context menu for automatic filters on magnifiers, in the column titles of a Table control.
Affected element: Table control.

AndroidiPhone/iPad This constant is not available.
aafFindDisables the use of the search on a multiline edit control.

AndroidiPhone/iPad This constant is not available.

Affected element: Multiline edit control
aafFindInComboDisables the search on a Combo Box control.
Caution: If the search in the Combo Box control has been enabled by the option "With search" available in the "Details" tab of the control description window, this constant is not taken into account.
AndroidiPhone/iPad This constant is not available.

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

Affected element: Table or TreeView Table control
aafGanttAddDependencyDisables 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 into a Table control or in a TreeView Table control.
aafGanttAddTaskDisables 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 into a Table control or in a TreeView Table control.
aafGanttDeleteTaskDisables 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 into a Table control or in a TreeView Table control.
aafGanttEditTaskDisables 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 into a Table control or in a TreeView Table control.
aafGotoLineDisables 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.

Affected element: Multiline edit control
aafHistoryHFLogDisables the history of HFSQL records on a control linked to a data file.

AndroidiPhone/iPad This constant is not available.

Affected element: Control linked to a data file
aafHistoryInputDisables input history.

AndroidiPhone/iPad This constant is not available.

Affected elements: Edit control, editable combo box
aafInternetSearchDisables the context menu option used to search the Internet.

AndroidiPhone/iPad This constant is not available.

Affected elements:
  • Edit control
  • Table control, TreeView Table control, Spreadsheet control and Pivot Table control
aafMagnifierOnTableNoInputNoSelectionUsed to keep the behavior of version 20 on the tables without edit not selection: the magnifier is not displayed in the column even if the "Magnifier" option is checked in the column description window.

Android This constant is not available.

Affected element: Table control
aafModifyInputValueWithWheelDisables the modification of the value in numeric edit controls with the mouse wheel.

AndroidiPhone/iPad This constant is not available.

Affected element: Numeric edit control
aafModifyProgressGanttTaskDisables 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 into a Table control or in a TreeView Table control.
aafOpenDisables the context menu option used to open a file.

AndroidiPhone/iPad This constant is not available.

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

AndroidiPhone/iPad This constant is not available.

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

AndroidiPhone/iPad This constant is not available.

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

AndroidiPhone/iPad This constant is not available.

Affected element: File path Edit control
aafPrintOrganizerDisables the context menu option used to print the content of Organizer control.

AndroidiPhone/iPad This constant is not available.

Affected element: Organizer control
aafPrintPvtDisables the context menu option to print the content of the Pivot Table control.

AndroidiPhone/iPad This constant is not available.

Affected element: Pivot Table control
aafPrintReportOnTableDisables 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 and TreeView Table control
aafPrintScheduleDisables the context menu option used to print the content of a Scheduler control.

AndroidiPhone/iPad This constant is not available.

Affected element: Scheduler control
aafPrintSpreadsheetDisables the context menu option used to print the content of the Spreadsheet control.

AndroidiPhone/iPad This constant is not available.

Affected element: Spreadsheet control
aafPvtCollapseAllDisables the option to collapse the entire content of the Pivot Table control.

Affected element: Pivot Table control
aafPvtExpandAllDisables the option to expand the entire content of the Pivot Table control.

Affected element: Pivot Table control
aafPvtRememberGroupDisables the option to save the configuration of groups.

Affected element: Pivot Table control
aafPvtRestoreGroupDisables the option to restore the initial configuration of groups.
aafQuestionMarkMenuDisables the context menu option corresponding to the "?" menu.

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafRateDDWDisables 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.
aafRemoveFilterDisables the "Remove filter" option in the context menu of columns in Table and TreeView Table controls with an active filter.

AndroidiPhone/iPad This constant is not available.

Affected element: Table and TreeView Table control
aafRepositionableNoteDisables the option to create repositionable notes.

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafResizeRowHeightDisables 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 control, TreeView Table control, Looper control
AndroidiPhone/iPad This constant is not available.
aafRTFToolbarDisables 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
  • Disables the context menu option used to save the content of Spreadsheet control in an xlsx file.
  • Disables the context menu option used to save the Dashboard control as an image.
AndroidiPhone/iPad This constant is not available.

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

AndroidiPhone/iPad This constant is not available.

Affected element: Table control, Looper control
aafSaveFilterAndSortDisables the menu options used to store filters and sorts in a Table control.
Affected element: Table control
AndroidiPhone/iPad This constant is not available.
aafSaveSizeAndPositionDisables size and position saving for windows and window controls (Splitter, Table, Toolbar control).

AndroidiPhone/iPad This constant is not available.

Affected element: Window
aafSaveValueDisables the feature that saves the values 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).
Affected elements: Window, Edit control, List Box control, Editable Combo Box control, Radio Button control or Check Box control
AndroidiPhone/iPad This constant is not available.
aafSchAutoScrollDisables the automatic scroll of scheduler when moving an appointment.

AndroidiPhone/iPad This constant is not available.

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

Affected element:
  • File Path edit control.
  • Organizer control.
  • Scheduler control.
aafSortListOrComboDisables 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 or Combo Box control.
aafSortTVTableKeepHierarchyChanges the sort method in the TreeView Table controls. By default, the sort on columns keeps the hierarchy: only the 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.
aafSpeechRecognitionDisables speech recognition.

AndroidiPhone/iPad This constant is not available.
aafSpellCheckDisables the use of Word spelling checker for an edit control.
Remark: This feature requires Word 2000 (or later) on the user computer. This feature does not operate with Word 97.

AndroidiPhone/iPad This constant is not available.

Affected element: Edit control
aafTableToExcelDisables 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 control, TreeView control, TreeView Table control, Looper control
aafTableToWordDisables 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 control, TreeView control, TreeView Table control, Looper control
aafTableToXMLDisables the export of Table control content or content selection to XML.

AndroidiPhone/iPad This constant is not available.

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafUncheckAllDisables 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 or TreeView Table control
aafZoom
  • Disables the option to zoom in a Table, Treeview table, Pivot Table, Spreadsheet or List Box control.
    Affected element: Table, TreeView Table, Pivot Table, Spreadsheet or List Box control.
  • Disables the option to zoom in a window.
    Affected element: Window.
AndroidiPhone/iPad This constant is not available.
Remarks

Running an automatic feature

To run an automatic feature, use AAFExecute.

Deleting AAFs

To delete the options that correspond to AAFs in the context menu of a control, use PopupMenu.

Equivalence

This function is equivalent to DisableAAF.
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