Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Bryce S. on July 16, 2009, 05:07:23 am



Title: Feature Request - Better highlighting of CHECKBOX when it has focus.
Post by: Bryce S. on July 16, 2009, 05:07:23 am
Hi,

When a checkbox has focus would it be possible to give it a bit of surrounding colour or something to make it stand out as having focus like all other fields have.
 Have had a couple of users mention they can't tell where they are on the form once the focus goes to a checkbox.
Here's a couple of screen shots to highlight issue:

input - checkbox without focus.jpg
input - checkbox with focus.jpg

You have to look really close to see the difference.
Worse is in an input array (without row highlighting):

InputArray-which_checkbox_has_focus.jpg




Title: Re: Feature Request - Better highlighting of CHECKBOX when it has focus.
Post by: Bryce S. on July 16, 2009, 05:17:11 am
(Woops - that got away on me before I had finished ... I'll try again.)

Hi,

When a checkbox has focus would it be possible to give it a bit of surrounding colour or something to make it stand out as having focus like all other fields have.
 Have had a couple of users mention they can't tell where they are on the form once the focus goes to a checkbox.
Here's a couple of screen shots to highlight issue:

Input-checkbox_without_focus.jpg
(http://Input-checkbox_without_focus.jpg)

Input-checkbox_with_focus.jpg
(http://Input-checkbox_with_focus.jpg)

You have to look really close to see the difference above.
Worse is in an input array (without row highlighting) below:

InputArray-which_checkbox_has_focus.jpg
(http://InputArray-which_checkbox_has_focus.jpg)
tip: the row beside 'todd mitchell' has focus - when you switch back and forth you can see checkbox moves down one pixel but it is not really obvious to users.

Thanks,
  Bryce Stenberg
  IT Department
  Harness Racing New Zealand Inc.



Title: Re: Feature Request - Better highlighting of CHECKBOX when it has focus.
Post by: Reuben B. on July 16, 2009, 05:22:15 am
Hi Bryce,

I had the same feedback from users when I was at Quanta. 

With checkboxes we preferred the field prompts to be on the left so typically the text attribute was blank.  Hence our standard was TEXT="   " to make the border rectangle bigger and hence try and make the checkbox stand out.

But even that wasn't enough.  Then when pseudo styles came along I added something like this to the .4st style file. 

  <Style name="CheckBox:focus">
     <StyleAttribute name="backgroundColor" value="highlight" />
     <StyleAttribute name="textColor" value="highlightText" />
  </Style>

I think we even did the same for radiogroups.



Title: Re: Feature Request - Better highlighting of CHECKBOX when it has focus.
Post by: Bryce S. on July 16, 2009, 06:17:32 am
Thanks Reuben,

I've added that style to all our default.4st files. Works a treat.

Regards,
  Bryce.