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 or by a page.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 20 and later
WEBDEV - Server code This property is now available:
  • for the reports,
  • for the internal reports (read-only).
New in version 20
WEBDEV - Server code This property is now available:
  • for the reports,
  • for the internal reports (read-only).
WEBDEV - Server code This property is now available:
  • for the reports,
  • for the internal reports (read-only).
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 name>..ReturnedValue
<Result>: Any type
Value that will be returned:
  • when closing the current window or page.when closing the current window, page or report.
  • if the option is selected in the radio button.
<Element name>: Character string (with or without quotes)
Name of element used:
  • Name of the window or page used. This window or page must be opened.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: <Name of Radio Button>[<Option number>].

Modifying the returned value Hide the details

<Element name>..ReturnedValue = <New value>
<Element name>: Character string (with or without quotes)
Name of element used:
  • Name of the window or page used. This window or page must be opened.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: <Name of Radio Button>[<Option number>].
<New value>: Any type
New value to return.
Versions 15 and later
From version 15, the following types can be used:
  • structure
  • dynamic structure
  • class
  • advanced type
  • array
  • associative array
  • queue
  • stack
  • list
New in version 15
From version 15, the following types can be used:
  • structure
  • dynamic structure
  • class
  • advanced type
  • array
  • associative array
  • queue
  • stack
  • list
From version 15, 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 the pages,
  • Versions 24 and later
    WEBDEV - Browser code the popups used via a Popup Combo Box control.
    New in version 24
    WEBDEV - Browser code the popups used via a Popup Combo Box control.
    WEBDEV - Browser code the 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