Popup() > Menu item methods xHarbour Developers Network  

oPopup:addItem()

Adds a MenuItem object to a Popup menu object.

Syntax

:addItem( <oMenuItem> ) --> self

Arguments

<oMenuItem>
This is the MenuItem() object to add to the Popu object.

Description

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.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe