Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Join Date
    Feb 2004
    Posts
    131

    Checkbox and radio button question

    It seems kinda petty, but I was wondering if there was a way to hide the hotspot that appears around the entire text of a checkbox or radio button when it is clicked during runtime. It just doesn't look very professional.
    I am almost considering going back the fake button checkbox (see attached).
    Attached Files

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    I am almost considering going back the fake button checkbox
    lol, me too, im having trouble setting radiobutton states in a dialog

    i dont think theres any way to hide it, i would like to hide this box on the slider objects too!
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Feb 2004
    Posts
    131
    It seems like the only solution is to do it the old fashion way.

    Set your attributes on the checkbox to 13 x 13
    Then add a label beside your checkbox.

    At least this way it looks more professional.

  4. #4
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    These are Windows controls that behave the same way in most programs. Take a look at the Preferences dialog in AMS.
    Dermot

    I am so out of here

  5. #5
    Join Date
    May 2006
    Posts
    5,380
    yeah, i searched long n hard for a way to disable them in VB6 to no aval, just decided to live with it
    Open your eyes to Narcissism, Don't let her destroy your life!!

  6. #6
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    I don't think there is anything unprofessional about it, it's just meant to indicate which control has the focus. I have been designing software for many years and I never heard anyone complain about it or say my apps were unprofessional because of it. Your fake checkbox button will look a lot less professional on Vista for example because it will not take on the Vista look or behave like other checkboxes in other programs.
    Dermot

    I am so out of here

  7. #7
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by RizlaUK View Post
    lol, me too, im having trouble setting radiobutton states in a dialog
    What's not working? I tested this before and did not have any problems.
    Dermot

    I am so out of here

  8. #8
    Join Date
    May 2006
    Posts
    1,443
    it is "focus rect"
    it appears when an object gets focus which can get focus
    it is a standard on Windows OS
    it is appears for show to user which object gets focus
    it can be removed via subclassing the contol
    but it requires more programing effort

  9. #9
    Join Date
    Feb 2004
    Posts
    131
    Dermot

    Earlier I mentioned a solution for using the NEW AMS 7 checkboxes.
    By setting the size to 13 x 13 in attributes and adding a label beside your checkbox. This eliminates the annoying hotspot visible to the user when it is clicked.

    Overall it looks more professional, you agree?

    By the way, customers don't complain about software not looking professional, just its functionallity. The look of the software determines whether they believe YOU are professional or not. I have worked in marketing for over 2 decades, appearance is very important if you plan on building a business.

  10. #10
    Join Date
    May 2006
    Posts
    5,380
    What's not working?
    i posted an example in suggestions, radiobutton states can not be set on a dialog, in my project im trying to set them from a listbox on select event and its not working, so i made that quick example and it fails from a winbutton as well, plz, check the example, if it works for you im ripping vista out of my machine and putting xp in as i'v had nothing but problems with the dam thing since i got it!

    I don't think there is anything unprofessional about it
    me either, i just want to set the states!, lol

    it can be removed via subclassing the contol
    but it requires more programing effort
    yes, i found a lot of info saying the same thing, but no code or examples for PB or VB6
    Open your eyes to Narcissism, Don't let her destroy your life!!

  11. #11
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by Stephen G. View Post
    Dermot

    Earlier I mentioned a solution for using the NEW AMS 7 checkboxes.
    By setting the size to 13 x 13 in attributes and adding a label beside your checkbox. This eliminates the annoying hotspot visible to the user when it is clicked.

    Overall it looks more professional, you agree?

    By the way, customers don't complain about software not looking professional, just its functionallity. The look of the software determines whether they believe YOU are professional or not. I have worked in marketing for over 2 decades, appearance is very important if you plan on building a business.
    When you said the "old fashioned way" I assumed you meant using an AMS button like you said earlier. You are correct, if you use a label you can get rid of it, but then if you want the user to be able to click the label to check or uncheck, you have to write extra code, and they will expect to be able to just click the label because that's how all their other programs work. I still say there is nothing unprofessional about it especially when pretty all software behaves the same. Before IR introduce these new objects in version 7, I always found the fake ones very unprofessional because the behaved differently than in other programs.
    Dermot

    I am so out of here

  12. #12
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by RizlaUK View Post
    i posted an example in suggestions, radiobutton states can not be set on a dialog, in my project im trying to set them from a listbox on select event and its not working, so i made that quick example and it fails from a winbutton as well, plz, check the example, if it works for you im ripping vista out of my machine and putting xp in as i'v had nothing but problems with the dam thing since i got it!
    There is a problem setting the checked state to true. Setting it to false works fine. There also seems to be a problem using Page.SetRadioValue(). I know this worked fine in earlier testing.
    Dermot

    I am so out of here

  13. #13
    Join Date
    Feb 2004
    Posts
    131
    Dermot

    I don't think you understood what I was saying.
    I posted a sample project so you could see the difference.
    Attached Files

  14. #14
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    I understood perfectly. In your example I can click the label of the first box to check and uncheck it but I can't for the second one. You would have to add code to the label to change the state.
    Dermot

    I am so out of here

  15. #15
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Disregard my post about Page.SetRadioValue(). I should have used DialogEx.SetRadioValue() which works fine. I still find myself making that mistake when working with dialogs.
    Dermot

    I am so out of here

Similar Threads

  1. use of components CheckBox and RadioButton
    By luffymk in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 10-10-2007, 03:06 PM
  2. Disabling radio button....
    By cvaden in forum Setup Factory 6.0
    Replies: 1
    Last Post: 07-24-2003, 10:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts