Search Results for

    Show / Hide Table of Contents

    TExcelFile.AddGroupBox Method

    Overloads

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

    TExcelFile.AddGroupBox(TClientAnchor, TRichString)

    Adds a Group box to the active sheet. Call AddRadioButton(TClientAnchor, TRichString) to insert radio buttons inside the group box.

    Remarks

    Excel determines if a radio button is inside a group box by looking at the coordinates of both objects. To include a radio button inside the group box, just make sure it is entirely inside the group box. Object hierarchy doesn't matter here, only the positions of the group box and the radio button.

    Syntax

    Unit: FlexCel.Core

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

    Parameters

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

    Returns

    Object Index of the inserted group box (1 based).

    See also

    • TExcelFile

    TExcelFile.AddGroupBox(TClientAnchor, TRichString, string)

    Adds a Group box to the active sheet. Call AddRadioButton(TClientAnchor, TRichString) to insert radio buttons inside the group box.

    Remarks

    Excel determines if a radio button is inside a group box by looking at the coordinates of both objects. To include a radio button inside the group box, just make sure it is entirely inside the group box. Object hierarchy doesn't matter here, only the positions of the group box and the radio button.

    Syntax

    Unit: FlexCel.Core

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

    Parameters

    <-> Parameter Type Description
    const anchor TClientAnchor Position for the group box.
    const text TRichString Text for the group box.
    const name string Name for the inserted Group box

    Returns

    Object Index of the inserted group box (1 based).

    See also

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