Skip to content

WebObjectByName - cBaseLocalControlHost

Searches for the object handle of a web object using its public name

Type: Function
Return Data Type: Handle

Parameters

Parameter Type Description
sObjectName String Name of the web object
bOptErr Boolean (Optional) Error

Syntax

Function WebObjectByName String sObjectName Boolean bOptErr Returns Handle

Call Example

Get WebObjectByName sObjectName bOptErr to HandleVariable

Description

This function searches for the object handle of a web object using its public name.

The object name can be obtained by calling the WebObjectName function on a web object.

Return Value

If it can't find the object, it will cause an Error and return 0.