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. A matter of style

A matter of style

Scheduled Pinned Locked Moved The Lounge
salesquestion
45 Posts 33 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.
  • G Graham Bradshaw

    It's an accessibility issue. The colon is used by some screen reader programs (e.g. those for visually impaired users) to detect the labels.

    N Offline
    N Offline
    Not Active
    wrote on last edited by
    #10

    Thats a good point, hadn't thought of that. Thanks


    only two letters away from being an asset

    1 Reply Last reply
    0
    • B Big Daddy Farang

      This was discussed here in the recent past but I have no idea what the consensus was if any. So here's YAP. (Yet another opinion.) There needs to be some form of visual separation between the "Customer Name" etc. and the Values. If the values are also labels, it might be done with colons or spacing. If the values are in text boxes or similar, the colons would not be extraneous. Did your CIO say why not to use colons? Seems a bit drastic. I mean, where would be without our colons? :laugh: Edit: struck not :-O

      BDF A learned fool is more a fool than an ignorant fool. -- Moliere

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #11

      Big Daddy Farang wrote:

      Did your CIO say why not to use colons? Seems a bit drastic.

      No reason given. Guess its just a means of exercising control where he can and where he shouldn't be.


      only two letters away from being an asset

      B N 2 Replies Last reply
      0
      • N Not Active

        Big Daddy Farang wrote:

        Did your CIO say why not to use colons? Seems a bit drastic.

        No reason given. Guess its just a means of exercising control where he can and where he shouldn't be.


        only two letters away from being an asset

        B Offline
        B Offline
        Big Daddy Farang
        wrote on last edited by
        #12

        So he's a colon control freak? X| :laugh:

        BDF A learned fool is more a fool than an ignorant fool. -- Moliere

        N M 2 Replies Last reply
        0
        • L Lost User

          Why should you use colon????? I think MS uses those since it looked good in DOS ( as a visual separator). It seems to have carried the tradition. Today if you have a label and a textbox that look different, I dont think colon is of much use. As an end user, I dont even notice the difference. Is there any scientific reason for using that?

          Y Offline
          Y Offline
          Yusuf
          wrote on last edited by
          #13

          Anup Shinde wrote:

          Is there any scientific reason for using that?

          and is there any scientific reason for not using it? :laugh:

          Yusuf

          1 Reply Last reply
          0
          • T TheGreatAndPowerfulOz

            then where do you go?

            K Offline
            K Offline
            keyboard warrior
            wrote on last edited by
            #14

            sorry? i have never been fond of using colons in forms. i think it get messier and clutters things up when for the most party, all my textboxes have a space between the header and it is clearly defined by the structure more than some colon.

            ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

            J 1 Reply Last reply
            0
            • B Big Daddy Farang

              So he's a colon control freak? X| :laugh:

              BDF A learned fool is more a fool than an ignorant fool. -- Moliere

              N Offline
              N Offline
              Not Active
              wrote on last edited by
              #15

              One must be able to control ones colon.


              only two letters away from being an asset

              F 1 Reply Last reply
              0
              • N Not Active

                So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                only two letters away from being an asset

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

                I like colons. but only on horizantal 'label-field' relationships.  I believe this is because most of my users are acustomed to the colon as an expression of expectation, rather than a mere useless decoration.

                1 Reply Last reply
                0
                • B Big Daddy Farang

                  This was discussed here in the recent past but I have no idea what the consensus was if any. So here's YAP. (Yet another opinion.) There needs to be some form of visual separation between the "Customer Name" etc. and the Values. If the values are also labels, it might be done with colons or spacing. If the values are in text boxes or similar, the colons would not be extraneous. Did your CIO say why not to use colons? Seems a bit drastic. I mean, where would be without our colons? :laugh: Edit: struck not :-O

                  BDF A learned fool is more a fool than an ignorant fool. -- Moliere

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

                  Big Daddy Farang wrote:

                  I mean, where would be without our colons? :laugh:

                  Constipated?

                  1 Reply Last reply
                  0
                  • L Lost User

                    Why should you use colon????? I think MS uses those since it looked good in DOS ( as a visual separator). It seems to have carried the tradition. Today if you have a label and a textbox that look different, I dont think colon is of much use. As an end user, I dont even notice the difference. Is there any scientific reason for using that?

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

                    It's not all about the UI; it's also about reflecting real world use of the colon: as an introductory break.

                    1 Reply Last reply
                    0
                    • K keyboard warrior

                      sorry? i have never been fond of using colons in forms. i think it get messier and clutters things up when for the most party, all my textboxes have a space between the header and it is clearly defined by the structure more than some colon.

                      ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

                      J Offline
                      J Offline
                      JudyL_MD
                      wrote on last edited by
                      #19

                      jgasm wrote:

                      sorry?

                      Requires knowledge of english slang. It's a play on words regarding human anatomy. The intenstinal tract contains a "colon" so ... how can you "go" (euphemism for venting bodily wastes) if you don't use a colon Judy

                      B 1 Reply Last reply
                      0
                      • N Not Active

                        So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                        only two letters away from being an asset

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #20

                        Mark Nischalke wrote:

                        I've always used a colon but have recently been told by our CIO to not use them.

                        If you're using a C syntax like language, then the only thing you need to worry about is when he tries to remove your semi-colons.

                        Deja View - the feeling that you've seen this post before.

                        My blog | My articles

                        1 Reply Last reply
                        0
                        • N Not Active

                          So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                          only two letters away from being an asset

                          M Offline
                          M Offline
                          Mike Dimmick
                          wrote on last edited by
                          #21

                          Show him, oh, I don't know, just about every dialog in Windows!

                          DoEvents: Generating unexpected recursion since 1991

                          P 1 Reply Last reply
                          0
                          • M Mike Dimmick

                            Show him, oh, I don't know, just about every dialog in Windows!

                            DoEvents: Generating unexpected recursion since 1991

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #22

                            Impirical proof does not stop zealots.

                            Deja View - the feeling that you've seen this post before.

                            My blog | My articles

                            1 Reply Last reply
                            0
                            • N Not Active

                              So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                              only two letters away from being an asset

                              E Offline
                              E Offline
                              Ennis Ray Lynch Jr
                              wrote on last edited by
                              #23

                              Labels on labels get colons labels on actionable elements do not. However, I try to be consistent. Personally, instead of a colon I prefer to use strong.

                              Need a C# Consultant? I'm available.
                              Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

                              1 Reply Last reply
                              0
                              • N Not Active

                                So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                                only two letters away from being an asset

                                T Offline
                                T Offline
                                Tom Delany
                                wrote on last edited by
                                #24

                                I always have used colons after the labels... Just my preference. I resisted any anatomical wise-cracks (it was tough). ;)

                                WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                                1 Reply Last reply
                                0
                                • N Not Active

                                  So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                                  only two letters away from being an asset

                                  G Offline
                                  G Offline
                                  Gary R Wheeler
                                  wrote on last edited by
                                  #25

                                  For me, it depends upon the layout. If the label is above the control it applies to, I don't use a colon. If the label is to the left of the control, I use a colon. I stick to one layout in a given application (labels above or labels left). I don't know where I got this convention. Now that's just scary :sigh:.

                                  Software Zen: delete this;
                                  Fold With Us![^]

                                  1 Reply Last reply
                                  0
                                  • N Not Active

                                    So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                                    only two letters away from being an asset

                                    R Offline
                                    R Offline
                                    Roger Wright
                                    wrote on last edited by
                                    #26

                                    I've always been lavish in my use of separators for clarity, and the colon was a favorite. But since having one-third of my colon removed I've become much more conservation minded, switching instead to semi-colons.

                                    "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                                    1 Reply Last reply
                                    0
                                    • B Big Daddy Farang

                                      So he's a colon control freak? X| :laugh:

                                      BDF A learned fool is more a fool than an ignorant fool. -- Moliere

                                      M Offline
                                      M Offline
                                      Mycroft Holmes
                                      wrote on last edited by
                                      #27

                                      Aint that a PITA

                                      Never underestimate the power of human stupidity RAH

                                      1 Reply Last reply
                                      0
                                      • N Not Active

                                        So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                                        only two letters away from being an asset

                                        F Offline
                                        F Offline
                                        Frank Fajardo
                                        wrote on last edited by
                                        #28

                                        Your app must have nothing to improve on to notice such things... :-D I must admit I can be meticulous in how my app looks.

                                        1 Reply Last reply
                                        0
                                        • N Not Active

                                          So whats the consensus around here? When creating an app do you place a colon after your labels or not? i.e. Customer Name: [label] or Customer Name [label] I've always used a colon but have recently been told by our CIO to not use them. I think it just makes everything bleed together and looks terrible.


                                          only two letters away from being an asset

                                          I Offline
                                          I Offline
                                          Idaho Edokpayi
                                          wrote on last edited by
                                          #29

                                          If it is a localized app the developer might want to leave the colons out - something else might be more appropriate for other languages.

                                          Idaho Edokpayi

                                          T 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