On Tue, 17 Jul 2001 Kevin Miller <[EMAIL PROTECTED]> wrote:
> On 17/7/01 6:34 pm, Scott Raney <[EMAIL PROTECTED]> wrote:
>
> > 2) Make it apply to all objects (i.e., buttons and players also get a
> > focus border in the Motif look and feel, and it might be nice to be
> > able to turn this off).
> > 3) Make it global or an inheritable stack property.
> > 4) Hack the focusColor property to have some non-existing color be a
> > cue to not draw the focus border at all.
>
> It does need to apply object by object - as you do generally want this on.
> Turning it off happens on a case-by-case basis where you're doing something
> cool that the field object probably wasn't originally designed for (such as
> a multi-column list). In such a case, no way do you want to have an extra
> object there to draw the border with. As such it has to be 2 or 4, and I
> would go for 4, as 2 is going to be a real hassle from the cross-platform
> point of view (you have to turn this property off on Mac for buttons, but
> then turn it on again on UNIX).
Actually I hadn't even considered this tangent: Focus borders for
fields on Windows anyone? I was only considering it as a negative
option, where setting it to false prevented it from being drawn on
Motif and Macintosh look and feel settings, but setting it to true
wouldn't cause a focus border to always be drawn for all object types
on all platforms. And now that I consider it, I think it's probably
not worth considering ;-)
So, by your criteria I think option 2 would work too. And I can't say
that I'm thrilled with the idea of having a color named "transparent"
which seems confusing to me. Next thing you know, people will be
setting the backColor to "transparent" and complaining when their
fields are still opaque...
Regards,
Scott
> Regards,
>
> Kevin
>
> Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
> Runtime Revolution Limited - Power to the Developer!
> Tel: +44 (0)131 718 4333. Fax: +44 (0)1639 830 707.
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.