Share

RunDialogs.InputRadioBox Method (String, String, String, Boolean, String)

Shows a dialog in which a choice can be made between two options. (Returns True if the first option was selected, and False otherwise.)

Namespace:  Autodesk.iLogic.Runtime
Assembly:  Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 30.0

Syntax

VB

Public Shared Function InputRadioBox ( 
	Prompt As String,
	Button1Label As String,
	Button2Label As String,
	ChooseButton1 As Boolean,
	Title As String
) As Boolean

C#

public static bool InputRadioBox(
	string Prompt,
	string Button1Label,
	string Button2Label,
	bool ChooseButton1,
	string Title
)

Parameters

Prompt
Type: System.String
A prompt to show in the dialog.
Button1Label
Type: System.String
The label for the first option.
Button2Label
Type: System.String
The label for the second option.
ChooseButton1
Type: System.Boolean
Set this to True to choose the first option by default.
Title
Type: System.String
The dialog title.

Return Value

Type: Boolean
True if the first option was selected. False otherwise.

See Also

Reference

Was this information helpful?