Page 1 of 1

focusColor and look and feel issues

Posted: Sun Mar 25, 2012 3:39 pm
by billworld
I've been spending a lot of time trying to figure out why a field set with a focusColor was having no effect. I then saw mention in the dictionary description for "focusColor" the following:

"If the lookAndFeel is set to "Macintosh" or "Appearance Manager", the focusColor affects only fields."

I'm on Mac Snow Leopard and have the look and feel set to "Native". When I switched this to any of the other options the field focusColor was finally being displayed. Is this a documenatation error or program error or both?

Is there no way to get a custom focusColor in "Native" look and feel on Mac?

Re: focusColor and look and feel issues

Posted: Sun Mar 25, 2012 5:45 pm
by jacque
If native appearance is used, the engine asks the OS to draw the fields and corresponding LiveCode properties won't apply. If you choose not to use native OS appearance then LiveCode draws the entire field itself and can use the property settings you want.

So the short answer is, no, if you let the OS draw the fields then only OS-native appearance will show.

Re: focusColor and look and feel issues

Posted: Sun Mar 25, 2012 11:43 pm
by billworld
Seems like the documentation needs to be udpated as the passage I quoted from the Dictionary is misleading. Regardless, is it documented somewhere exactly which properties do and do not have an effect in Native look and feel mode?

Thanks

Bill