[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Menus Commands
--------------------------------------------------------------------------------

 Creating a pulldown menu   MENU [ <oMenu> ] [POPUP]
 from source code               MENUITEM [ <oMenuItem> ] ;
                                   [ CHECK | CHECKED | MARK ] ;
                                   [ ENABLED | DISABLED ] ;
                                   [ FILE | FILENAME | DISK <cBmpFile> ];
                                   [ ACTION <uAction> ] ;
                                   [ OF | MENU | SYSMENU <oMenu> ]

                                SEPARATOR

                                MENUITEM...
                             ENDMENU


Creating a pulldown menu     DEFINE MENU <oMenu> ;
from resources                  [ RESOURCE | NAME | RESNAME <cResName> ]

                         REDEFINE MENUITEM [ <oMenuItem> PROMPT <cPrompt> ] ;
                            [ ID <nId> OF | MENU <oMenu> ] ;
                            [ ACTION <uAction> ] ;
                            [ BLOCK  <bAction> ] ;
                            [ MESSAGE <cMsg> ] ;
                            [ CHECK | CHECKED | MARK ] ;
                            [ ENABLED | DISABLED ] ;
                            [ FILE | FILENAME | DISK <cBmpFile> ]


 Activating a Popup Menu     ACTIVATE POPUP <oMenu> ;
                                [ AT <nRow>, <nCol> ] ;
                                [ OF | WINDOW | DIALOG <oWnd> ]

 Redefining the System       REDEFINE SYSMENU <oMenu> ;
 Menu of a Window               [ OF | WINDOW | DIALOG <oWnd> ]

                             -MenuItems same as above...-

                             ENDSYSMENU


 <oMenu>         A reference to the menu object.

 <oMenuItem>     A reference to one of the menuitems of the menu. Each
                 menuitem of a menu object is also an object.

 <cBmpFile>      The name of a BMP file to be used as the label for a
                 menuitem of the menu.

 <uAction>       The action to be performed for a specific menuitem.

 <oMenu>         A reference to the Menu Object to which attach that
                 specific Menuitem. By default this Menu is the Menu which
                 is beeing builted. This parameter is optional.

 <nRow>, <nCol>  The coordinates where to place the Popup Menu.

 <oWnd>          The container window of the Menu.

 <cResName>      The resource name of the menu.

See Also: TMenu Menu.ch TMenuItem
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson