Class

MobileControl


Description

The base class for most mobile controls.

Properties

Name

Type

Read-Only

Shared

Name

String

Methods

Name

Parameters

Returns

Shared

Handle

Ptr

Events

Name

Parameters

Returns

Closing

Opening

Property descriptions


MobileControl.Name

Name As String

The name of the control.

Method descriptions


MobileControl.Handle

Handle As Ptr

The handle to the underlying native OS control.

Important

This is supported for iOS only.

Event descriptions


MobileControl.Closing

Closing

Called when the control's layout is closing.


MobileControl.Opening

Opening

Called when the control's layout is opening.

This is where you typically put initialization code.

This example in the Opening event of a label sets its text to "Hello":

Me.Text = "Hello"

Compatibility

Mobile projects on all supported mobile operating systems.

See also

Object parent class; MobileUIControl class.