Table of Contents

ExcelFile.AddRadioButton Method

Overloads

ExcelFile.AddRadioButton(TClientAnchor, TRichString)

Adds a radio button to the active sheet. Call AddGroupBox(TClientAnchor, TRichString) to insert a group box for grouping the radio buttons.

Remarks

Excel supports 2 types of radio buttons: ActiveX and internal (In Excel you would add them from the "ActiveX" and "Forms" toolbars respectively) The radio buttons added by this method are of type internal. ActiveX radio buttons are not supported.

Syntax

Namespace: FlexCel.Core

public Int32 AddRadioButton(TClientAnchor anchor, TRichString text)

Parameters

<-> Parameter Type Description
anchor TClientAnchor Position for the radio button.
text TRichString Text for the radio button.

Returns

Object Index of the inserted radio button (1 based).

See also

ExcelFile.AddRadioButton(TClientAnchor, TRichString, String)

Adds a radio button to the active sheet. Call AddGroupBox(TClientAnchor, TRichString) to insert a group box for grouping the radio buttons.

Remarks

Excel supports 2 types of radio buttons: ActiveX and internal (In Excel you would add them from the "ActiveX" and "Forms" toolbars respectively) The radio buttons added by this method are of type internal. ActiveX radio buttons are not supported.

Syntax

Namespace: FlexCel.Core

public abstract Int32 AddRadioButton(TClientAnchor anchor, TRichString text, String name)

Parameters

<-> Parameter Type Description
anchor TClientAnchor Position for the radio button.
text TRichString Text for the radio button.
name String Name of the inserted radio button.

Returns

Object Index of the inserted radio button (1 based).

See also