comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to get mouse values in ION
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to get mouse values in ION [message #27479] Thu, 25 October 2001 02:53 Go to next message
Malcolm Walters is currently offline  Malcolm Walters
Messages: 8
Registered: October 2001
Junior Member
James Adams wrote in message <3BD7451B.85485604@ucar.edu>...
> Hello,
>
> I have been trying to get mouse values from the ION system variable
> $Mouse. However everything is not working as advertised, or more likely
> I have misunderstood how to use this to get my mouse location I keep
> getting (0, 0) for the (X, Y) of my mouse, and I don't think this is
> correct. Attached is a brief ION Script which demonstrates what I'm
> trying to do. Thanks in advance for any assistance or suggestions.
>
> -James Adams
>
>
Having only been on a 1 day course on ION Script I am probably not the best
qualified to answer this.
However one difference between your code and the examples is that you are
using Mouse.X rather than Mouse.x.
I did write some programs which did get the mouse position so if necessary I
could try to find them.
Malcolm Walters
Re: How to get mouse values in ION [message #27604 is a reply to message #27479] Thu, 25 October 2001 10:05 Go to previous message
James Adams is currently offline  James Adams
Messages: 7
Registered: October 2001
Junior Member
Malcolm Walters wrote:

> James Adams wrote in message <3BD7451B.85485604@ucar.edu>...
>> Hello,
>>
>> I have been trying to get mouse values from the ION system variable
>> $Mouse. However everything is not working as advertised, or more likely
>> I have misunderstood how to use this to get my mouse location I keep
>> getting (0, 0) for the (X, Y) of my mouse, and I don't think this is
>> correct. Attached is a brief ION Script which demonstrates what I'm
>> trying to do. Thanks in advance for any assistance or suggestions.
>>
>> -James Adams
>>
>>
> Having only been on a 1 day course on ION Script I am probably not the best
> qualified to answer this.
> However one difference between your code and the examples is that you are
> using Mouse.X rather than Mouse.x.
> I did write some programs which did get the mouse position so if necessary I
> could try to find them.
> Malcolm Walters

Thank you this did make a difference. Also I had to make another page call
this one before it worked so that is also something to consider. The mouse
values come from the previous page.

-James
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Message From RSI VP of Engineering
Next Topic: Simple bug in IDL 5.4 compiler under Win2000

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:47:45 PDT 2025

Total time taken to generate the page: 0.00578 seconds