Show / Hide Table of Contents

Method dialog.SetRadioButtons


Overload

Adds radio buttons.

public void SetRadioButtons(Strings buttons, int defaultId = 0)
Parameters
buttons  (Strings)

A list of strings "id text" separated by |, like "1 One|2 Two|3 Three".

defaultId  (int)

Check the radio button that has this id. If omitted or 0, checks the first. If negative, does not check.

Remarks

To get selected radio button id after closing the dialog, use dialog.Controls.