InputBox Constructor(String,String,String,Boolean)
In This Topic
Initializes a new instance of the
InputBox class to allow the user to input a string.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As Boolean _
)
'Usage
Dim title As String
Dim caption As String
Dim text As String
Dim isPassword As Boolean
Dim instance As New InputBox(title, caption, text, isPassword)
public InputBox(
string ,
string ,
string ,
bool
)
public: InputBox(
string* ,
string* ,
string* ,
bool
)
public:
InputBox(
String^ ,
String^ ,
String^ ,
bool
)
Parameters
- title
- Window title.
- caption
- Explanatory text shown at top of window.
- text
- Initial text to populate edit box with.
- isPassword
- If true, the edit box is used to enter a password with its contents obscured during text entry.
Return Value
The new instance of
InputBox class.
See Also