Re: Validating GUI
- From: "Carl" <ask@xxxxxxx>
- Date: Wed, 22 Apr 2009 11:08:36 +0200
Hi,
If you choose to validate immediately, you might have to validate OnSave/later also, since some values might be dependent on other, not yet entered information or is a more lengthy validation. For example, a validation against another system or a slow query etc.
//Carl
"Tony Johansson" <johansson.andersson@xxxxxxxxx> wrote in message news:XsAHl.8046$U5.89177@xxxxxxxxxxxxxxxxxx
Hello!
I just want your general opinion about validating GUI.
Assume you have a GUI with quite many controls and a save button.
What is the best practice to do when validating all the controls in the GUI.
One way is to validate when the Save button is hit.
Another way is to validate each Control while entering data into the different controls and as long as any control is invalid
keep the Save button disabled and when all the controls is valid you enable the Save button.
These are the two main alternatives that I think is the best.
//Tony
.
- References:
- Validating GUI
- From: Tony Johansson
- Validating GUI
- Prev by Date: Re: How do I make an application with C# Form and native C++ ?
- Next by Date: Task Parallel Library
- Previous by thread: Re: Validating GUI
- Next by thread: Re: Validating GUI
- Index(es):
Relevant Pages
|