|
|
|
|
- Properties specific to the description of Option Description variables
Option Description (Type of variable) In french: Description d'Option
An Option Description variable is used to handle the characteristics of a combination option through programming. The characteristics of this type are returned by several WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
// 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 name | Type used | Effect |
---|
Alias | Boolean | - True if the option is an alias of an existing option or combination of options,
- False otherwise.
This property is read-only. | AssociatedValue | All types | Associated value of option. This property is read-only. | Declaration | Definition variable | Option declaration. This property is read-only. | Inherited | Boolean | - True if the combination is inherited from an extended combination,
- False otherwise.
This property is read-only. | Name | Character string | Option name. This property is read-only. | Value | All types | Option value. This property is read-only. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|