HbPushButton() > Methods |
|
|
oHbPushButton:select()
Activates a push button.
Syntax
:select( [<nKey>] ) --> self
Arguments
- <nKey>
- This is a numeric value representing the key code of the key activating
the push button. The key code is returned by the Inkey()
function. To specify values for this parameter use #define constants from
the file INKEY.CH.
Description
Method :select() activates a push button when it has input focus. The method
waits for <nKey> until it is retrieved a second time from the Inkey()
function. Normally, a push button is activated by the Space bar, Enter key or when
clicked with the mouse.
Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe