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
// Récupère la définition du type de d
d is Définition
d = GetDefinition(ActionFichier)
// Affiche le nom du type de d
Trace(d.Name)
 
// Solution 1: lister les options de la combinaison
IF d.Type = wlCombination THEN
FOR EACH MonElément OF d.Option
Trace(MonElément.Nom)
END
END
// Solution 2: lister les options de la combinaison
// (en utilisant le type Description d'Option)
IF d.Type = wlCombination THEN
D1 is Description of Option
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 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