.NET Framework Class Library
UserInterface.InputBox Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
UserInterface.InputBox Method

Shows an input box interface, with a default value (if specified)

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

Syntax

Visual Basic

Public Function InputBox ( _

title As String, _
ByRef input_string As String, _
Optional default_value As String = "" _
) As Boolean

C#

public bool InputBox(

string title,
ref string input_string,
string default_value = ""
)

Visual C++

public:

bool InputBox(
String^ title,
String^% input_string,
String^ default_value = L""
)

JavaScript

function inputBox(title, input_string, default_value);

Parameters

title

Type: System.String
title of the form

input_string

Type: System.String
Output. The string typed at the moment of submission

default_value (Optional)

Type: System.String
Optional. The default value for the string

Return Value

TRUE if the OK button was submitted, FALSE otherwise

Remarks

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace