Graphisoft®

Dialog ManagerVersion: 2.0

RadioButton::RadioButton

Class constructor.

RadioButton (
    const Panel &       panel,
    short               item
);

Constructs the radio button from resource.

RadioButton (
    const Panel &       panel,
    const Rect &        rect,
    short               groupId
);

Constructs the radio button with the given parameters.

Parameters

panel
A reference to the parent panel of the radio button.
item
The item ID of the radio button.
rect
A reference to the bounding rectangle of the radio button.
groupId
The group ID of the radio button. It defines the 1-based index of the group to which the control belongs.