InputBox dialog

E

Edward Diener

In Borland's VCL there was an InputBox dialog, and also a slight variant
called an InputQuery dialog, which asked the user to input information. I do
not see an equivalent for this in the .NET framework. Does one exist in the
..NET framework ?

In the Systems.Windows.Form namespace topic, I read concerning MessageBox:

"In addition to the common dialog boxes, the System.Windows.Forms namespace
provides the MessageBox class for displaying a message box that can display
and retrieve data from the user."

I do not see how the MessageBox class retrieves data from the user. Does
anybody ? Perhaps MS had originally intended to use the .NET MessageBox to
also allow the retrieving of data, ala the VCL InputBox, and then decided
against it.
 
M

Morten Wennevik

Hi Edward,

I think the retrieving of data from the user is limited to Yes, No,
Cancel, Retry etc.
 
E

Edward Diener

Morten said:
Hi Edward,

I think the retrieving of data from the user is limited to Yes, No,
Cancel, Retry etc.

That is not retrieving data, but rather just getting a response. OK, there
is no InputBox equivalent in .NET. It is easy enough to write one's own.
 
S

Sriram Krishnan

Well - there's one other way :)

Try using the Visual Basic compatibility namespace - they have done the
InputBox dialog for you
 
E

Edward Diener

Sriram said:
Well - there's one other way :)

Try using the Visual Basic compatibility namespace - they have done
the InputBox dialog for you

What is the Visual Basic compatibility namespace ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top