MenuItem() > Instance variables xHarbour Developers Network  

oMenuItem:shortCut

Numeric shortcut key.

Info

Data type:NDefault:NIL

Description

The instance variable :shortCut contains the third parameter passed to the :new(). It specifies the Inkey() code that evaluates the :data code block when a MenuItem object is contained in a Popup() menu object, and this menu is not open.

If a MenuItem object is contained in a TopBarMenu() object, the :shortCut key has no effect.


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