More > Media Center 12 (Development Ended)

Boolean value for user library fields

<< < (3/6) > >>

Alex B:
Would a check box be different from a single radio button and a clear button besides it? (Except that it looks a bit different.)

Click the radio button on => the defined value is applied to the field
Click it off => the value is cleared

If only one value is defined it would be a boolean "check box". You would be able to define the data type and value that is used with this single radio button.

This approach would make possible to add new values (i.e. more radio buttons) later.

For example, you can already define only a single integer type value or more than one semicolon delimited integer type values. My suggestion would only add the radio button style display option.

EDIT

I am after for this radio button approach because MC already has the needed code. The Rating field works like I have described.

glynor:

--- Quote from: Alex B on October 31, 2006, 09:08:08 am ---Would a check box be different from a single radio button and a clear button besides it? (Except that it looks a bit different.)

--- End quote ---

Different, bad, and unintuitive.  That's all.  The "standard" boolean control is a checkbox, and they're small and don't require labels (single column width).  The radio buttons would work, but it's certainly not ideal.  Perhaps, if they give us any of this, it could have logic that:

1. If it is a field that only has two possible values (on and off, yes or no, etc), it shows a checkbox.

2. If it is a field that has more than 2 possible values then it shows radio buttons for each choice.

Alex B:
I just wanted to keep the idea as simple as possible and "use" the existing code. I am hoping that this would be easy to accomplish for JRiver. They would just need to clone the rating field code and modify it a bit (i.e. unlock the field options and add the display type selection option).

Though, I assume that coding a checkbox would be a routine task for the developers.

Without this checkbox option a one star boolean field would look like this:

glynor:

--- Quote from: Alex B on October 31, 2006, 02:28:16 pm ---Though, I assume that coding a checkbox would be a routine task for the developers.

--- End quote ---

One can only hope.   ;)

Alex B:
A hopeful yearly bump.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version