Nested View Methods

Scripting is not supported by TWC

Method icon The Nested View supports the following scripting methods.

See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.

Method Description

ChangeScreen

The ChangeScreen method swaps one screen for another in the Nested View.

Equals

The Equals method determines whether the specified object is equal to the current object.

GetHashCode

The GetHashCode method returns a hash code for the current object.

GetType

The GetType method returns the runtime type of the current instance.

Refresh

The Refresh method resets the cache and gets all data for the control from the associated service.

SendMessage

Use the SendMessage method on any nested screen to pass in a message to another nested screen. In addition to messages, you can also send and receive objects which can be used to manipulate the receiving screen, including:

  • the sending parent or child screen itself
  • message arguments that allow access to all controls and properties in the receiving screen
  • controls (for example, a grid or button)
  • data structures
  • lists

See To communicate between screens in a Nested View via script for more information.

ToString

The ToString method returns a string that represents the current object.