focusColor not working

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

focusColor not working

Post by snm »

I'm trying to change focus color of the field, and it seems not to work. Any color I'm setting, nothing change - it's always the same blue color around selected field.
traversalOn property is set to true.
Asking for property in Message Box shows "red" color

Code: Select all

set the focusColor of field "F1" to "red"
Did I miss to declare something important or it's a bug in LC 5.0.2 for Mac?
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: focusColor not working

Post by jmburnod »

Hi,

I have the same results with LC 5.0.
set the focusColor dont work for me :shock:

Best regards

Jean-Marc
https://alternatic.ch
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: focusColor not working

Post by bn »

Hi Jean-Marc and snm,

if on a mac you set menu: view -> look and feel -> emulated-Mac OS classic or Motif then the focusColor shows. Default is "Native Theme" and for that setting the focusColor has no effect since it is, well, not Native to have a red focusColor. The same goes for some other interface elements

Kind regards

Bernd
snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: focusColor not working

Post by snm »

Thanks a lot Bernd

snm
Post Reply