Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-27 Thread Kay C Lan
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Sannyasin Brahmanathaswami
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Richard Gaskin
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Mike Bonner
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'

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Peter M. Brigham
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Sannyasin Brahmanathaswami
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Peter M. Brigham
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Kay C Lan
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread Sannyasin Brahmanathaswami
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread Paul_Hibbert
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread dunbarx
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread Mark Schonewille
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread J. Landman Gay
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

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread dunbarx
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

List Field Not receiving Mouse messages unless a line is clicked?

2016-04-25 Thread Sannyasin Brahmanathaswami
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