PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV, WINDEV Mobile 23 feature!
  • Properties specific to the description of Option Description variables
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
Option Description (Type of variable)
In French: Description d'Option
An Option Description variable is used to handle the characteristics of a combination option by programming.
The characteristics of this type can be retrieved by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Retrieves the definition of d type
d is Definition
d = GetDefinition(FileAction)
// Displays the name of d type
Trace(d..Name)

// Solution 1: list the combination options
IF d..Type = wlCombination THEN
FOR EACH MyElement OF d..Option
Trace(MyElement..Name)
END
END
// Solution 2: list the combination options
// (by using the Option Description type)
IF d..Type = wlCombination THEN
D1 is Option Description
FOR EACH D1 OF d..Option
Trace(D1..Name)
END
END
Remarks

Properties specific to the description of Option Description variables

The following properties can be used to handle a combination option:
Property nameType usedEffect
AliasBoolean
  • True if the option is an alias of an existing option or combination of options,
  • False otherwise.
This property is available in read-only.
DeclarationDefinition variableOption declaration.
This property is available in read-only.
InheritedBoolean
  • True if the combination is inherited from an extended combination,
  • False otherwise.
This property is available in read-only.
NameCharacter stringName of option.
This property is available in read-only.
ValueAll typesValue of option.
This property is available in read-only.
AssociatedValueAll typesAssociated value of option.
This property is available in read-only.


Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment