Popup() > Menu item methods |
Adds a MenuItem object to a Popup menu object.
:addItem( <oMenuItem> ) --> self
Method :addItem() accepts a MenuItem() object and adds it to the internal list of menu items. The return value is the self object. The instance variable :itemCount reflects the new number of MenuItem() objects maintained by a Popup object.
http://www.xHarbour.com