Skip to main content

PointerToJSObject

Type

handler

Summary

Convert a Pointer into a JavaScript object

Syntax

PointerToJSObject(<pPointer>)

Description

Use PointerToJSObject to convert a variable of type Pointer to a JavaScript object.

Parameters

NameTypeDescription

pPointer

The Pointer to convert

Examples

variable mButtonPointer as Pointer

public handler SetButtonText(in pText as String)
variable tJSButton as JSObject
put PointerToJSObject(mButtonPointer) into tJSButton

EvalJavaScriptWithArguments("arguments[0].innerHTML = arguments[1]", [tJSButton, pText])
end handler
Thank you for your feedback!

Was this page helpful?