how do we make Dragable ?

Multimedia Builder

how do we make Dragable ?

Postby Tapdroid » Sun Mar 08, 2020 8:33 pm

I placed an html object on the right side of the canvas. On run, it displays a C: drive folder and contents.
How can we make all the gif contents in the folder dragable to the canvas, and all those files drag and drop
on the canvas?
Tapdroid
 
Posts: 31
Joined: Mon Apr 18, 2016 1:08 am

Re: how do we make Dragable ?

Postby Nigg » Mon Mar 09, 2020 7:41 am

It is not possible to interact with the browser object like a real access to the file system. Its like you try to drop hyperlinks from IE into any other application. That will only copy the text, not the binary data.

You should use the File-Open-Dialog for whatever you want to do. And I think a drag 'n drop feature is not supported without a plugin.
Nigg
 
Posts: 54
Joined: Thu Apr 14, 2011 2:10 pm

Re: how do we make Dragable ?

Postby Tapdroid » Mon Mar 09, 2020 10:16 am

Yeah...
wanted to open and drag from within mmb rather than separate window.

If the gifs were all contained in the mmb rather than from a folder, there should be,,, at least I thought I saw a
script back in the 90's, to make objects on the canvas dragable.

wasn't there a sample in 4.5 that had dragable objects?
Tapdroid
 
Posts: 31
Joined: Mon Apr 18, 2016 1:08 am

Re: how do we make Dragable ?

Postby Tapdroid » Mon Mar 09, 2020 11:51 am

I remember once upon a time I put together a little app that had a button labeled "Close"

The button would move away from the cursor when the user tried to click it.
That is pretty close to a drag...
Tapdroid
 
Posts: 31
Joined: Mon Apr 18, 2016 1:08 am


Return to MMB

Who is online

Users browsing this forum: MSN [Bot] and 1 guest