ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / AAF functions (Automatic Application Features)
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
Indicates whether an AAF (Automatic Application Feature) can be run on a specific control.
Example
// Gray "BTN_Cancel" out if no action can be undone
IF AAFPossible(PSHEET_MySpreadsheet, aafUndo) THEN
BTN_Cancel.Grayed = False
ELSE
BTN_Cancel.Grayed = True
END
Syntax
<Result> = AAFPossible(<Control> , <Feature to use>)
<Result>: Boolean
  • True if the specified AAF (Automatic Application Feature) can be used,
  • False otherwise.
<Control>: Control name
Name of control to use, for which an available AAF (Automatic Application Feature) is requested. This parameter can correspond to:
  • a Spreadsheet control.
  • an internal window running in Edit mode.
<Feature to use>: Integer constant
Automatic Application Feature to use:
aafPasteUsed to find out whether "Paste" is available for the control.
Control used: Spreadsheet control.
aafCopyUsed to find out whether "Copy" is available for the control.
Control used: Spreadsheet control.
aafCutUsed to find out whether "Cut" is available for the control.
Control used: Spreadsheet control.
aafSaveAsUsed to find out whether the content of the control can be saved under another name.
aafRedoUsed to find out whether "Redo" (redo the last action) is available for the control.
aafUndoUsed to find out whether "Undo" (undo the last action) is available for the control.

If another another aafxxx constant is used, <Result> is set to False.
Component: wd290obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help