|
|
|
|
|
- Value of Static control
- Value of Calculated control in a report
- Value of Bar Code control
- Value of Image control
- Value of Static 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 with an equivalent syntax (see Remarks). // Modify the image file associated with the "IMG_Image" control IMG_Image.Value = "C:\MyImages\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
<Result> 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: ResChecked = <Check Box control>[<Option number>].Value
ResChecked = <Check Box control>[<Option number>]
ResChecked = <Option name>.Value
ResChecked = <Option name> Remark: If <Option number> is not specified, the first option is selected by default.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|