.NET Framework Class Library
UserInterface.List Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.List Method

Shows a dialog box that allows to choose between customized entries.

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

Syntax

Visual Basic

Public Function List ( _

 values As String, _
 title As String, _
 defaultvalue As String, _
 ByRef resp As String _
As Boolean

C#

public bool List(

 string values,
 string title,
 string defaultvalue,
 ref string resp
)

Visual C++

public:

bool List(
 Stringvalues,
 Stringtitle,
 Stringdefaultvalue,
 String^% resp
)

JavaScript

function list(valuestitledefaultvalueresp);

Parameters

values

Type: System.String
string that contains options to visualize.

title

Type: System.String
dialog box title

defaultvalue

Type: System.String
integer (starting from 0) that represents the value to highlight at start

resp

Type: System.String
Output. The item selected. If the function has a FALSE value resp contains a null string

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