Roland,
The best I can come up with is using the openField and closeField messages to
set the colour of the line within the field, instead of setting the background
colour of the field, this gives you a little more control over the position of
the ‘highlighted' area. Something like this in a be
Hello J. Thank you. Helpful. Especially the triggers mentioned.
Unfortunately the focusborder property does not work in WIndows. In the
Dictionary Window 92 is mentioned (uh...?) but it also does not work in 8.1
(and I guess in Windows 10). Of course I can set the borderwidth and
bordercolor when
The focusborder property will outline the currently active field with a color.
If you use that, you won't have to set the field's backcolor.
If you do want to script the behavior, you can use either the openfield or
focusIn message as the trigger. When focus is lost, a focusOut message is sent
Sorry - mistyped: I wanted to write: "Is it possible ?"
On 29 January 2016 at 11:45, Roland Huettmann
wrote:
> Question: textcolor when text is selected
>
> It is possible to set the textcolor when the text is hilited? I could not
> find a way doing this.
>
> Roland
>
>
>
> On 29 January 20
Question: textcolor when text is selected
It is possible to set the textcolor when the text is hilited? I could not
find a way doing this.
Roland
On 29 January 2016 at 10:21, Roland Huettmann
wrote:
> Paul, yes, autohilite does it. ) But nevertheless, to perform some action,
> I need a trigg
Paul, yes, autohilite does it. ) But nevertheless, to perform some action,
I need a trigger while tabbing.
I am using LC 7.1, Windows 8.1
The actual question was another one:
The text is highlighted - yes - in both cases.
But the single-line field rectangle is not, just the text itself.
I woul
On Jan 28, 2016, at 4:07 AM, Roland Huettmann
wrote:
>
> Maybe I am missing something, but I need to script this with "on
> tabkey"-event handlers, "on textchanged" handlers, " on deletekey" handlers
> and go with "select the text of..." or "select line 1 of...". Otherwise the
> cursor is always
Hi.
I have not looked carefully at your coloring issues, but put this in the card
script:
on openField
select the text of the target
end openField
Can you think of a way to do this with the tab key message? Anyway, with either
of those, you can also vet the target field itself, skipping