InputBox dialog

  • Thread starter Thread starter Edward Diener
  • Start date Start date
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.
 
Hi Edward,

I think the retrieving of data from the user is limited to Yes, No,
Cancel, Retry etc.
 
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.
 
Well - there's one other way :-)

Try using the Visual Basic compatibility namespace - they have done the
InputBox dialog for you
 
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 ?
 
Back
Top