[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Modify_Topic
Purpose To change all the settings of a menu topic.
Decln. Modify_Topic(var
M:Nest_Menu;TopicNo:word;N:MenuStr;A:Boolean;Key:char;code:intege
r;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.
N is the topic text, i.e. the string that will be displayed in
the menu.
A indicates if the topic is selectable or non-selectable. Set to
true for normal selectable topics.
Key is the character code of a hotkey that can be used to execute
the topic. Set to #0 to disable the hotkey.
Code is an integer code that will be passed to the despatcher
procedure to indicate that the user selected this topic. Set the
code to zero if a sub-menu is going to be called.
Sub is the address of a sub-menu that is to be called if the
topic is selected. Set to NIL if the topic executes a despatcher
procedure rather than displaying a sub-menu.
Example
BEGIN
MODIFY_TOPIC(BOBS_MENU,3,'FILE LOAD',TRUE,#166,300,NIL);
END;
See Also:
Add_Topic
Modify_Topic_Name
Modify_Topic_Active
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson