PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Indicates whether an AAF (Automatic Application Feature) can be run on a specific control.
Example
// Gray the "Cancel" button if no Undo can be done
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>: Character string (with or without quotes)
Name of control to use, for which the availability of an AAF is sought. This parameter can correspond to:
  • a Spreadsheet control.
  • an internal window in Edit mode (at run time).
<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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment