TopBarMenu() > Menu item methods xHarbour Developers Network  

oTopBarMenu:getItem()

Retrieves a MenuItem object from a TopBarMenu object.

Syntax

:getItem( <nItemPos> ) --> oMenuItem

Arguments

<nItemPos>
This is a numeric value specifying the ordinal position of the menu item to retrieve from the TopBarMenu object. Menu items are numbered from 1 to :itemCount.

Description

Method :getItem() is used to retrieve the MenuItem() object at position <nItemPos> from a TopBarMenu object.


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