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
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.
Versions 26 and later
aaf1stFocusControl
New in version 26
aaf1stFocusControl
aaf1stFocusControl
Disables 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.


Affected element: Button control
Versions 27 and later
aafAdjustAllColumns
New in version 27
aafAdjustAllColumns
aafAdjustAllColumns
Disables the context menu that allows users to automatically adjust all columns.


Affected element: Table control
Versions 24 and later
aafAutomaticCalculationTable
New in version 24
aafAutomaticCalculationTable
aafAutomaticCalculationTable
Disables the context menu for displaying automatic calculations on Table control columns.


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


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


Affected element: Button control.
Versions 17 and later
aafCalculator
New in version 17
aafCalculator
aafCalculator
Disables the context menu used to display a popup calculator to perform calculations.


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.


Affected element: Date edit control
Versions 20 and later
aafChangeBackgroundColor
New in version 20
aafChangeBackgroundColor
aafChangeBackgroundColor
Disables the context menu used to change the background color of a row, column or cell in a control.


Affected element: Table control, TreeView Table control and Pivot Table control
aafChartDisables the display of an automatic chart in a Table control.


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


Affected element: Chart control
Versions 22 and later
aafCheckAll
New in version 22
aafCheckAll
aafCheckAll
Disables the context menu used to check/uncheck all rows in a Check Box column of a Table control.


Affected element: Table or TreeView Table control
Versions 20 and later
aafCheckBoxCheckAll
New in version 20
aafCheckBoxCheckAll
aafCheckBoxCheckAll
Disables the context menu options used to check or uncheck all the options in a Check Box control.


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


Affected element: Table control
Versions 22 and later
aafCompareDateRangePvt
New in version 22
aafCompareDateRangePvt
aafCompareDateRangePvt
Disables the context menu used to compare different periods in the Pivot Table control.


Affected element: Pivot Table control
Versions 20 and later
aafCopy
New in version 20
aafCopy
aafCopy
Disables 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.


Versions 20 and later
aafCopyAll
New in version 20
aafCopyAll
aafCopyAll
Disables 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
Versions 15 and later
aafCopyForm
New in version 15
aafCopyForm
aafCopyForm
Disables the context menu used to copy the current form.


Affected element: Window
Versions 25 and later
aafCustomizeUI
New in version 25
aafCustomizeUI
aafCustomizeUI
Disables the context menu option allowing the end user to customize the interface.

Remark: Corresponds to the aafCustomizeUI constant in earlier versions.
Affected element: Window
Versions 19 and later
aafDashEditMode
New in version 19
aafDashEditMode
aafDashEditMode
Disables the option to switch to edit mode:

    Affected element: Dashboard control
    Versions 19 and later
    aafDashEditMode
    New in version 19
    aafDashEditMode
    aafDashEditMode
    Disables the option to switch to edit mode:

      Affected element: Dashboard control

      Affected element: Pivot Table control
      Versions 19 and later
      aafDeactivateWindowAnimation
      New in version 19
      aafDeactivateWindowAnimation
      aafDeactivateWindowAnimation
      Disables the context menu option used to disable window animations.


      Affected element: Window
      Versions 25 and later
      aafDiscoverAAF
      New in version 25
      aafDiscoverAAF
      aafDiscoverAAF
      Disables the toast used to inform the user about AAFs (Automatic Application Features).


      Affected element: Window
      Versions 18 and later
      aafDisplayOnSeveralLines
      New in version 18
      aafDisplayOnSeveralLines
      aafDisplayOnSeveralLines
      Disables 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.


      Affected element: Table control
      Versions 18 and later
      aafDisplayPassword
      New in version 18
      aafDisplayPassword
      aafDisplayPassword
      Deletes the password reveal icon.

      Affected element: Edit control
      Versions 17 and later
      aafDisplayThumbnail
      New in version 17
      aafDisplayThumbnail
      aafDisplayThumbnail
      Disables the display of a thumbnail of an image or PDF file whose path has been entered in an edit control.


      Affected element: File path Edit control
      Versions 19 and later
      aafExpandCollapseAll
      New in version 19
      aafExpandCollapseAll
      aafExpandCollapseAll
      Disables the option used to expand or collapse all elements in a TreeView Table control or in a branch of a TreeView Table control.


      Affected element:
      • TreeView Table control,
      • TreeView control.
      Versions 20 and later
      aafFileSelection
      New in version 20
      aafFileSelection
      aafFileSelection
      Disables the "Browse" option in the context menu displayed in File and File Path edit controls.


      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.

      aafFindDisables the use of the search on a multiline edit control.


      Affected element: Multiline edit control
      Versions 23 and later
      aafFindInCombo
      New in version 23
      aafFindInCombo
      aafFindInCombo
      Disables 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.

      Affected element: Combo Box control
      Versions 27 and later
      aafFreezeColumnLeft
      New in version 27
      aafFreezeColumnLeft
      aafFreezeColumnLeft
      Disables the context menu that allows users to lock columns in a Table control.

      Affected element: Table or TreeView Table control
      Versions 19 and later
      aafGanttAddDependency
      New in version 19
      aafGanttAddDependency
      aafGanttAddDependency
      Disables the context menu used to add and delete a dependency link between two tasks in a Gantt Chart column.


      Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
      Versions 19 and later
      aafGanttAddTask
      New in version 19
      aafGanttAddTask
      aafGanttAddTask
      Disables the context menu used to add a task into a Gantt Chart column.


      Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
      Versions 19 and later
      aafGanttDeleteTask
      New in version 19
      aafGanttDeleteTask
      aafGanttDeleteTask
      Disables the context menu used to delete a task from a Gantt Chart column.


      Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
      Versions 19 and later
      aafGanttEditTask
      New in version 19
      aafGanttEditTask
      aafGanttEditTask
      Disables the context menu used to edit a task in a Gantt Chart column.


      Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
      Versions 15 and later
      aafGotoLine
      New in version 15
      aafGotoLine
      aafGotoLine
      Disables the context menu used to display a window for entering the number of the line to reach in a multiline edit control.


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


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


      Affected elements: Edit control, editable combo box
      Versions 19 and later
      aafInternetSearch
      New in version 19
      aafInternetSearch
      aafInternetSearch
      Disables the context menu option used to search the Internet.


      Affected elements:
      • Edit control
      • Versions 23 and later
        Table control, TreeView Table control, Spreadsheet control and Pivot Table control
        New in version 23
        Table control, TreeView Table control, Spreadsheet control and Pivot Table control
        Table control, TreeView Table control, Spreadsheet control and Pivot Table control
      Versions 23 and later
      aafMagnifierOnTableNoInputNoSelection
      New in version 23
      aafMagnifierOnTableNoInputNoSelection
      aafMagnifierOnTableNoInputNoSelection
      Used 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.


      Affected element: Table control
      Versions 17 and later
      aafModifyInputValueWithWheel
      New in version 17
      aafModifyInputValueWithWheel
      aafModifyInputValueWithWheel
      Disables the modification of the value in numeric edit controls with the mouse wheel.


      Affected element: Numeric edit control
      Versions 19 and later
      aafModifyProgressGanttTask
      New in version 19
      aafModifyProgressGanttTask
      aafModifyProgressGanttTask
      Disables the modification of the progress value of a task in a Gantt Chart column.


      Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
      Versions 17 and later
      aafOpen
      New in version 17
      aafOpen
      aafOpen
      Disables the context menu option used to open a file.


      Affected element: File path Edit control
      Versions 17 and later
      aafOpenLocation
      New in version 17
      aafOpenLocation
      aafOpenLocation
      Disables the context menu option used to open the directory containing the file.


      Affected element: File path Edit control
      Versions 17 and later
      aafOpenWith
      New in version 17
      aafOpenWith
      aafOpenWith
      Disables the context menu option used to open a file by selecting the software.


      Affected element: File path Edit control
      Versions 27 and later
      aafPDFDeleteCurrentPage
      New in version 27
      aafPDFDeleteCurrentPage
      aafPDFDeleteCurrentPage
      Disables the context menu option that allows users to delete the current page in a PDF Reader control.


      Affected element: PDF Reader control.
      Versions 17 and later
      aafPrintFile
      New in version 17
      aafPrintFile
      aafPrintFile
      Disables the context menu option used to print a file.


      Affected element: File path Edit control
      Versions 17 and later
      aafPrintOrganizer
      New in version 17
      aafPrintOrganizer
      aafPrintOrganizer
      Disables the context menu option used to print the content of Organizer control.


      Affected element: Organizer control
      Versions 21 and later
      aafPrintPvt
      New in version 21
      aafPrintPvt
      aafPrintPvt
      Disables the context menu option to print the content of the Pivot Table control.


      Affected element: Pivot Table control
      aafPrintReportOnTableDisables the "Print" option in the context menu of Table and TreeView Table controls.
      Versions 19 and later
      This constant also disables the "Print" option in the context menu of Gantt Chart columns.
      New in version 19
      This constant also disables the "Print" option in the context menu of Gantt Chart columns.
      This constant also disables the "Print" option in the context menu of Gantt Chart columns.

      Affected element: Table and TreeView Table control
      Versions 17 and later
      aafPrintSchedule
      New in version 17
      aafPrintSchedule
      aafPrintSchedule
      Disables the context menu option used to print the content of a Scheduler control.


      Affected element: Scheduler control
      Versions 21 and later
      aafPrintSpreadsheet
      New in version 21
      aafPrintSpreadsheet
      aafPrintSpreadsheet
      Disables the context menu option used to print the content of the Spreadsheet control.


      Affected element: Spreadsheet control
      Versions 27 and later
      aafPvtCollapseAll
      New in version 27
      aafPvtCollapseAll
      aafPvtCollapseAll
      Disables the option to collapse the entire content of the Pivot Table control.

      Affected element: Pivot Table control
      Versions 27 and later
      aafPvtExpandAll
      New in version 27
      aafPvtExpandAll
      aafPvtExpandAll
      Disables the option to expand the entire content of the Pivot Table control.

      Affected element: Pivot Table control
      Versions 27 and later
      aafPvtRememberGroup
      New in version 27
      aafPvtRememberGroup
      aafPvtRememberGroup
      Disables the option to save the configuration of groups.

      Affected element: Pivot Table control
      Versions 27 and later
      aafPvtRestoreGroup
      New in version 27
      aafPvtRestoreGroup
      aafPvtRestoreGroup
      Disables the option to restore the initial configuration of groups.
      aafQuestionMarkMenuDisables the context menu option corresponding to the "?" menu.


      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.

      Versions 25 and later
      aafRemoveFilter
      New in version 25
      aafRemoveFilter
      aafRemoveFilter
      Disables the "Remove filter" option in the context menu of columns in Table and TreeView Table controls with an active filter.


      Affected element: Table and TreeView Table control
      Versions 21 and later
      aafRepositionableNote
      New in version 21
      aafRepositionableNote
      aafRepositionableNote
      Disables the option to create repositionable notes.


      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
      aafRTFToolbarDisables the context menu used to display the RTF toolbar of RTF Edit controls.


      Affected element: RTF edit control
      Versions 20 and later
      aafSaveAs
      New in version 20
      aafSaveAs
      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.

      Affected element:
      • Spreadsheet control
      • Dashboard control
      Versions 20 and later
      aafSaveBreakStatus
      New in version 20
      aafSaveBreakStatus
      aafSaveBreakStatus
      Disables the context menu option used to store the status of breaks.


      Affected element: Table control, Looper control
      Versions 19 and later
      aafSaveFilterAndSort
      New in version 19
      aafSaveFilterAndSort
      aafSaveFilterAndSort
      Disables the menu options used to store filters and sorts in a Table control.
      Affected element: Table control
      aafSaveSizeAndPositionDisables size and position saving for windows and window controls (Splitter, Table, Toolbar control).


      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
      Versions 22 and later
      aafSchAutoScroll
      New in version 22
      aafSchAutoScroll
      aafSchAutoScroll
      Disables the automatic scroll of scheduler when moving an appointment.


      Affected element: Scheduler control
      Versions 17 and later
      aafSendFileByEmail
      New in version 17
      aafSendFileByEmail
      aafSendFileByEmail
      Disables 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.
      • Versions 18 and later
        the Organizer.pdf file that represents the printed version of the Organizer control.
        New in version 18
        the Organizer.pdf file that represents the printed version of the Organizer control.
        the Organizer.pdf file that represents the printed version of the Organizer control.
      • Versions 18 and later
        the Scheduler.pdf file that represents the printed version of the Scheduler control.
        New in version 18
        the Scheduler.pdf file that represents the printed version of the Scheduler control.
        the Scheduler.pdf file that represents the printed version of the Scheduler control.

      Affected element:
      • File Path edit control.
      • Versions 18 and later
        Organizer control.
        New in version 18
        Organizer control.
        Organizer control.
      • Versions 18 and later
        Scheduler control.
        New in version 18
        Scheduler control.
        Scheduler control.
      Versions 15 and later
      aafSortListOrCombo
      New in version 15
      aafSortListOrCombo
      aafSortListOrCombo
      Disables the context menu option used to sort the content of a List Box or Combo Box control.


      Affected element: List Box or Combo Box control.
      Versions 23 and later
      aafSortTVTableKeepHierarchy
      New in version 23
      aafSortTVTableKeepHierarchy
      aafSortTVTableKeepHierarchy
      Changes 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.


      Affected element: TreeView Table control.
      aafSpeechRecognitionDisables speech recognition.

      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.


      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).


      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).


      Affected element: Table control, TreeView control, TreeView Table control, Looper control
      aafTableToXMLDisables the export of Table control content or content selection to XML.


      Affected element: Table control, TreeView control, TreeView Table control, Looper control
      Versions 22 and later
      aafUncheckAll
      New in version 22
      aafUncheckAll
      aafUncheckAll
      Disables the context menu used to check/uncheck all rows in a Check Box column of a Table control.


      Affected element: Table or TreeView Table control
      Versions 20 and later
      aafZoom
      New in version 20
      aafZoom
      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.
      • Versions 21 and later
        Disables the option to zoom in a window.
        Affected element: Window.
        New in version 21
        Disables the option to zoom in a window.
        Affected element: Window.
        Disables the option to zoom in a window.
        Affected element: Window.
      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: wd270obj.dll
      Minimum version required
      • Version 21
      This page is also available for…
      Comments
      Click [Add] to post a comment