TopBarMenu() > Menu item methods xHarbour Developers Network  

oTopBarMenu:getLast()

Retrieves the ordinal position of the last selectable menu item.

Syntax

:getLast() --> nLastMenuItemPos

Description

Method :getLast() returns a numeric value indicating the ordinal position of the last, or rightmost, selectable menu item. When a menu item is disabled, it cannot be accessed by the user. 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