TopBarMenu() > Menu item methods xHarbour Developers Network  

oTopBarMenu:getNext()

Retrieves the ordinal position of the next selectable menu item.

Syntax

:getNext() --> nNextMenuItemPos

Description

Method :getNext() returns a numeric value indicating the ordinal position of the selectable menu item to the right of the currently selected menu item. When a menu item is disabled, it cannot be accessed by the user. If the current menu item is the last one, or when no menu item can be selected, the return value is zero.


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