Field AutoHilite
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Field AutoHilite
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.
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
Hi Phil,
I think you need to UNcheck "showfocusborder" for your field(s)!
Best
Klaus
I think you need to UNcheck "showfocusborder" for your field(s)!
Best
Klaus
-
- Livecode Opensource Backer
- Posts: 10102
- Joined: Fri Feb 19, 2010 10:17 am
Re: Field AutoHilite
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.
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.
- Attachments
-
- autohiliter.livecode.zip
- Here's the stack.
- (528 Bytes) Downloaded 201 times
-
- Livecode Opensource Backer
- Posts: 10102
- Joined: Fri Feb 19, 2010 10:17 am
Re: Field AutoHilite
Yup: Klaus, as usual, hits the nail right on the head.
Re: Field AutoHilite
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.
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

Anyway, I am fixed! Thank you both!
Kindest Regards,
Phil E.
-
- Livecode Opensource Backer
- Posts: 10102
- Joined: Fri Feb 19, 2010 10:17 am
Re: Field AutoHilite
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
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
