.NET Framework Class Library
UserInterface.RadioInput Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.RadioInput Method

Shows a smart radio-input box interface.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function RadioInput ( _

title As String, _
label_title As String, _
radio_1_label As String, _
radio_2_label As String, _
default_radio As Integer, _
default_input_value As String, _
ByRef radio_active As Integer, _
ByRef input_value As String _
) As Boolean

C#

public bool RadioInput(

string title,
string label_title,
string radio_1_label,
string radio_2_label,
int default_radio,
string default_input_value,
ref int radio_active,
ref string input_value
)

Visual C++

public:

bool RadioInput(
String^ title,
String^ label_title,
String^ radio_1_label,
String^ radio_2_label,
int default_radio,
String^ default_input_value,
int% radio_active,
String^% input_value
)

JavaScript

function radioInput(title, label_title, radio_1_label, radio_2_label, default_radio, default_input_value, radio_active, input_value);

Parameters

title

Type: System.String
title of the form

label_title

Type: System.String
title of the label

radio_1_label

Type: System.String
label of the first radio button

radio_2_label

Type: System.String
label of the second radio button

default_radio

Type: System.Int32
radio button set as default (1 or 2)

default_input_value

Type: System.String
input box value set as default

radio_active

Type: System.Int32
Output. The radio button option checked

input_value

Type: System.String
Ouput. The combo option selected

Return Value

TRUE if the user has closed the dialog by pressing the OK button, FALSE otherwise

Remarks

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace