MenuItem.Count

From Xojo Documentation

Revision as of 20:07, 28 July 2017 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!
Method

MenuItem.Count() As Integer

New in 5.0

Supported for all project types and targets.

Returns as an Integer the number of children a menu owns.

Notes

For a menu item, it returns the number of submenu items, if any. If there are no submenu items, it returns zero.