.NET Framework Class Library
UserInterface.RadioCombo Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
UserInterface.RadioCombo Method

Shows a smart radio-combo interface.

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

Syntax

Visual Basic

Public Function RadioCombo ( _

title As String, _
label_title As String, _
radio_1_label As String, _
radio_2_label As String, _
default_radio As Integer, _
combo_values As Object, _
default_combo_value As String, _
combo_visible As Boolean, _
ByRef radio_active As Integer, _
ByRef combo_value As String _
) As Boolean

C#

public bool RadioCombo(

string title,
string label_title,
string radio_1_label,
string radio_2_label,
int default_radio,
Object combo_values,
string default_combo_value,
bool combo_visible,
ref int radio_active,
ref string combo_value
)

Visual C++

public:

bool RadioCombo(
String^ title,
String^ label_title,
String^ radio_1_label,
String^ radio_2_label,
int default_radio,
Object^ combo_values,
String^ default_combo_value,
bool combo_visible,
int% radio_active,
String^% combo_value
)

JavaScript

function radioCombo(title, label_title, radio_1_label, radio_2_label, default_radio, combo_values, default_combo_value, combo_visible, radio_active, combo_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)

combo_values

Type: System.Object
a string containing all the combo values divided by a vbCRLF char

default_combo_value

Type: System.String
combo value set as default (its name)

combo_visible

Type: System.Boolean
TRUE to show the combo, FALSE to hide

radio_active

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

combo_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