Re: Selecting text across multiple fields

2005-12-09 Thread Thomas McGrath III

Jonathan,

There is a request for some version of mouseDown to pass along its  
message to the target it is over instead of hogging it all. Don't  
waste your time with any of the mouse messages except mouseMove or  
the way I do it:


On mouseDown
myMouseDown
end mouseDown

on myMouseDown
-- check if mouse is down and check over what
--act upon that
-- check f mouse is up and check over what
-- act upon that
send myMouseDown to me in 50 milliseconds
end myMouseDown

I really hope they give us a fix or alternative for this. I thought a  
penDown would be better since it won't break mouseDown and would more  
closely match how this is supposed to work in on a PDA (with a pen).


Vote for this enhancement.

Tom

On Dec 9, 2005, at 1:17 PM, Lynch, Jonathan wrote:


I see also that I have to use mouse(3) to start the selection. An open
field just will not receive a mousedown message from mouse(1) - even
selectionchanged does not work for this, because it is sent when the
mouse is released, not when the mouse is pressed.

Torment.

Thanks Ken.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Friday, December 09, 2005 12:55 PM
To: Use Revolution List
Subject: Re: Selecting text across multiple fields

On 12/9/05 10:22 AM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote:


I am trying to figure out how to select text with the mouse across
multiple fields.

The problem is that with the mousebutton down, messages only get sent

to

the starting field, not other fields that you move the mouse over.

Does anyone have suggestions on how to overcome that?


You need to a use mouseMove and then check to see if the mouseLoc is
within
the rect of a specific field or object. You can't use the mouseControl
either for the same reason you mentioned. If you have a lot of  
objects,

you'll need to loop over them. Not pretty, but it works if you don't
have a
large number of objects.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Selecting text across multiple fields

2005-12-09 Thread Lynch, Jonathan
I see also that I have to use mouse(3) to start the selection. An open
field just will not receive a mousedown message from mouse(1) - even
selectionchanged does not work for this, because it is sent when the
mouse is released, not when the mouse is pressed.

Torment.

Thanks Ken.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Friday, December 09, 2005 12:55 PM
To: Use Revolution List
Subject: Re: Selecting text across multiple fields

On 12/9/05 10:22 AM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote:

> I am trying to figure out how to select text with the mouse across
> multiple fields.
> 
> The problem is that with the mousebutton down, messages only get sent
to
> the starting field, not other fields that you move the mouse over.
> 
> Does anyone have suggestions on how to overcome that?

You need to a use mouseMove and then check to see if the mouseLoc is
within
the rect of a specific field or object. You can't use the mouseControl
either for the same reason you mentioned. If you have a lot of objects,
you'll need to loop over them. Not pretty, but it works if you don't
have a
large number of objects.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Selecting text across multiple fields

2005-12-09 Thread Ken Ray
On 12/9/05 10:22 AM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote:

> I am trying to figure out how to select text with the mouse across
> multiple fields.
> 
> The problem is that with the mousebutton down, messages only get sent to
> the starting field, not other fields that you move the mouse over.
> 
> Does anyone have suggestions on how to overcome that?

You need to a use mouseMove and then check to see if the mouseLoc is within
the rect of a specific field or object. You can't use the mouseControl
either for the same reason you mentioned. If you have a lot of objects,
you'll need to loop over them. Not pretty, but it works if you don't have a
large number of objects.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution