Page 1 of 1
Field AutoHilite
Posted: Mon Aug 18, 2014 2:45 pm
by Gage
Hello!
I want users to be able to edit a field without the field getting the glowy blue box highlighting its border when they focus on it.
I know that I need the autoHilite property to be true for the user to be able to set an insertion point in the field, and that is good. I just want the visual hilite effect to go away.
Any suggestions?
Thanks!
Phil E.
Re: Field AutoHilite
Posted: Mon Aug 18, 2014 3:03 pm
by Klaus
Hi Phil,
I think you need to UNcheck "showfocusborder" for your field(s)!
Best
Klaus
Re: Field AutoHilite
Posted: Mon Aug 18, 2014 3:09 pm
by richmond62
Well . . . as far as I'm concerned that's a funny question because:
Over 'here' (Linux) I cannot see a blue glow . . .
However I have just knocked together one of my moronically simple stacks with one field "ttt" and
2 buttons "True" and "False" . . . and, you guessed it; button "False" contains this code:
on mouseUp
set the autoHilite of fld "ttt" to false
set the backgroundColor of fld "ttt" to empty
end mouseUp
and button "True" contains this code:
on mouseUp
set the autoHilite of fld "ttt" to true
set the backgroundColor of fld "ttt" to yellow
end mouseUp
I have mucked around with the backgroundColor of the field just because of the lack
of a blue glow over here on Linux.
Now, as far as I can see, whether the autoHilite of the field is true or false there is
no problem about typing text into it.
I am attaching the stack so you can play around with it.
Re: Field AutoHilite
Posted: Mon Aug 18, 2014 3:10 pm
by richmond62
Yup: Klaus, as usual, hits the nail right on the head.
Re: Field AutoHilite
Posted: Mon Aug 18, 2014 3:30 pm
by Gage
Thanks, guys!
Klaus, I honestly looked at every pane of the Property Inspector of the field, not one... not even two... but THREE whole times to make sure I wasn't gonna waste anyone's time with what seemed like a ridiculously simple question.
I plead that someone set the vis of button "showFocusBorder Check" to false on my IDE!!!!! o.O
Rats.
And Richmond, thanks for your stack. Both field options I see have the showFocusBorder set to true, so on my Mac, I get the glowy blue border I referred to for both

Now I know that's a Mac native thing, though!
Anyway, I am fixed! Thank you both!
Kindest Regards,
Phil E.
Re: Field AutoHilite
Posted: Mon Aug 18, 2014 5:32 pm
by richmond62
Um: it may also glow on Windows.
One should also know that Linux is, unlike both Mac and Windows, not monolithic, so while mouseOver a fild may not produce a glow on XFCE,
it may on KDE, LXDE and so on.
If someone "out there" happens to have a Linux install with multiple desktops they could do worse than
run my silly stack on all of them and report back
