Class

WebObject


Description

The super class of WebControl. Use this control when you want to add an instance of a class that has no user interface to your page. Examples of such classes are XojoScript, SerialConnection, a custom class, etc.

Properties

Name

Type

Read-Only

Shared

Name

String

Page

WebPage

Parent

WebView

Property descriptions


WebObject.Name

Name As String

The name of the control.

This property is read-only.


WebObject.Page

Page As WebPage

Identifies the web page that contains the control.

This property is read-only.


WebObject.Parent

Parent As WebView

Used to get control's parent control or WebPage.

This property is read-only.

The following line displays the name of the control's parent.

Label1.Text = Me.Parent.Name

Compatibility

Web projects on all supported operating systems.

See also

Object parent class; WebControl, WebPage