HbRadioGroup() > Methods xHarbour Developers Network  

oHbRadioGroup:insItem()

Inserts a new radio button into a radio group

Syntax

:insItem( <nPos>, <oHbRadioButton> ) --> oHbRadioButton

Arguments

<nPos>
This is a numeric value specifying the ordinal position where to insert the radio button. Radio buttons are numbered from 1 to :itemCount.
<oHbRadioButton>
This is a HbRadioButton() object to be inserted into the list of radio buttons.

Description

Method :insItem() accepts a HbRadioButton object and inserts it at position <nPos> into the internal list of radio buttons. The return value is the inserted HbRadioButton object. The instance variable :itemCount reflects the new number of radio buttons maintained by a HbRadioGroup object.


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