Using Drag-N-Drop

FileMaker 10 offers a ton of new functionality using Script Triggers. It's enough to make the mind wander and start envisioning all the cool drag-n-drop features you can now add to your solutions.

You start down the path of adding in this cool new functionality, then you realize... FileMaker doesn't have a full event model implementation. Any object you drop onto doesn't know anything about the object which was first clicked.

Thinking to yourself, you say "There's got to be a way. FileMaker can always find a way to make it happen." Then you hear it. "True, it can be done". You spin around to see where the voice came from and no one is there. You pause, as you wonder where the mysterious voice came from. "Oh, that's right, it's Matt Petrowsky reminding me that most things can be done in FileMaker."

All fiction aside, here the facts is in all it's glory, the fundamentals needed for the closest thing to true drag-n-drop in FileMaker!

AttachmentSize
Drag-N-Drop.zip241.09 KB

Comments

I was just informed that this particular topic of Drag-N-Drop has been covered by a developer who's technical skills I highly respect.

If you jump on over to this link

http://www.excelisys.com/web/downloads/index.php

You'll find a Drag and Drop example technique which uses some of the same principles as my own method, yet does it with 100% FileMaker. I looks a bit more refined, but it's essentially the same method which we both arrived at separately. I had not seen this file prior to implementing my own solution. Both methods have merits and, as with all possible solutions, it's a matter of preference.

Thanks Excelisys!

-- Matt Petrowsky - ISO FileMaker Magazine Editor