>Seems like a property would be eaiser to deal with than a style.  Perhaps 
>setting the "semiHiliteOn" property would enable semiHilite behavior.

First, for platform consistency the 3 states should be True, False, Mixed.
>From HIG OS8 Guidelines p 28: "There is a mixed state for checkboxes, which
shows that a selected range of items has some in the on state and some in
the off state. For example, a text formatting checkbox for bold text would
be in the mixed state if a text selection contained both bold and non-bold
text."

Second, we do not need a new property, just the third state. A checkbox can
be _set_ to 3 hilite states, but the user does not choose "mixed" (in which
case use radio btns). "Mixed" is an indicative, read-only state, for example:

   get the textStyle of fld 1
   if it is "bold" then set the hilite of me to true
   else if it is "plain" then set the hilite of me to false
   else set the hilite of me to mixed

The only question is what "mixed" toggles to when clicked... selected or
unselected. Personal preference would be to selected ("true") in order to
indicate a positive rather than a negative decision.

>I've nnot seen much that on Win32, to tell the truth, and I suspect that
>most Win32 users, as well as pretty much *all* Mac users, would be
>confused as hell by it.

I think this comment wins the "Foot in Mouth" prize for the week.


/H

Hugh Senior
The Flexible Learning Company
Consultant Programming
Voice: +44 (0)1483.27 87 27
Web: www.flexibleLearning.com

Reply via email to