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>delline()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    DelLine()

         Deletes an item of a Submenu

    Syntax:

         DelLine( aMenu, nSubMenu, nPos ) -> Nil

         aMenu    : The menu created with NewMenu()
         nSubMenu : The number of the submenu where the item is deleted
         nPos     : The item position in the submenu

    Description:

         Deletes an item or line of a submenu reconfigurating the size
         of it.

    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 1" )
         AddItem ( aMenu, 1, "Item ^2", "Message 2" )

         DelLine ( aMenu, 1, 2 )  // Delete the second item

See Also: AddItem() AddLine()

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