PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE


  • Running an automatic feature
  • Deleting AAFs
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Disables an Automatic Application Feature (AAF) on a control, on a window or on the current application.
The export to Excel can be disabled for a Table control for example. The option is automatically deleted from the corresponding popup menu.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 22 and later
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 22
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Note: This function is identical to AAFDisable.
Example
WINDEVWindows Mobile
// Click the Cancel button
// => the values typed by the user will not be saved
DisableAAF(MyWindow, aafSaveValue)
Close()
WINDEVWindows Mobile
// 'Restore the default parameters' menu option
DeleteParameter()
DisableAAF(MyWindow, aafSaveSizeAndPosition)
DisableAAF(MyWindow, aafSaveValue)
Use(WIN_MainWindow)
WINDEVWindows Mobile
// -- Project initialization
// Disables the ability to select the columns to display
// for all the application tables
DisableAAF(aafColumnSelection)
Syntax
DisableAAF([<Name of Control or Window> , ] <Feature to Disable>)
<Control or Window Name>: Optional character string (with or without quotes)
Name of control or window affected by the automatic feature. You also have the ability to use a name of window alias.
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 18 and later
aafDisplayPassword
New in version 18
aafDisplayPassword
aafDisplayPassword
Deletes the icon used to see the password typed.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Edit control
Versions 18 and later
aafDisplayOnSeveralLines
New in version 18
aafDisplayOnSeveralLines
aafDisplayOnSeveralLines
Disables the popup menu used to display the content of a column found in a Table control on several lines. This popup menu is disabled for all columns found in the Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control
Versions 17 and later
aafDisplayThumbnail
New in version 17
aafDisplayThumbnail
aafDisplayThumbnail
Disables the display of thumbnail for an image or for a PDF file whose path was typed in an edit control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: File Path edit control
aafAddShortcutDisables the popup menu used to manage the custom keyboard shortcuts.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Button control
Versions 15 and later
aafGotoLine
New in version 15
aafGotoLine
aafGotoLine
Disables the popup menu used to display a window for typing the number of the line to reach in a multiline edit control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Multiline edit control
aafRTFToolbarDisables the popup menu used to display the RTF toolbar of RTF edit controls.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: RTF edit control
Versions 17 and later
aafCalculator
New in version 17
aafCalculator
aafCalculator
Disables the popup menu used to display a popup calendar in order to perform calculations.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Numeric or Currency edit control
aafCalendarDisables the popup menu used to display a popup calendar in order to select a date in a Date edit control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Date edit control
Versions 20 and later
aafChangeBackgroundColor
New in version 20
aafChangeBackgroundColor
aafChangeBackgroundColor
Disables the popup menu used to change the background color of a row, column or cell found in a control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control, TreeView Table control and Pivot Table control
Versions 22 and later
aafCheckAll
New in version 22
aafCheckAll
aafCheckAll
Disables the popup menu used to check/uncheck all rows in a Check Box column of a Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control or TreeView Table control
Versions 22 and later
aafComparePeriodPvt
New in version 22
aafComparePeriodPvt
aafComparePeriodPvt
Disables the popup menu used to compare different periods in the Pivot Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Pivot Table control
Versions 15 and later
aafCopyForm
New in version 15
aafCopyForm
aafCopyForm
Disables the popup menu used to copy the current form
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Window
Versions 20 and later
aafCopy
New in version 20
aafCopy
aafCopy
Disables the popup 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.
aafSpellCheckDisables the use of Word spelling checker for an edit control.
Note: This feature requires Word 2000 (or later) on the user computer. This feature does not operate with Word 97.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Edit control
Versions 22 and later
aafUncheckAll
New in version 22
aafUncheckAll
aafUncheckAll
Disables the popup menu used to check/uncheck all rows in a Check Box column of a Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control or TreeView Table control
Versions 19 and later
aafExpandCollapseAll
New in version 19
aafExpandCollapseAll
aafExpandCollapseAll
Disables the option used to expand or collapse all elements found in a TreeView Table control or in a branch of a TreeView Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element:
  • TreeView Table control,
  • TreeView control.
Versions 19 and later
aafDeactivateWindowAnimation
New in version 19
aafDeactivateWindowAnimation
aafDeactivateWindowAnimation
Disables the popup menu option used to disable the animations of windows.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Window
Versions 20 and later
aafSaveAs
New in version 20
aafSaveAs
aafSaveAs
  • Disables the popup menu option used to save the content of Spreadsheet control in an xlsx file.
  • Disables the popup menu option used to save the content of Dashboard control in image format.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element:
  • Spreadsheet control
  • Dashboard control
Versions 17 and later
aafSendFileByEmail
New in version 17
aafSendFileByEmail
aafSendFileByEmail
Disables the popup 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 corresponding to the print of Organizer control.
    New in version 18
    the Organizer.pdf file corresponding to the print of Organizer control.
    the Organizer.pdf file corresponding to the print of Organizer control.
  • Versions 18 and later
    the Scheduler.pdf file corresponding to the print of Scheduler control.
    New in version 18
    the Scheduler.pdf file corresponding to the print of Scheduler control.
    the Scheduler.pdf file corresponding to the print of Scheduler control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

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.
aafFilterDisables the popup menu for automatic filtering on the magnifiers, in the titles of columns found in a Table control.
Affected element: Table control.
AndroidiPhone/iPad This constant is not available.
Versions 19 and later
aafGanttAddDependency
New in version 19
aafGanttAddDependency
aafGanttAddDependency
Disables the popup menu used to add and delete a dependency link between two tasks in a Gantt Chart column.
AndroidiPhone/iPadWindows Mobile This constant is not available.

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 popup menu used to add a task into a Gantt Chart column.
AndroidiPhone/iPadWindows Mobile This constant is not available.

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 popup menu used to edit a task in a Gantt Chart column.
AndroidiPhone/iPadWindows Mobile This constant is not available.

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 popup menu used to delete a task from a Gantt Chart column.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
aafChartDisables the display of an automatic chart in a Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control
aafHistoryHFLogDisables the history of HFSQL records on a control linked to a data file.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Control linked to a data file
aafHistoryInputDisables the history of inputs.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected elements: Edit control, editable combo box
aafPrintReportOnTableDisables the "Print" option found in the popup menu of Table and TreeView Table controls.
Versions 19 and later
This constant also disables the "Print" option found in the popup menu of Gantt Chart columns.
New in version 19
This constant also disables the "Print" option found in the popup menu of Gantt Chart columns.
This constant also disables the "Print" option found in the popup menu of Gantt Chart columns.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table and TreeView Table control
Versions 17 and later
aafPrintOrganizer
New in version 17
aafPrintOrganizer
aafPrintOrganizer
Disables the popup menu option used to print the content of Organizer control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Organizer control
Versions 17 and later
aafPrintFile
New in version 17
aafPrintFile
aafPrintFile
Disables the popup menu option used to print a file.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: File Path edit control
Versions 17 and later
aafPrintSchedule
New in version 17
aafPrintSchedule
aafPrintSchedule
Disables the popup menu option used to print the content of Scheduler control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Scheduler control
Versions 21 and later
aafPrintSpreadsheet
New in version 21
aafPrintSpreadsheet
aafPrintSpreadsheet
Disables the popup menu option used to print the content of Spreadsheet control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Spreadsheet control
Versions 21 and later
aafPrintPvt
New in version 21
aafPrintPvt
aafPrintPvt
Disables the popup menu option used to print the content of Pivot Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Pivot Table control
Versions 20 and later
aafCheckBoxCheckAll
New in version 20
aafCheckBoxCheckAll
aafCheckBoxCheckAll
Disables the popup menu options used to check or uncheck all options found in a Check Box control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Check Box 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 description window of column.
Android This constant is not available.

Affected element: Table control
aafChartMenuDisables the popup menu of Chart controls displayed via the AAF mechanism.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Chart control
aafQuestionMarkMenuDisables the popup menu option corresponding to the "?" menu.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Window
Versions 19 and later
aafModifyProgressGanttTask
New in version 19
aafModifyProgressGanttTask
aafModifyProgressGanttTask
Disables the ability to modify the progress value of a task in a Gantt Chart column.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Gantt Chart column into a Table control or in a TreeView Table control.
Versions 17 and later
aafModifyInputValueWithWheel
New in version 17
aafModifyInputValueWithWheel
aafModifyInputValueWithWheel
Disables the modification of value of numeric edit controls via the mouse wheel.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Numeric edit control
Versions 21 and later
aafRepositionableNote
New in version 21
aafRepositionableNote
aafRepositionableNote
Disables the ability to create repositionable notes.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Window
Versions 17 and later
aafOpen
New in version 17
aafOpen
aafOpen
Disables the popup menu option used to open a file.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: File Path edit control
Versions 17 and later
aafOpenWith
New in version 17
aafOpenWith
aafOpenWith
Disables the popup menu option used to open a file by selecting the software.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: File Path edit control
Versions 17 and later
aafOpenLocation
New in version 17
aafOpenLocation
aafOpenLocation
Disables the popup menu option used to open the directory containing the file.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: File Path edit control
Versions 21 and later
aafCustomizeUI
New in version 21
aafCustomizeUI
aafCustomizeUI
Disables the popup menu option allowing the end user to customize the interface.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Window
Versions 22 and later
aafSchAutoScroll
New in version 22
aafSchAutoScroll
aafSchAutoScroll
Disables the automatic scroll of scheduler when moving an appointment.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Scheduler control
aafFindDisables the use of the search on a multiline edit control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Multiline edit control
Versions 19 and later
aafInternetSearch
New in version 19
aafInternetSearch
aafInternetSearch
Disables the popup menu option used to perform a search on Internet.
AndroidiPhone/iPadWindows Mobile This constant is not available.

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
aafSpeechRecognitionDisables the speech recognition.
AndroidiPhone/iPadWindows Mobile This constant is not available.
aafResizeRowHeightDisables the ability for the user to resize the rows in height. This option must have been enabled in the description of Table control.
Affected element: Table control, TreeView Table control, Looper control
AndroidiPhone/iPad This constant is not available.
Versions 19 and later
aafSaveFilterAndSort
New in version 19
aafSaveFilterAndSort
aafSaveFilterAndSort
Disables the menu options used to store the filters and the sorts in a Table control.
Affected element: Table control
AndroidiPhone/iPad This constant is not available.
Versions 20 and later
aafSaveBreakStatus
New in version 20
aafSaveBreakStatus
aafSaveBreakStatus
Disables the popup menu option used to store the status of breaks.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control, Looper control
aafSaveSizeAndPositionDisables the backup of window size and position as well as the backup of size and position for the window controls (Splitter, Table, Toolbar control).
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Window
aafSaveValueDisables the automatic backup of persistent controls found in the window. This AAF can be disabled for a control or for a window (in this case, the option is deleted from the popup 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.
aafColumnSelectionDisables the selection of columns for the Table control to display.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control
Versions 20 and later
aafFileSelection
New in version 20
aafFileSelection
aafFileSelection
Disables the "Browse" option in the popup menu displayed in the File and File Path edit controls.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Edit control
aafTableToExcelDisables the export of content of Table control or the export of selection performed in the Table control to Excel or to OpenOffice Calc (depending on the software installed on the user computer).
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafTableToWordDisables the export of content of Table control or the export of selection performed in the Table control to Word or to OpenOffice Writer (depending on the software installed on the user computer).
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafTableToXMLDisables the export of content of Table control or the export of selection performed in the Table control to XML.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control, TreeView control, TreeView Table control, Looper control
aafRateDDWDisables the ability to modify the DDW (Dimmed Disabled Window) rate of gray). The corresponding menu options and the shortcuts ([CTRL] + [ALT] + [+] or [CTRL] + [ALT][-]) cannot be used anymore.
AndroidiPhone/iPadWindows Mobile This constant is not available.
Versions 19 and later
aafPvtEditMode
New in version 19
aafPvtEditMode
aafPvtEditMode
Disables the ability to switch to edit mode:
  • WINDEV via the popup menu of Dashboard control.
  • Versions 22 and later
    AndroidiPhone/iPad via a long press.
    New in version 22
    AndroidiPhone/iPad via a long press.
    AndroidiPhone/iPad via a long press.
Windows Mobile This constant is not available.

Affected element: Dashboard control
Versions 20 and later
aafCopyAll
New in version 20
aafCopyAll
aafCopyAll
Disables the popup menu used to copy all rows found in a List Box or Table control into the clipboard ("Copy all" option).

Affected element: List Box control or Table control
AndroidiPhone/iPad This constant is not available.
aafAutomaticTotalsDisables the automatic calculations in the numeric columns found in a Table control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Table control
Versions 15 and later
aafSortListOrCombo
New in version 15
aafSortListOrCombo
aafSortListOrCombo
Disables the popup menu option used to sort the content of a List Box or Combo Box control.
AndroidiPhone/iPadWindows Mobile This constant is not available.

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.
AndroidWindows Mobile This constant is not available.

Affected element: TreeView Table control.
aafAutomaticValidationDisables the ability to implement a timer on a button.
AndroidiPhone/iPadWindows Mobile This constant is not available.

Affected element: Button control.
Versions 20 and later
aafZoom
New in version 20
aafZoom
aafZoom
  • Disables the ability 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 ability to zoom in a window.
    Affected element: Window.
    New in version 21
    Disables the ability to zoom in a window.
    Affected element: Window.
    Disables the ability to zoom in a window.
    Affected element: Window.
AndroidiPhone/iPadWindows Mobile This constant is not available.
Remarks

Running an automatic feature

To run an automatic feature, use ExecuteAAF.To run an automatic feature, use AAFExecute (or ExecuteAAF).

Deleting AAFs

To delete the options from the popup menu of a control corresponding to AAFs, use ..PopupMenu.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment