Workaround for getting Module Position X / Y

Post any examples or modules that you want to share here
Post Reply
User avatar
chackl
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Workaround for getting Module Position X / Y

Post by chackl »

Hello!

I Did a workaround for finding the actual Module Position where the GUI modules are placed with FS

How does it work?

First i switched on mouse-Move operations within the main GUI on the GUI module
Then i get the actual mouse position and send this to the sub modules. i want to locate X and Y.

In every sub module i get the mouse point again - And the difference of the values is the Module X and Y Position. The gag is that the module i want to locate the X and Y position also send mous-move values if i'm outside the module :lol:

Well it is not optimiced - any you may turn off the mouse-Move on the GUI again.

Best Regards.
C.Hackl
Attachments
modulpos test.fsm
Get Module Position Example
(1.99 KiB) Downloaded 1360 times
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
Post Reply