Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     MenuItem(<cCaption>, <expData>, [<nShortcut>],
        [<cMessage>], [<nID>]) --> oMenuItem

 Arguments

     <cCaption> is a character string that contains either a text string
     that concisely describes the menu option or a menu separator specifier.
     This value is assigned to the MenuItem:caption instance variable.

     <expData> is a value that contains either a code block or a
     PopUpMenu object.  This argument is ignored when <cCaption> contains a
     menu separator specifier.  This value is assigned to the MenuItem:data
     instance variable.

     <nShortcut> is an optional numeric inkey value that indicates the
     shortcut key combination that selects and launches the menu selection.
     The default is 0.  This value is assigned to the MenuItem:shortcut
     instance variable.  Constant values for various key combinations are
     defined in Inkey.ch.

     <cMessage> is an optional character string that indicates the text
     to display on the status bar when the menu item is selected.  The
     default is an empty string.  This value is assigned to the
     MenuItem:message instance variable.

     <nID> is an optional numeric value that uniquely identifies the menu
     item.  The default is 0.  This value is assigned to the MenuItem:id
     instance variable.

 Returns

     Returns a MenuItem object when all of the required arguments are
     present; otherwise, MenuItem() returns NIL.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson