HbRadioGroup() > Methods xHarbour Developers Network  

oHbRadioGroup:getAccel()

Checks if an accelerator key is pressed for a radio button.

Syntax

:getAccel( <nKey>|<cChr> ) --> nPos

Arguments

<nKey>
This is a numeric Inkey() code to test.
<cChr>
Alternatively, a single character can be passed.

Description

Method :getAccel() tests if the passed key code identifys the accelerator key of a HbRadioButton object stored in the internal list of radio buttons. See :caption for the definition of an accelerator key.

The method returns a numeric value indicating the ordinal position of the radio button whose accelerator matches <nKey>|<cKey>. When no radio button has the specified accelerator, the return value is zero.


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