.NET Framework Class Library
UserInterface.ListFromFile Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
UserInterface.ListFromFile Method

Shows a dialog box that allows to choose between entries retrieved from a text file.

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

Syntax

Visual Basic

Public Function ListFromFile ( _

filenamewithvalues As String, _
title As String, _
ByRef choosedvalue As String _
) As Boolean

C#

public bool ListFromFile(

string filenamewithvalues,
string title,
ref string choosedvalue
)

Visual C++

public:

bool ListFromFile(
String^ filenamewithvalues,
String^ title,
String^% choosedvalue
)

JavaScript

function listFromFile(filenamewithvalues, title, choosedvalue);

Parameters

filenamewithvalues

Type: System.String
name of a file containing values

title

Type: System.String
dialog box title

choosedvalue

Type: System.String
Ouput, 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