DesktopMenuItem.Child
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Method
DesktopMenuItem.Child(name As String) As DesktopMenuItem
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Looks up menu items by Name and returns a DesktopMenuItem. Returns Nil if a child is not found.
Sample Code
The following example gets the text of the Edit ↠ Cut menuitem.