|
|
|
|
|
- Value of Static Text control
- Value of Calculated control in a report
- Value of Bar Code control
- Value of Image control
- Value of Static Text control or preset control found in a report
- Value of RTF control
- Value of Check Box control or value of option in a Check Box control
- Value of Chart control
- Limitations
Value (Property) In french: Valeur
The Value property is used to: - Find out and modify the value of a report control.
- Find out and modify the value of a control or the title of a window.
- Find out the identifier of a stream.
- Find out and modify the value of a control or the title of a page.
- Get the value associated with a value of a variable of type Enumeration.
Remark: The Value property is rarely used and can be replaced by an equivalent syntax (see Remarks).
IMG_Image.Valeur = "C:\MesImages\Image.BMP"
Syntax
Finding out the value of an element Hide the details
<Result> = <Element used>.Value
<Result>: Any type This result depends on the element type. <Element used>: Type of element Name of the element to be used.
Modifying the value of an element Hide the details
<Element used>.Value = <New value>
<Element used>: Type of element Name of element to use. <New value>: Any type New value for the specified element. This parameter depends on the type of specified element. Remarks Value of Check Box control or value of option in a Check Box control The Value property is used to: - Check or uncheck an option in a Check Box control.
- Find out whether an option found in a Check Box control is checked or unchecked
<Résultat> is a Boolean: - True if the option is checked,
- False otherwise.
To find out whether an option found in a Check Box control is checked or not, use one of the following syntaxes: ResCoché = <Champ Interrupteur>[<Numéro de l'option>].Valeur
ResCoché = <Champ Interrupteur>[<Numéro de l'option>]
ResCoché = <Nom de l'option>.Valeur
ResCoché = <Nom de l'option> Note: If the <Option number> parameter is not specified, the first option is selected by default.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|