From Xojo Documentation


WebMenuItem.Child(Text As String) As WebMenuItem

New in 2011r2

Supported for all project types and targets.

Attempts to locate a child with the matching string. Nil is returned if there is no match.


Change the text of a menu item on a ContextualMenu from "Save" to "Save As":

Var save As WebMenuItem
save = Me.ContextualMenu.Child("Save")
If save <> Nil Then
save.Text = "Save As"
End If