[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Modify_Topic_Submenu


Purpose   Modifies the Topic pointer to a sub-menu.

Decln.    Modify_Topic_SubMenu(var M:Nest_Menu;TopicNo:word;Sub:MenuPtr);

Remarks   M is the name of the menu variable that contains the topic.
          TopicNo is the number of the topic to be modified.
          Sub is the address of a sub-menu that is to be called if the
          topic is selected.  Use the '@' argument to pass the address of a
          menu, e.g. @Print_menu. Set to NIL if the topic executes a
          despatcher procedure rather than displaying a sub-menu.

Example

BEGIN
    MODIFY_TOPIC_SUBMENU(BOBS_MENU,3,@FILE_MENU);
END;

See Also: Add_Topic Modify_Topic Modify_Topic_Active
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson