Page 1 of 1

Trouble with example[Solved]

Posted: Tue Jan 22, 2013 9:56 pm
by alexalthauser
Image

Having trouble recreating the example from the manual. I enabled the mouse move messages on the mgui. The cursor changes when it moves in the window, but no coords are printed in the ruby console.

Re: Trouble with example

Posted: Tue Jan 22, 2013 10:04 pm
by support
Looks like you have the V input as the second one down, the default is for the top one, otherwise you have to address it properly.

Re: Trouble with example

Posted: Tue Jan 22, 2013 10:15 pm
by alexalthauser
Yes, I actually tried that right after I posted, it still doesn't output the coords from the window. However, I did hook it up to the mgui, and it returns coords when I mouse-over that module.

Re: Trouble with example

Posted: Tue Jan 22, 2013 10:48 pm
by trogluddite
I think that the extra "external" MGUI may be confusing things.
The boolean "true" for the mouse_over has to be connected to the MGUI that's inside the display window - setting mouse-over true for one MGUI won't also set it for other ones, as they are being shown on different areas of the screen.
That got it working here, anyway - hope it helps.

Re: Trouble with example

Posted: Tue Jan 22, 2013 10:59 pm
by alexalthauser
That was it. I thought it was an upper level switch, which would set the enable mouse moves to true for all components connected to it. Your way makes much more sense, though. Thank you.