PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WINDEV Mobile 25 feature!
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
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 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 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.
aafDisplayPasswordRe-displays the password reveal icon.

Affected element: Edit control
aafDisplayOnSeveralLinesRe-enables the popup menu to display the content of a column of a Table control on several rows. This popup menu is re-enabled for all columns in the Table control.

Affected element: Table control
aafDisplayThumbnailRe-enables 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
aafAddShortcutRe-enables the popup menu used to manage custom keyboard shortcuts.

Affected element: Button control
aafGotoLineRe-enables the popup 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
aafRTFToolbarRe-enables the popup menu used to display the RTF toolbar of RTF edit controls.

Affected element: RTF edit control
aafCalculatorRe-enables the popup menu used to display a popup calculator to perform calculations.

Affected element: Numeric or Currency edit control
aafAutomaticCalculationTableRe-enables the popup menu for displaying automatic calculations on Table control columns.

Affected element: Table control or TreeView Table control
aafCalendarRe-enables the popup menu used to display a popup calendar in order to select a date in a Date edit control.

Affected element: Date edit control
aafChangeBackgroundColorRe-enables the popup 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
aafCheckAllRe-enables the popup menu used to check/uncheck all rows in a Check Box column of a Table control.

Affected element: Table control or TreeView Table control
aafComparePeriodPvtRe-enables the popup menu used to compare different periods in the Pivot Table control.

Affected element: Pivot Table control
aafCopyFormRe-enables the popup menu used to copy the current form

Affected element: Window
aafCopyRe-enables 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.
aafSpellCheckRe-enables the use of Word spelling checker on a 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
aafUncheckAllRe-enables the popup menu used to check/uncheck all rows in a Check Box column of a Table control.

Affected element: Table control or TreeView Table control
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.

Affected element:
  • TreeView Table control,
  • TreeView control.
aafDeactivateWindowAnimationRe-enables the popup menu option used to disable window animations.

Affected element: Window
aafSaveAs
  • Re-enables the popup menu option used to save the Spreadsheet control content in an xlsx file.
  • Re-enables the popup menu option used to save the Dashboard control as an image.

Affected element:
  • Spreadsheet control
  • Dashboard control
aafSendFileByEmailRe-enables 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.

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.
aafFilterRe-enables the popup menu for automatic filtering on magnifiers, in the columns titles of a Table control.
Affected element: Table control.
aafGanttAddDependencyRe-enables the popup 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.
aafGanttAddTaskRe-enables the popup 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.
aafGanttEditTaskRe-enables the popup 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.
aafGanttDeleteTaskRe-enables the popup 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.
aafChartRe-enables the display of an automatic chart in a Table control.

Affected element: Table control
aafHistoryHFLogRe-enables the history of HFSQL records on a control linked to a data file.

Affected element: Control linked to a data file
aafHistoryInputRe-enables input history.

Affected elements: Edit control, editable combo box
aafPrintReportOnTableRe-enables the "Print" option 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.

Affected element: Table and TreeView Table control
aafPrintOrganizerRe-enables the popup menu option used to print the content of an Organizer control.

Affected element: Organizer control
aafPrintFileRe-enables the popup menu option used to print a file.

Affected element: File Path edit control
aafPrintScheduleRe-enables the popup menu option used to print the content of a Scheduler control.

Affected element: Scheduler control
aafPrintSpreadsheetRe-enables the popup menu option used to print the content of a Spreadsheet control.

Affected element: Spreadsheet control
aafPrintPvtRe-enables the popup menu option used to print the content of a Pivot Table control.

Affected element: Pivot Table control
aafCheckBoxCheckAllRe-enables the popup menu options used to check or uncheck all the options in a Check Box control.

Affected element: Check Box control
aafMagnifierOnTableNoInputNoSelectionKeeps the behavior of version 20 on Table controls without edit or selection features: the magnifier is not displayed in the column even if the "Magnifier" option is checked in the column description window.
Affected element: Table control
aafChartMenuRe-enables the popup menu of Chart controls displayed via the AAF mechanism.

Affected element: Chart control
aafQuestionMarkMenuRe-enables the popup menu option corresponding to the "?" menu.

Affected element: Window
aafModifyProgressGanttTaskRe-enables 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.
aafModifyInputValueWithWheelRe-enables the modification of the value in numeric edit controls with the mouse wheel.

Affected element: Numeric edit control
aafRepositionableNoteRe-enables the option to create repositionable notes.

Affected element: Window
aafOpenRe-enables the popup menu option used to open a file.

Affected element: File Path edit control
aafOpenWithRe-enables the popup menu option used to open a file by selecting the software.

Affected element: File Path edit control
aafOpenLocationRe-enables the popup menu option used to open the directory containing the file.

Affected element: File Path edit control
aafCustomizeUIRe-enables the popup menu option allowing the end user to customize the interface.

Affected element: Window
aafSchAutoScrollRe-enables the automatic scroll of the schedule when an appointment is moved.

Affected element: Scheduler control
aafFindRe-enables the use of the search on a multiline edit control.

Affected element: Multiline edit control
aafFindInComboRe-enables 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
aafInternetSearchRe-enables the popup menu option used to perform a search on 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
aafSpeechRecognitionRe-enables speech recognition.
aafResizeRowHeightRe-enables the option for the user to resize the rows vertically. This option must have been enabled in the description of Table control.
Affected element: Table control, TreeView Table control, Looper control
aafSaveFilterAndSortRe-enables the menu options used to save filters and sorts in a Table control.
Affected element: Table control
aafSaveBreakStatusRe-enables the popup menu option used to save the status of breaks.

Affected element: Table control, Looper control
aafSaveSizeAndPositionRe-enables size and position saving for windows and window controls (Splitter, Table, Toolbar control).

Affected element: Window
aafSaveValueRe-enables value saving of persistent controls 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
aafColumnSelectionRe-enables the column selection on a Table control to display.

Affected element: Table control
aafFileSelectionRe-enables the "Browse" option in the popup menu displayed in File and File Path edit controls.

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

Affected element: Table control, TreeView control, TreeView Table control, Looper control
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).

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

Affected element: Table control, TreeView control, TreeView Table control, Looper control
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.
aafPvtEditModeRe-enables the option to switch to edit mode:
  • WINDEV via the Dashboard control popup menu.

Affected element: Dashboard control
aafCopyAllRe-enables the popup 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
aafAutomaticTotalsRe-enables automatic calculations in numeric columns of a Table control.

Affected element: Table control
aafSortListOrComboRe-enables the popup menu option used to sort the content of a List Box or Combo Box control.

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.

Affected element: TreeView Table control.
aafAutomaticValidationRe-enables the option to set a timer on a button.

Affected element: Button control.
aafZoom
  • Re-enables the option to zoom in a Table, Treeview table, Pivot Table, Spreadsheet or List Box control.
    Affected element: Table control, TreeView Table control, Pivot Table control, Spreadsheet or List Box control.
  • Versions 21 and later
    Re-enables the option to zoom in a window.
    Affected element: Window.
    New in version 21
    Re-enables the option to zoom in a window.
    Affected element: Window.
    Re-enables the option to zoom in a window.
    Affected element: Window.
Component : wd250obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment