PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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 are returned by several WLanguage properties.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Retrieves the definition of d type
d is Definition
d = GetDefinition(FileAction)
// Displays the name of d type
Trace( d.Nom)
 
// Solution 1: list the combination options
IF d..Type = wlCombination THEN
FOR EACH MyElement OF d.Option
Trace(MyElementName)
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.Nom)
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 read-only.
DeclarationDefinition variableOption declaration.
This property is read-only.
InheritedBoolean
  • True if the combination is inherited from an extended combination,
  • False otherwise.
This property is read-only.
NameCharacter stringName of option.
This property is read-only.
ValueAll typesValue of option.
This property is read-only.
AssociatedValueAll typesAssociated value of option.
This property is read-only.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment