From Xojo Documentation

Revision as of 22:21, 10 February 2020 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

MenuItem.Child(name As String) As MenuItem

Supported for all project types and targets.

Looks up menu items by Name and returns a MenuItem. Returns Nil if a child is not found.

Sample Code

The following example gets the text of the Edit ↠ Cut menuitem.

Var c As MenuItem
c = EditMenu.Child("EditCut")