Search Results for

    Show / Hide Table of Contents

    TExcelFile.AddRadioButton Method

    Overloads

    • TExcelFile.AddRadioButton(TClientAnchor, TRichString)
    • TExcelFile.AddRadioButton(TClientAnchor, TRichString, string)

    TExcelFile.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

    Unit: FlexCel.Core

    function TExcelFile.AddRadioButton(const anchor: TClientAnchor; const text: TRichString): Integer; overload;

    Parameters

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

    Returns

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

    See also

    • TExcelFile

    TExcelFile.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

    Unit: FlexCel.Core

    function TExcelFile.AddRadioButton(const anchor: TClientAnchor; const text: TRichString; const name: string): Integer; overload; virtual; abstract;

    Parameters

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

    Returns

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

    See also

    • TExcelFile
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com