Skip to content

ViewObject - cWebWindow

Can be sent to any object within a cWebView to return the handle of that cWebView

Type: Function
Return Data Type: Handle

Syntax

Function ViewObject Returns Handle

Call Example

Get ViewObject to HandleVariable

Description

ViewObject can be sent to any object within a cWebView to return the handle of the cWebView.

ViewObject, as defined in cWebView, returns Self.

Any object inside of a cWebView will delegate until the message is resolved in the cWebView. This provides a mechanism for determining the view that contains an object.

Return Value

Returns Self, which is the handle of the view object.