AnsweredAssumed Answered

Query Mouse State for Hover While Dragging

Question asked by NicoChiaro on Jan 16, 2017
Latest reply on Jan 17, 2017 by NicoChiaro

Hello,

 

 

I have a popover which contains a drag and drop area. I want to realize a HoverPopover Function similar to the one described here:

 

https://www.teamdf.com/blogs/popovers-that-open-and-close-on-mouse-over/

 

One Problem is in my way: if the cursor is dragging a file it will not be handled as a MouseOver by filemaker. So I have to query the state of the mouse somehow.

 

I Know there are Javascript Functions which can do that:

 

mousedown - How to check the current mouse button state Using Javascript - Stack Overflow

 

And I use The MBS Plugin which is able to register and run JS without A webviewer:

 

Monkeybread Software - MBS FileMaker Plugin: Component: JavaScript

 

Well I don't know anything about Javascript so I might need a little push in the right direction.

 

 

I would result in dragging a file onto an icon which contains a popover which is triggered to open and drop the file in the drop area and Import the file or whole direction recursively. (This already works and is quite cool)

 

Thanks a lot for your help

 

 

Nico

Outcomes