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
, skipping those that might
not be of interest, or re-directing to specific fields.
Craig Newman
-Original Message-
From: Roland Huettmann
To: How to use LiveCode
Sent: Thu, Jan 28, 2016 7:09 am
Subject: Selecting text in single-line entry fields - small UI issue
This is a small issue, not
This is a small issue, not critical. Nevertheless, I am curious to know if
there is a solution.
In almost all cases, tabbing from single-line entry field to single-line
entry field, I prefer selecting the whole text instead of having the
pointer mark after the text. It allows to quickly enter new