ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2024 feature!
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
Compiler (Property)
In french: Compilateur
The Compiler property gets and sets the compiler options in the Code Editor control, in particular, which functions are allowed or disallowed.
Example
CODEEDT_Example.Compiler.AllowedFunctions = AllFunctions
CODEEDT_Example.Compiler.ForbiddenFunctions = "fDelete"
Syntax

Getting the value of compiler options Hide the details

<Result> = <Code editor>.Compiler.<Property name>
<Result>: Type corresponding to the property
Result corresponding to the property used.
<Code editor>: Control name
Name of the Code Editor control used.
<Property name>:
Compiler option applied:
PropertyTypeDescription
AllowedFunctionsCharacter stringList of allowed functions, separated by CR, commas or semicolons.
Example:
"fOpen" + CR + "fCreate"
Remarks:
  • Specify functions using the standard syntax only. The associated prefix syntax will be automatically taken into account.
  • Functions can be in English or French: both languages will automatically be taken into account.
DefaultFunctionsInteger constantSpecifies the functions available by default:
  • AllFunctions: All WLanguage functions are available by default. You can disallow certain functions using the ForbiddenFunctions property.
  • NoFunction: No function available by default. You can allow certain functions using the AllowedFunctions property.
ForbiddenFunctionsCharacter stringList of disallowed functions, separated by CR, commas or semicolons.
Example:
"fOpen" + CR + "fCreate"
Remarks:
  • Specify functions using the standard syntax only. The associated prefix syntax will be automatically taken into account.
  • Functions can be in English or French: both languages will automatically be taken into account.

Setting the value of compiler options Hide the details

<Editor control>.Accessibility.<Property name> = <New value>
<Code editor>: Control name
Name of the Code Editor control used.
<Property name>:
Compiler option to be applied:
PropertyTypeDescription
AllowedFunctionsCharacter stringList of allowed functions, separated by CR, commas or semicolons.
Example:
"fOpen" + CR + "fCreate"
Remarks:
  • Specify functions using the standard syntax only. The associated prefix syntax will be automatically taken into account.
  • Functions can be in English or French: both languages will automatically be taken into account.
DefaultFunctionsInteger constantSpecifies the functions available by default:
  • AllFunctions: All WLanguage functions are available by default. You can disallow certain functions using the ForbiddenFunctions property.
  • NoFunction: No function available by default. You can allow certain functions using the AllowedFunctions property.
ForbiddenFunctionsCharacter stringList of disallowed functions, separated by CR, commas or semicolons.
Example:
"fOpen" + CR + "fCreate"
Remarks:
  • Specify functions using the standard syntax only. The associated prefix syntax will be automatically taken into account.
  • Functions can be in English or French: both languages will automatically be taken into account.
<New value>: Type corresponding to the property
New value of the property.
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help