RunDialogsInputRadioBox 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: 23.0
Syntax Public Shared Function InputRadioBox (
Prompt As String,
Button1Label As String,
Button2Label As String,
ChooseButton1 As Boolean,
Title As String
) As Boolean
public static bool InputRadioBox(
string Prompt,
string Button1Label,
string Button2Label,
bool ChooseButton1,
string Title
)
Parameters
- Prompt
- Type: SystemString
A prompt to show in the dialog. - Button1Label
- Type: SystemString
The label for the first option. - Button2Label
- Type: SystemString
The label for the second option. - ChooseButton1
- Type: SystemBoolean
Set this to True to choose the first option by default. - Title
- Type: SystemString
The dialog title.
Return Value
Type:
BooleanTrue if the first option was selected. False otherwise.
See Also