ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / AAF functions (Automatic Application Features)
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Indicates whether an AAF (Automatic Application Feature) can be run on a specific control.
Example
// Grise le champ Bouton "BTN_Annuler" si le Undo n'est pas possible
IF AAFPossible(TBLR_MonTableur, aafUndo) THEN
	BTN_Annuler.Grisé = False
ELSE
	BTN_Annuler.Grisé = 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.
Field manipulated: Spreadsheet control field.
aafCopyUsed to find out whether "Copy" is available for the control.
Field manipulated: Spreadsheet control field.
aafCutUsed to find out whether "Cut" is available for the control.
Field manipulated: Spreadsheet control field.
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: wd300obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help