WebView.AddControl

From Xojo Documentation

Method

WebUIControl.AddControl(child As WebControl)

New in 2020r1

Supported for all project types and targets.

Adds the passed Control to the WebView.

Sample Code

This code adds a WebTextField to the page:

Var tf As New WebTextField
tf.Left = 100
tf.Top = 50
tf.Enabled = True
Self.AddControl(tf)