Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
Alex, Thanks for responding. I spent all day trying things out but now I need a break. I am going out to eat and tonight or tomorrow I will revisit your code. It looks interesting. So far, I have a hover solution. I also have a mouse down and up while the mouse is down that sends messages to the

Re: mouseDown and within

2005-04-23 Thread Alex Tweedly
Thomas McGrath III wrote: Hey Eric and others, HELP, I am so damn close. With the adjusted script below I can pretend to trap a mouseUp even though the actual mouseUp handler in my script doesn't receive it. (This is because of the mouseDown issue "bug", sort of, at least to me it is!). Any way

Re: mouseDown and within

2005-04-23 Thread Cubist
sez [EMAIL PROTECTED] >Thanks, this is one of the ways I have been trying. Two things are >wrong: >1. If the mouse is down then messages are still sent to the original >control that took the mouseDown and it tries to highlight >2. This only highlights the button or sets the color to blue when mov

Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
Eric, I just posted another response before I saw this one. In the other the mouse up is faked a little bit. Tom On Apr 23, 2005, at 12:21 PM, Eric Chatonet wrote: Hi Tom, Could not you send the mouseUp message by yourself? ;-) Simplified here: on CheckOtherButtons repeat with i = 1 to the num

Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
Hey Eric and others, HELP, I am so damn close. With the adjusted script below I can pretend to trap a mouseUp even though the actual mouseUp handler in my script doesn't receive it. (This is because of the mouseDown issue "bug", sort of, at least to me it is!). Any way the check if the mouse is

Re: mouseDown and within

2005-04-23 Thread Eric Chatonet
Hi Tom, Could not you send the mouseUp message by yourself? ;-) Simplified here: on CheckOtherButtons repeat with i = 1 to the number of btns if the mouse is down then set the hilite of btn i to the mouseLoc is within the rect of btn i else if the mouseLoc is within the rect of btn

Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
Eric, Thanks, Yeah I didn't specify the PDA simulation aspect before. No apology is needed of course. I appreciate the advice always. So here is what I have so far (adapted to my needs of course). AND it works. Sort of. The problem is still two fold: 1. If I release the mouse over another accept

Re: mouseDown and within

2005-04-23 Thread Eric Chatonet
Hi Tom, I did not know you were working on a PDA interface: So, I apologize :-) The problem is very different indeed. I take the opportunity to say that Pat's solution seems a better approach since mousemove is an IDE "pending" message. If you want the button hilited when the mouse is down and the

Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
. Pat - Original Message - From: "Pat Trendler" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: Saturday, April 23, 2005 1:26 PM Subject: Re: mouseDown and within Tom, You can get mouseStillDown if it's in the target btn and also you can always get the m

Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
Eric, I tried your script for a while and it will need a bit more work to work for me. Thank you though. As far as the 'good ergonomics' , what I am trying to do in Rev works in our Director project and also works in our pda prototype. You see, on a PDA you don't have a mouseHover type of opera

Re: mouseDown and within

2005-04-23 Thread Pat Trendler
OTECTED]> To: "How to use Revolution" Sent: Saturday, April 23, 2005 1:26 PM Subject: Re: mouseDown and within Tom, You can get mouseStillDown if it's in the target btn and also you can always get the mouseloc. A bit of fiddling with these two should get you what you want. HT

Re: mouseDown and within

2005-04-23 Thread Eric Chatonet
Hi Tom, Menus are handled by the engine and unfortunately are not transcript statements :-( or :-) Something like that (non tested) in the card script: on mouseDown if "button" is in the target then CheckOtherButtons -- ∆ end if end mouseDown --- on Che

Re: mouseDown and within

2005-04-23 Thread Thomas McGrath III
Thanks Eric, So my trapping the mouseDown message will break what I want to do while the mouse is down?!! BUT when you mouseDown on a menu and then with it still down you nav down to a sub menu it seems to still highlight text items. And the same works in paint tools where you mouseDown a tool

Re: mouseDown and within

2005-04-23 Thread Eric Chatonet
Hi Tom, Once the mouse is down, the engine stops sending any message until the mouse is up. Then some retroactive messages are sent (as mouseleave). You can check this in the message watcher (where mouseStillDown is not shown). So, the only way I see to do that would be using a pending message wi

Re: mouseDown and within

2005-04-22 Thread Pat Trendler
evolution" Sent: Saturday, April 23, 2005 11:56 AM Subject: mouseDown and within Hello all, I have a few buttons and when the mouse is down over a button the background turns blue. This is good. Now I want to have the other buttons turn blue by still holding the mouseDown but moving it over th

Re: mouseDown and within

2005-04-22 Thread Thomas McGrath III
It seems that ever possible message PREVENTS the possibility of a mouseDown moving from one control to another and initiating the mouseDown on that without first releasing the mouse. Most programs at least will let you float a mouse cursor over items and hover to display a tooltip. What I want

mouseDown and within

2005-04-22 Thread Thomas McGrath III
Hello all, I have a few buttons and when the mouse is down over a button the background turns blue. This is good. Now I want to have the other buttons turn blue by still holding the mouseDown but moving it over the other buttons and when it is over them that they will act like a mouseDown has b