Giving feedback on a form

  • Thread starter Thread starter Patrick De Ridder
  • Start date Start date
P

Patrick De Ridder

I use a form with text boxes. The user enters data in the text boxes.
The data is written away to a file. I wish to give the user feedback
on the form, before the data is written away to the file - and (!)
also before the user has finished entering all the data in remaining
text boxes. How do I do this?

Please give a short code example if you know the answer.

Many thanks.
 
Hey,

you can give user feedback in numerous different ways. It's all up to you.
One often used method however, is showing a popup. You can do this with:
MessageBox.Show("UserFeedback");
Other things you can think of for feedback are status bars ( look at the
bottom of oe ), sounds, etc.

Greetz,
-- Rob.
 
ou can give user feedback in numerous different ways. It's all up to you.
One often used method however, is showing a popup. You can do this with:
MessageBox.Show("UserFeedback");
Other things you can think of for feedback are status bars ( look at the
bottom of oe ), sounds, etc.

This is not at all what I mean. An example of what I mean would be
entering issues from a warehouse. When the user types in the part
number I want to respond with the part description. After which the
user will carry on entering the rest of the data he needs to enter
into the remaining text boxes from which subsequently all data is
written to a file..

So how to retrieve the part description from a file, given the part
number is *not* my problems here.

I know how to get something into a text box, but I don't know how to
do that in the middle of all other text boxes in which the user is
entering data.

Hope this makes my query a bit clearer.

Greetings,
 
You can retrieve the data when he leaves the field. When a client enters a
part number, and moves on to the next field, an event is thrown when the
"partnr." field has lost focus.
But are you talking about asp.net forms or winforms?

Greetz,
-- Rob.
 
You can retrieve the data when he leaves the field. When a client enters a
part number, and moves on to the next field, an event is thrown when the
"partnr." field has lost focus.
But are you talking about asp.net forms or winforms?

How do I connect to an event being thrown when the partnr field has
lost focus? Could you please give a code example? I am using Visual C#
Studio .NET and System.Windows.Forms.

I would be grateful for a bit of help here.
 
In vs.net 2003 Help, look for: "control.validating"
filtered by: C#. Your answer is in the Validating and
Validated events. Also explains how to use the
ErrorProvider control to display feedback.
 
Rahul Rao said:
In vs.net 2003 Help, look for: "control.validating"
filtered by: C#. Your answer is in the Validating and
Validated events. Also explains how to use the
ErrorProvider control to display feedback.

Thanks,
 
Back
Top