Anothe drag and drop question

Just starting out? Need help? Post your questions and find answers here.
Andy72
User
User
Posts: 11
Joined: Fri Jun 02, 2006 8:25 am
Location: New Zealand

Anothe drag and drop question

Post by Andy72 »

Just got purebasic, so i'm very new, (haven't programmed anything serious since turbo pascal 5.5 in the early 90's!)

anyway, how can i drag say a gadget list item(s) to another app,
heres what i want, create a list of "files" in a gadget list and drag them to another app, when dropped to the new app import the files that my list point to?
:?

Dont know if I explaned that at all well!!
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Have a look in the forums for a product called EasyVent. It's by srod and is the best way to provide drag and drop functionality for all your gadgets (and other things).
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Andy72
User
User
Posts: 11
Joined: Fri Jun 02, 2006 8:25 am
Location: New Zealand

Post by Andy72 »

Cheers mate, I'll check it out

Sweet :wink:
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Hi Andy,

As brilliant as EasyVENT is ( :lol: :lol: ) it will only allow for dragging between gadgets in the same application.

Dragging between applications really requires a delve into COM and OLE and is not for the feint of heart! To do it you have to use interfaces and implement quite a number of methods. I've not as yet seen it done in Purebasic, but I read somewhere that Freak is working on a drag/drop library. If so, this might be what you're looking for.

Regards.
Last edited by srod on Fri Jun 02, 2006 10:43 am, edited 1 time in total.
I may look like a mule, but I'm not a complete ass.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

srod yes, freak is. He actually released a test version to some of us but no idea when it will be fully released.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Fangbeast wrote:srod yes, freak is. He actually released a test version to some of us but no idea when it will be fully released.
The privileged few! :D (Gimme gimme gimme... :twisted: )

Does it allow for dragging between different apps?
I may look like a mule, but I'm not a complete ass.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Fangbeast wrote:srod yes, freak is. He actually released a test version to some of us but no idea when it will be fully released.
You didn't fully read the NDA, did you? ;)
Good programmers don't comment their code. It was hard to write, should be hard to read.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

traumatic wrote:
Fangbeast wrote:srod yes, freak is. He actually released a test version to some of us but no idea when it will be fully released.
You didn't fully read the NDA, did you? ;)
What's an NDA? :oops:
I may look like a mule, but I'm not a complete ass.
eriansa
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Mar 17, 2004 12:31 am
Contact:

Post by eriansa »

OR : if you can't wait : Make a C++ DLL. I did and it works great.
PM me if you want the source.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

srod wrote:What's an NDA? :oops:
Non Disclosure Agreement

http://en.wikipedia.org/wiki/Non-disclosure_agreement

:)
Good programmers don't comment their code. It was hard to write, should be hard to read.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Oh dear, fangs is for the chop! :D

Actually, I read about the library in a post by Freak anyhow. He was responding to some question or other; so no harm done I reckon!

Eriansa: would your source convert over to PB easily? This is a question from someone with only a 'functional' knowledge of c++.
I may look like a mule, but I'm not a complete ass.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

srod wrote:Actually, I read about the library in a post by Freak anyhow. He was responding to some question or other; so no harm done I reckon!
Oh well, I was trying to be funnny but didn't succeed (as always).
I should definitely stop trying to - pure waste of time.
Good programmers don't comment their code. It was hard to write, should be hard to read.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

:oops:
I may look like a mule, but I'm not a complete ass.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

traumatic wrote:
srod wrote:Actually, I read about the library in a post by Freak anyhow. He was responding to some question or other; so no harm done I reckon!
Oh well, I was trying to be funnny but didn't succeed (as always).
I should definitely stop trying to - pure waste of time.
Keep trying, you can only improve! :P :) (and Just Kidding!)



Don't stop, humour and music are what life is all about.
Dare2 cut down to size
eriansa
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Mar 17, 2004 12:31 am
Contact:

Post by eriansa »

srod wrote:Eriansa: would your source convert over to PB easily? This is a question from someone with only a 'functional' knowledge of c++.
I couldn't. :oops:
Post Reply