Click here to Skip to main content
15,895,011 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: better way to draw common ui interfaces on more than 1 form Pin
Simon_Whale11-Jan-12 5:31
Simon_Whale11-Jan-12 5:31 
GeneralRe: better way to draw common ui interfaces on more than 1 form Pin
Pete O'Hanlon11-Jan-12 6:53
mvePete O'Hanlon11-Jan-12 6:53 
AnswerRe: better way to draw common ui interfaces on more than 1 form Pin
Eddy Vluggen11-Jan-12 7:16
professionalEddy Vluggen11-Jan-12 7:16 
GeneralRe: better way to draw common ui interfaces on more than 1 form Pin
John T.Emmatty17-Jan-12 19:56
John T.Emmatty17-Jan-12 19:56 
AnswerRe: better way to draw common ui interfaces on more than 1 form Pin
Eddy Vluggen18-Jan-12 7:03
professionalEddy Vluggen18-Jan-12 7:03 
AnswerRe: better way to draw common ui interfaces on more than 1 form Pin
Rahul Rajat Singh10-Feb-12 5:12
professionalRahul Rajat Singh10-Feb-12 5:12 
Question"Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff30-Dec-11 9:33
professionalBillWoodruff30-Dec-11 9:33 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Luc Pattyn30-Dec-11 9:52
sitebuilderLuc Pattyn30-Dec-11 9:52 
Hi Bill,

1.
over one hundred settings is quite a lot. I hope there is a lot of orthogonality in there, so the "mental model" complexity is limited.

2.
I advice to go for the simplest save/cancel/reset/redo/undo stuff that is sufficient for the job.

3.
when settings are grouped somehow, and their changes should be applied per group, rather than individually, I advice against tab pages (which one normally can switch away from at will, leaving multiple dirty pages, most of them out of sight).

4.
my preference goes like this:
- for each "functional unit", provide a separate modal dialog;
- give each dialog only two exit buttons: Save and Cancel; I tend to color them green and red respectively.
- give all controls their initial value; change their backcolor as soon as the user changes their value (so he can see what got saved changed before deciding on save/cancel);
- keep an accurate "modified" flag, and only enable the Save button if some change really has been applied;
- validate the inputs, don't allow the user to save invalid settings.
- optional: provide a way to reset a single control to its initial value;
- optional: provide a way to reset everything in the dialog to its initial value (not essential, user could cancel and open the dialog again).

5.
the above scheme may have two disadvantages:
4a. you can't modify settings of two units simultaneously (if they interact strongly, you might want to be able to do that);
4b. problems arise when functional units and their dialogs start to become hierarchical: when a parent dialog opens a child dialog, which gets closed by clicking Save, what should the parent's Cancel do? are the child's changed settings saved anyway (easy to implement), or is everything canceled? (more logical).

HTH

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum


modified 2-Jan-12 13:19pm.

GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff1-Jan-12 21:16
professionalBillWoodruff1-Jan-12 21:16 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Luc Pattyn2-Jan-12 2:12
sitebuilderLuc Pattyn2-Jan-12 2:12 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff2-Jan-12 15:41
professionalBillWoodruff2-Jan-12 15:41 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Eddy Vluggen30-Dec-11 10:00
professionalEddy Vluggen30-Dec-11 10:00 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff1-Jan-12 21:28
professionalBillWoodruff1-Jan-12 21:28 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Eddy Vluggen2-Jan-12 6:39
professionalEddy Vluggen2-Jan-12 6:39 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
jschell31-Dec-11 13:40
jschell31-Dec-11 13:40 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff1-Jan-12 21:43
professionalBillWoodruff1-Jan-12 21:43 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
jschell2-Jan-12 11:09
jschell2-Jan-12 11:09 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff2-Jan-12 15:26
professionalBillWoodruff2-Jan-12 15:26 
Questionhow to use Barcode in POS and Inventory system (Design wise)? Pin
Omar Rwemi29-Dec-11 5:48
Omar Rwemi29-Dec-11 5:48 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
jschell29-Dec-11 14:22
jschell29-Dec-11 14:22 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Eddy Vluggen30-Dec-11 9:33
professionalEddy Vluggen30-Dec-11 9:33 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Roger Wright31-Dec-11 16:34
professionalRoger Wright31-Dec-11 16:34 
GeneralRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Patrick Harris20-Feb-12 18:02
Patrick Harris20-Feb-12 18:02 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Omar Rwemi1-Jan-12 3:22
Omar Rwemi1-Jan-12 3:22 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Shameel2-Jan-12 2:26
professionalShameel2-Jan-12 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.