If used properly, this subroutine renders submenus associated with a disabled entry inaccessible. Bind a function to a whole menu or to a menu item. You introduce the special format when you call the defpup or addtopup subroutine. Numeric values, parameters, or both, are required for some formats. Numeric values immediately follow the format character.
Parameters always come at the end of the defpup or addtopup subroutine.
More than one special format can be associated with a menu entry. For this format, you must specify a numeric value that the dopup subroutine returns in place of the default. You cannot select the title bar. It does not highlight. The following menu is the same as the first example, except that there is a title bar at the top of the menu.