On Wed, Apr 27, 2016 at 1:34 AM, Sannyasin Brahmanathaswami wrote:
> I think the default behavior should be that if you click on white space in
> the field, lines are unhilited.
>
> This is very intuitive for any user/use case, because hilites occur when
> the object you mouse on is under the mou
Well, Mouseleave works for my current use case.
And, testing… mouserelease is simple enough to script
on mouseRelease
set the hilitedlines of me to 0
end mouseRelease
That said. I’m not sure a new property is needed. IMHO I think the default
behavior should be that if you click on white space
Sannyasin Brahmanathaswami wrote:
> Perhaps the bug is not that the mousedown and mouseup are ignored,
> but that if the user clicks on empty space in the field, the
> hilitedline remains highlighted.
In version 6.0 and 8.0rc1 this works and would seem to do what you're
looking for:
-- field
I think there is a phrasing issue when reading "You use the hilitedLine
property to determine which line the user clicked.”
Especially when using toggle and multiple hilites.. Perhaps changing it to:
"You use the hilitedLine property to determine which lines are currently
hilited.”
mouseup doesn'
On Apr 26, 2016, at 11:15 AM, Sannyasin Brahmanathaswami wrote:
> Understood.. But even mouse release does not solve the core issue.
>
> Perhaps the anomaly is here:
>
> "You use the hilitedLine property to determine which line the user clicked.”
>
> Perhaps the bug is not that the mousedown an
Understood.. But even mouse release does not solve the core issue.
Perhaps the anomaly is here:
"You use the hilitedLine property to determine which line the user clicked.”
Perhaps the bug is not that the mousedown and mouseup are ignored, but that if
the user clicks on empty space in the field
Much of this is spelled out in the dictionary under "listBehavior":
If a field's listBehavior property is set to true, and the user clicks a line,
the entire line is highlighted. The Up and Down arrow keys move the selection
up or down.
Normally, the mouseUp and mouseDown messages are
On Tue, Apr 26, 2016 at 9:56 AM, Sannyasin Brahmanathaswami wrote:
>
> Certainly a newbie will be very frustrated if they want to trap for
> mouseup or down when it works for all other field types and all other
> objects.
>
OK I'll offer an alternative view. Craig has already mentioned that he's
For this use case, there are 4 list fields that want to retain their hilited
lines as the user traverses through them and 2 that do not…
So it was easy enough to just do this
On mouseleave
Set the hilited lines of me to none
End mouseLeave
For those two fields. And this is even better since
g
end mouseRelease
Still no mouseUp when you “deselect” the line, but I did notice a
mouseRelease message being sent.
Mac OS X 10.11.4 - LC 8.0.0 (rc1)
Paul
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/List-Field-Not-receiving-Mouse-messages-unless-a-line-i
So is it then a "non-feature" instead of a bug?
Craig
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/List-Field-Not-receiving-Mouse-messages-unless-a-line-is-clicked-tp4703852p4703857.html
Sent from the Revolution - User mailing list archive at
e.
Craig Newman
-Original Message-
From: Sannyasin Brahmanathaswami
To: How LiveCode
Sent: Mon, Apr 25, 2016 1:52 pm
Subject: List Field Not receiving Mouse messages unless a line is clicked?
I was trying to find a way to force a list field to unhilite it’s line.
The instinctive beha
On 4/25/2016 12:51 PM, Sannyasin Brahmanathaswami wrote:
Note that the mouseup message triggers the answer dialog only if you
click on a line.
If you click on the field below.. .nothing happens.
This seems to be a bug to me… since the mouseUP is in the script of
the field… the field show hear i
there is not.
I never noticed this before.
Craig Newman
-Original Message-
From: Sannyasin Brahmanathaswami
To: How LiveCode
Sent: Mon, Apr 25, 2016 1:52 pm
Subject: List Field Not receiving Mouse messages unless a line is clicked?
I was trying to find a way to force a list field
I was trying to find a way to force a list field to unhilite it’s line.
The instinctive behavior would be to just click away from any lines below the
list and then any hilited line in the list would be unhilited. But my handler
doesn’t fire if I click anywhere in the field that is not on a line
15 matches
Mail list logo