WebView.ControlCount

From Xojo Documentation

Method

WebView.ControlCount() As Integer

New in 2010r4

Supported for all project types and targets.

Returns the number of controls on the WebView.

Example

This code displays all the controls on a web page in a ListBox on the page:

ListBox1.DeleteAllRows

For i As Integer = 0 To Self.ControlCount - 1
ListBox1.AddRow(Self.ControlAtIndex(i).Name)
Next