Microsoft SDK for Java

DhRadioButton.DhRadioButton

Creates a DhRadioButton object.

Syntax

public DhRadioButton()

public DhRadioButton( String strText, boolean fChecked )

Parameters

strText

The label text to display with the button.

fChecked

The initial selected state of the button.

Remarks

The default constructor creates a blank radio button with no check or text label. You set the values to initialize them. The constructor with parameters creates a radio button with right-aligned text (LeftRightAlignment.RIGHT).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.