Chapter 7. The MenuObject Class

Table of Contents
isMenu
isSubMenu
isChecked
isSeparator
items
idOf
textOf(position)
textOf(id)
submenu
findSubmenu
findItem
processItem

The MenuObject class provides methods to query, manipulate, and interact with the menu or submenu of a window.

Use of the MenuObjects requires that the following directive appear in the Rexx program.

::requires 'winSystm.cls'

Methods the MenuObject Class Defines

isMenu

>>-isMenu------------------------------------------------------><

Returns 1 if the associated window is a menu, otherwise 0.