WebView.AddControl

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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)