focusColor and look and feel issues

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
billworld
Posts: 188
Joined: Sat Oct 25, 2008 12:32 am

focusColor and look and feel issues

Post by billworld » Sun Mar 25, 2012 3:39 pm

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?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: focusColor and look and feel issues

Post by jacque » Sun Mar 25, 2012 5:45 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

billworld
Posts: 188
Joined: Sat Oct 25, 2008 12:32 am

Re: focusColor and look and feel issues

Post by billworld » Sun Mar 25, 2012 11:43 pm

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

Post Reply