psReturnObject - cWebModalDialog

User-defined target for the message sent by a modal dialog when the dialog closes

Type: Property (Web Property)

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 { WebProperty=Client }
 Property String psReturnObject

Web Property Read Access: WebGet psReturnObject to StringVariable
Web Property Write Access: WebSet psReturnObject to StringVariable/Value

Read Access: Get psReturnObject to StringVariable
Write Access: Set psReturnObject to StringVariable/Value


Description

By default, when a modal dialog is closed, it sends the OnCloseModalDialog callback message to the invoking object (i.e. the object handle sent by the Popup message to the modal dialog).

The psReturnObject property is set to the object name of the object that is passed to the Popup message. You can WebGet psReturnObject to retrieve the name of this callback object.

Normally, you do not set psReturnObject. It is better to pass the handle of the callback object with the Popup message that activates the modal dialog.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
See Also

psReturnMessage | pbServerOnEscape