Trouble with example[Solved]

For general discussion related FlowStone
Post Reply
alexalthauser
Posts: 9
Joined: Thu Jan 20, 2011 7:29 am

Trouble with example[Solved]

Post 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.
Last edited by alexalthauser on Tue Jan 22, 2013 11:00 pm, edited 1 time in total.
User avatar
support
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: Trouble with example

Post 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.
alexalthauser
Posts: 9
Joined: Thu Jan 20, 2011 7:29 am

Re: Trouble with example

Post 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.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Trouble with example

Post 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.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
alexalthauser
Posts: 9
Joined: Thu Jan 20, 2011 7:29 am

Re: Trouble with example

Post 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.
Post Reply