|
|
|
|
|
- Finding out the value returned by a child window
- Limitations
ReturnedValue (Property) In french: ValeurRenvoyée
The ReturnedValue property is used to: - Get and change the value returned by a window, page or report.
- Get and change the value returned by an option in a Radio Button control.
Syntax
Finding out the returned value Hide the details
<Result> = <Element used>.ReturnedValue
<Result>: Any type Value that will be returned:- when closing the current window, page or report.
- if the option is selected in the radio button.
<Element used>: Name of window, page, report, option Name of element used:- Name of the window, page, report or internal report used. This window, page or report must be opened.
- Name of the option in the radio button. This name has the following format: <Radio Button control>[<Option number>].
Modifying the returned value Hide the details
<Element used>.ReturnedValue = <New value>
<Element used>: Name of window, page, report, option Name of element used:- Name of the window, page or report used. This window, page or report must be opened.
- Name of the option in the radio button. This name has the following format: <Radio Button control>[<Option number>].
<New value>: Any type New value to return. The following types can be used:- structure
- dynamic structure
- class
- advanced type
- array
- associative array
- queue
- stack
- list
Related Examples:
|
Unit examples (WINDEV): Popup calendar
[ + ] Using a calendar that can be used by the OpenPopup function. The PopCalendar window is very useful in the applications containing date controls. Indeed, the PopCalendar window allows you to choose a date visually. The risk of error is reduced as the user can see the day of the week corresponding to the selected date. Then, the date control is filled with the value returned by the PopCalendar window.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|