Popup() > Menu item methods |
Deletes a MenuItem object from a Popup object.
:delItem( <nItemPos> ) --> self
Method :delItem() can be used to remove a single menu item from a Popup object. This can be useful when the number of selectable menu items changes dynamically at runtime, depending on a condition. Alternatively, single menu items can be disabled or enabled.
http://www.xHarbour.com