Popup() > Menu display and selection xHarbour Developers Network  

oPopup:select()

Changes the currently selected menu item.

Syntax

:select( <nItemPos> ) --> nMenuItemPos

Arguments

<nItemPos>
This is a numeric value specifying the ordinal position of the menu item to select as current. The value for <nItemPos> must be in the range from 1 to :itemCount. Otherwise, it is ignored.

Description

Method :select() defines the menu item at position <nItemPos> as currently selected item. The selected menu item is displayed highlighted when method :display() is executed.


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