TopBarMenu() > Menu item methods |
Adds a MenuItem object to a TopBarMenu 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 TopBarMenu object.
http://www.xHarbour.com