TopBarMenu() > Menu item methods xHarbour Developers Network  

oTopBarMenu:getPrev()

Retrieves the ordinal position of the previous selectable menu item.

Syntax

:getPrev() --> nPrevMenuItemPos

Description

Method :getPrev() returns a numeric value indicating the ordinal position of the selectable menu item to the left 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 first 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