Re: DFL background tasks

2015-06-10 Thread Scroph via Digitalmars-d-learn
Briliant, thanks a lot ! Looks like I misunderstood Adam's reply, sorry about that ! I tried different things but I didn't think of calling invoke from within the worker thread, that solved the freezing problem. I ended up using the Thread class; spawn complained about the mutability of the g

Re: DFL background tasks

2015-06-07 Thread Scroph via Digitalmars-d-learn
On Sunday, 7 June 2015 at 12:30:40 UTC, Adam D. Ruppe wrote: For the Invoke call, you should be able to just ignore most the arguments and write something like listview.invoke( delegate Object(Object[]) { listview.Add(whatever); return null; }); and it should work. Hello Adam, thanks

DFL background tasks

2015-06-07 Thread Scroph via Digitalmars-d-learn
Hello, I couldn't find a DFL subforum so I decided to post here, I apologize in advance if this isn't the right place. I'm currently using DFL to write a Youtube downloading program with a simple GUI. I chose DFL because I enjoy the Entice Designer WYSIWYG capabilities, but also because I fo