PDA

View Full Version : Rollout user interface spinner and colorpicker


antonv
10-11-2005, 08:33 PM
Hi guys,
I was wondering if there is a way to make a spinner or a colorpicker display greyed out like you can do with the checkbox.tristate property. I think I've seen it before but I'm not sure...

What I'm trying to do is get the same properties of multiple object and if they are different to show a greyed interface element so there is no confusion about those properties. Any ideas on how to achieve this if the above is not possible?

Thanks!

Bobo
10-11-2005, 08:48 PM
Hi guys,
I was wondering if there is a way to make a spinner or a colorpicker display greyed out like you can do with the checkbox.tristate property. I think I've seen it before but I'm not sure...

What I'm trying to do is get the same properties of multiple object and if they are different to show a greyed interface element so there is no confusion about those properties. Any ideas on how to achieve this if the above is not possible?

Thanks!

No way for color pickers (short of disabling it), but the spinner supports an indeterminate state like the tristate mode of checkboxes:


spinner <name> [ <caption> ] [ range:[min,max,val] ] [type:<name>] [scale:<float>] [ fieldWidth:<integer>] [indeterminate:<boolean>] [controller(<controller>)]

Indeterminate:
When set to true, the spinner edit field is blank.

antonv
10-11-2005, 08:55 PM
I am using the indeterminate for the spinner already but it does not give enough visual clues...
I guess I'll have to think about something else.

Thanks for the quick answer Bobo!

Bobo
10-11-2005, 10:01 PM
I am using the indeterminate for the spinner already but it does not give enough visual clues...
I guess I'll have to think about something else.

Thanks for the quick answer Bobo!

When the spinner is grayed out, it is disabled. I assume this is why it is just empty but not gray when in indeterminate state...

CGTalk Moderation
10-11-2005, 10:01 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.