Popup() > Menu item methods |
Retrieves the ordinal position of the previous selectable menu item.
:getPrev() --> nPrevMenuItemPos
Method :getPrev() returns a numeric value indicating the ordinal position of the selectable menu item above 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.
http://www.xHarbour.com