Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. UI Question

UI Question

Scheduled Pinned Locked Moved The Lounge
designquestiontutorialdiscussionworkspace
50 Posts 38 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #22

    I use OK and Cancel. I generally don't like Apply -- like Luc, I expect a Cancel to undo an Apply. For an app I've been working on I have a Settings (modal) dialog with OK and Cancel. The dialog does not set the settings, it does not know what they mean or where they go, that's handled by the calling Form upon exitting the dialog with OK. This makes persisting the settings into the config file easier as well.

    1 Reply Last reply
    0
    • L Lost User

      Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

      K Offline
      K Offline
      krumia
      wrote on last edited by
      #23

      Quote:

      Close: Close without saving. Cancel: Close without saving.

      When you see the redundancy, (if you don't have a very good reason for it) you must eliminate it. Go with OK, Cancel, and Apply I say.

      Peace, ye fat guts!

      1 Reply Last reply
      0
      • R R Giskard Reventlov

        Cancel: close without saving. Apply: save without closing. Save: save and close.

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        K Offline
        K Offline
        krumia
        wrote on last edited by
        #24

        We should have FOUR options actually: 1. Close without saving (Close=true, Save=false) 2. Save without closing (Close=false, Save=true) 3. Save and close (Close=true, Save=true) 4. Don't save, don't close (Close=false, Save=false) (huh?)

        Peace, ye fat guts!

        L J 2 Replies Last reply
        0
        • K krumia

          We should have FOUR options actually: 1. Close without saving (Close=true, Save=false) 2. Save without closing (Close=false, Save=true) 3. Save and close (Close=true, Save=true) 4. Don't save, don't close (Close=false, Save=false) (huh?)

          Peace, ye fat guts!

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #25

          It also needs an auto-close timeout, and a "Don't Close Anytime Soon" button. :)

          Luc Pattyn [My Articles] Nil Volentibus Arduum

          H 1 Reply Last reply
          0
          • L Lost User

            Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

            T Offline
            T Offline
            TheGreatAndPowerfulOz
            wrote on last edited by
            #26

            You should include an option to break the glass and remove the hammer to break the glass... oh wait...

            If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
            You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

            1 Reply Last reply
            0
            • L Luc Pattyn

              It also needs an auto-close timeout, and a "Don't Close Anytime Soon" button. :)

              Luc Pattyn [My Articles] Nil Volentibus Arduum

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #27

              How about a "Close but no cigar" button?

              Henry Minute Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is. Cogito ergo thumb - Sucking my thumb helps me to think.

              L G 2 Replies Last reply
              0
              • L Lost User

                Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

                G Offline
                G Offline
                Gary Wheeler
                wrote on last edited by
                #28

                Two buttons: "Save changes" and "Close dialog". "Save changes" also closes the dialog.

                Software Zen: delete this;

                1 Reply Last reply
                0
                • H Henry Minute

                  How about a "Close but no cigar" button?

                  Henry Minute Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is. Cogito ergo thumb - Sucking my thumb helps me to think.

                  L Offline
                  L Offline
                  Luc Pattyn
                  wrote on last edited by
                  #29

                  Not sure it fits the application, and then I try and avoid negatives as some people seem to get confused by them. Maybe "Apply Nicotine Patch" is more appropriate. :)

                  Luc Pattyn [My Articles] Nil Volentibus Arduum

                  1 Reply Last reply
                  0
                  • L Lost User

                    Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

                    C Offline
                    C Offline
                    Chris Meech
                    wrote on last edited by
                    #30

                    One button. Only. It say's "I'm Done". When the user clicks it, close the dialog and then prompt the user for what action to take. If there are changes, prompt for whether to save them or not. It's pretty simple, much like indexes that start at zero. ;P

                    Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                    W 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      I think I prefer the Task Dialog approach where you give people better choices. You pretty much chose your button texts with: Close without saving Save and close Save without closing

                      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #31

                      Pete:

                      Close without saving Save and close Save without closing

                      One more, Close without opening. My 5.

                      Happy Programming

                      B 1 Reply Last reply
                      0
                      • L Lost User

                        Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

                        A Offline
                        A Offline
                        anlarke
                        wrote on last edited by
                        #32

                        To provide a consistent user experience throughout Windows please follow their UI guidelines: Apply - will apply settings immediately, button is optional. Only incorporate this button when options are changed that can be immediately reviewed (like changing fonts/colors etc). Including this buttons usually means extra code. OK - apply changes and close Cancel - discard changes and close. Please don't reinvent the wheel, every time the user sees a different text than those above he/she need to read and think about it. You should not change their order either.

                        1 Reply Last reply
                        0
                        • L Luc Pattyn

                          "Save" and "Cancel". Always use verbs. Having "Close" and "Cancel" without "Apply" does not make sense to me as they are the same. Having both "Cancel" and "Apply" is confusing: will "Cancel" undo an earlier "Apply"?? OK is only OK when the dialog isn't related to a user action (and then it would be the only button, and "Close" would be equally OK). FWIW: I don't like "Apply" much, either it is an inexpensive operation and it should apply immediately (and be undone upon "Cancel"), or it is an expensive one and then it only happens upon "Save". :)

                          Luc Pattyn [My Articles] Nil Volentibus Arduum

                          C Offline
                          C Offline
                          CPallini
                          wrote on last edited by
                          #33

                          "OK"! :thumbsup:

                          Veni, vidi, vici.

                          1 Reply Last reply
                          0
                          • L Lost User

                            Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

                            C Offline
                            C Offline
                            Cristian Amarie
                            wrote on last edited by
                            #34

                            Remove all buttons and save immediately. Apply/OK is doable when a ton of changes are prone to undo, in this case a wizard will be better. Let a Close button to do just close. Think what Mac does.

                            Nuclear launch detected

                            1 Reply Last reply
                            0
                            • K krumia

                              We should have FOUR options actually: 1. Close without saving (Close=true, Save=false) 2. Save without closing (Close=false, Save=true) 3. Save and close (Close=true, Save=true) 4. Don't save, don't close (Close=false, Save=false) (huh?)

                              Peace, ye fat guts!

                              J Offline
                              J Offline
                              Johann van der Smut
                              wrote on last edited by
                              #35

                              krumia wrote:

                              Don't save, don't close

                              And just what would that button do? :doh:

                              I love go-o-o-o-ld!

                              G 1 Reply Last reply
                              0
                              • P Pete OHanlon

                                I think I prefer the Task Dialog approach where you give people better choices. You pretty much chose your button texts with: Close without saving Save and close Save without closing

                                *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                B Offline
                                B Offline
                                Brady Kelly
                                wrote on last edited by
                                #36

                                The DevExpress XAF framework has a nice combo I try and copy, Save and Close and Save and New, where the latter, of course, really also closes, but then immediately invokes the New command, for smoother capture.

                                1 Reply Last reply
                                0
                                • H Henry Minute

                                  How about a "Close but no cigar" button?

                                  Henry Minute Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is. Cogito ergo thumb - Sucking my thumb helps me to think.

                                  G Offline
                                  G Offline
                                  greldak
                                  wrote on last edited by
                                  #37

                                  I generally prefer Save - save , don't close Discard Changes - revert to original/clear or close without saving depending on behaviour of rest of system. Close - close, prompt for save if required If you click close and there are unsaved changes present a confirmation dialog The options NEVER CLICK THIS and Global Thermonuclear War are of course the other options

                                  1 Reply Last reply
                                  0
                                  • J Johann van der Smut

                                    krumia wrote:

                                    Don't save, don't close

                                    And just what would that button do? :doh:

                                    I love go-o-o-o-ld!

                                    G Offline
                                    G Offline
                                    greldak
                                    wrote on last edited by
                                    #38

                                    randomly change all the fields and stick its tonge out ;)

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

                                      W Offline
                                      W Offline
                                      wmerifield
                                      wrote on last edited by
                                      #39

                                      MehGerbil wrote:

                                      Close: Close without saving.
                                      Cancel: Close without saving.
                                      OK: Save then close.
                                      Apply: Save but don't close.

                                      depends on what you want to ascertain; 1. close/ok; is fine for notifications like "check your mailbox" or "we accidently deleted your database", but no response is required really, its a nag prompt and can even auto close if its being ignored 2. cancel; system is about to perform an action that needs to be authorised/acknowledged, can use it for "non-repudiation" and even track as part of user activity. 3. [ok/yes/no]/cancel]; can be a little confusing for a user becasue they're not really sure if the action is going to execute correctly - cancel, revert while ignoring the requested task? yes, execute as planned? no, could mean...execute a variation on the task or dont execute at all in which case its now the same as cancel again. and also how many variations are there for the particular task? its fine for a simple confirmation like an action with one of two option like "would you like to register for our monthly newsletter" while saving their user profile, the profile gets saved anyway. i use a wizard for extremely complicated scenarios but for the most part it depends on the use cases being catered to. software dev is a complicated excercise and more often than not a single view could have multiple scenarios being catered for, so i use form input and layout to collect data for each scenario(i.e. click this and show/hide that...highlight these...re-load this grid) and simply prompt the user with an ok/cancel option - "you are doing this? ok/cancel?" and at this point pass or fail the whole scenario. if i then prompted the user with "you are doing this? yes/no/cancel?" i would be setting myself up for a moot point of my own doing because if they are not sure the we really should proceed and the whole scenario should fail...so no==cancel and we have the confusing recursion again and in most cases it because the developer is unsure/careless! it's really a language comprehension issue not a programming paradigm! know the outcome being catered for and prompt around the context of the desired outcome.

                                      No one knows the things of a man except the spirit of that man; likewise no one knows the things of God except the Spirit of God whom we have received. He who is joined to the Lord, is ONE Spirit with him(Jesus) - 1Cor 2:10-16 & 6:17

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        Greetings, I'm building a new application template and I'm not sure how to handle one part of the User Interface. If a user has a configuration screen open and they wish to close it I don't know what buttons I should include. Theoretically, you could have 'Close', 'Cancel', 'Ok', and 'Apply' - which seems a bit much. Close: Close without saving. Cancel: Close without saving. OK: Save then close. Apply: Save but don't close. It used to be that I'd just follow what Microsoft does but I've found the 'OK' button confuses people. They usually end up pressing 'Apply' and then 'OK'. There comes a point when multiple options just confuse people. I'd like to reduce the number of buttons. Maybe 'OK' and 'Close' where the user gets a warning message if 'Close' would result in changes being lost. What do you think?

                                        T Offline
                                        T Offline
                                        Thornik
                                        wrote on last edited by
                                        #40

                                        OK + Cancel.

                                        1 Reply Last reply
                                        0
                                        • T TorstenH

                                          +5 on this answer, I don't know what the others have been drinking or smoking, but - Cancel, - Apply and - Close or Save are the common set of buttons you'll find in nearly all applications. "close without saving" "close with saving" How do you want to integrate THAT into an application? What's next? A button labeled "try-out-and-do-not-use-further-more-when-not-working"? I have translations in my applications that make a single word into a complete sentence kind of thingy (Arabic wording, don't ask me why). I don't want to know what a "close without saving" button would do to my layouts...

                                          regards Torsten When I'm not working

                                          J Offline
                                          J Offline
                                          jsc42
                                          wrote on last edited by
                                          #41

                                          Close without Saving = Quit So all you need is Save (should not be enabled if no unsaved changes) Close (this should prompt to save if there are any unsaved changes) Quit (closes without saving) Put in that order - safest to least safe.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups