WebView.ControlAtIndex

From Xojo Documentation

Method

WebView.ControlAtIndex(Index As Integer) As WebObject

New in 2010r4

Supported for all project types and targets.

Returns the WebObject at the index specified. If the Index is invalid, Nil is returned.

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