Just starting out? Need help? Post your questions and find answers here.
Andy72
User
Posts: 11 Joined: Fri Jun 02, 2006 8:25 am
Location: New Zealand
Post
by Andy72 » Fri Jun 02, 2006 8:37 am
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!!
Fangbeast
PureBasic Protozoa
Posts: 4789 Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)
Post
by Fangbeast » Fri Jun 02, 2006 9:17 am
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
Posts: 11 Joined: Fri Jun 02, 2006 8:25 am
Location: New Zealand
Post
by Andy72 » Fri Jun 02, 2006 9:23 am
Cheers mate, I'll check it out
Sweet
srod
PureBasic Expert
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Fri Jun 02, 2006 10:30 am
Hi Andy,
As brilliant as EasyVENT is (
) 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.
Fangbeast
PureBasic Protozoa
Posts: 4789 Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)
Post
by Fangbeast » Fri Jun 02, 2006 10:34 am
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
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Fri Jun 02, 2006 10:37 am
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!
(Gimme gimme gimme...
)
Does it allow for dragging between different apps?
I may look like a mule, but I'm not a complete ass.
traumatic
PureBasic Expert
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Fri Jun 02, 2006 11:13 am
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
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Fri Jun 02, 2006 11:17 am
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?
I may look like a mule, but I'm not a complete ass.
eriansa
Enthusiast
Posts: 277 Joined: Wed Mar 17, 2004 12:31 am
Contact:
Post
by eriansa » Fri Jun 02, 2006 11:21 am
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
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Fri Jun 02, 2006 11:31 am
Good programmers don't comment their code. It was hard to write, should be hard to read.
srod
PureBasic Expert
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Fri Jun 02, 2006 11:38 am
Oh dear, fangs is for the chop!
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
Posts: 1661 Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:
Post
by traumatic » Fri Jun 02, 2006 11:41 am
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
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Fri Jun 02, 2006 11:49 am
I may look like a mule, but I'm not a complete ass.
Dare
Addict
Posts: 1965 Joined: Mon May 29, 2006 1:01 am
Location: Outback
Post
by Dare » Fri Jun 02, 2006 11:56 am
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!
(and Just Kidding!)
Don't stop, humour and music are what life is all about.
Dare2 cut down to size
eriansa
Enthusiast
Posts: 277 Joined: Wed Mar 17, 2004 12:31 am
Contact:
Post
by eriansa » Fri Jun 02, 2006 12:01 pm
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.