Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>additem()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    AddItem()

         Adds a selectionable item to a submenu

    Syntax:

         AddItem( aMenu, nSubMenu, cItem, [cMess], [nPos], [aSub] ) -> Nil

         aMenu    : The menu created with NewMenu()
         nSubMenu : The submenu's number where add the item
         cItem    : The item to add to the submenu
         cMess    : The message of the item
         nPos     : The position of the item in the submenu.
                    Last position if null.
         aSub     : An array with the options of submenu

    Description:

         Adds a item to a submenu, activing the item as selectionable.

    Return:

         Nothing.

    Example:

         aMenu := NewMenu( { "^System", "^Tools", "^Other" }, ;
                           { "N/W", "R/W", "W/B",  "W+/B", ;
                             "N/W", "W/B", "N+/W", "R/W", "GR+/B" } )
         AddItem ( aMenu, 1, "Item ^1", "Message", , { "Sub1", "Sub2" } )

See Also: AddLine() DelItem()

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