PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Limits
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
..ReturnedValue is used to:
  • Find out and modify the value returned by a window, a page or a report.
  • Find out and modify the value returned by an option in a Radio Button control.
WEBDEV - Server code Reminder: A page opened by PageDisplayDialog may return a result when it is closed. This value is returned:
Versions 24 and later
WEBDEV - Browser code ..ReturnedValue allows you to know and modify the value returned by a popup used by a Popup Combo Box.
New in version 24
WEBDEV - Browser code ..ReturnedValue allows you to know and modify the value returned by a popup used by a Popup Combo Box.
WEBDEV - Browser code ..ReturnedValue allows you to know and modify the value returned by a popup used by a Popup Combo Box.
Versions 24 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 24
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
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
Remarks

Limits

..ReturnedValue applies to:
  • WEBDEV - Server code pages,
  • Versions 24 and later
    WEBDEV - Browser code popups used via a Popup Combo Box control.
    New in version 24
    WEBDEV - Browser code popups used via a Popup Combo Box control.
    WEBDEV - Browser code popups used via a Popup Combo Box control.
Related Examples:
Popup calendar 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.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment