This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, Thanks for your response to my previous post (this is what I needed.) It works (I can create nodes and connections) but when I put a ToolBox that I can't drag nodes from it - ToolBox looks like disabled. I will be grateful for any suggestions.
|
|
|
Are you using a Windows Forms toolbar control or hosting the toolbox in a WPF control? If the latter, are the toolbox control and the DiagramSurface control contained in the same ElementHost? |
|
|
Yes, I'm hosting Toolbox in my WPF UserControl, Toolbox and DiagramSurface are in the same control.
|
|
|
Hello Christopher Could you please send us a simple repro? This will greatly help us solve this issue. Cheers |
|
|
Hello Christopher Don't worry about sending us a repro. We have now reproduced this issue and are working on the solution. - Jason |
|
|
Hello Christopher I have come up with a solution that fixes our repro based on the description of your issue. Download the nightly build from tommorow the 24th of July and try dragging nodes from the tool box in your demo. Let us know how it goes Cheers |
|
|
Hello Jason, Thanks for your help.
It works, but not all. I can drag an item from the toolbar now, but when I drop it, I lose it - doesn't create any node. Maybe I'm doing something wrong.
Cheers Christopher. |
|
|
Hello Christopher It seems you might be using an older version of the dlls. I got your sample to work fully when using dll references to the latest build. I suggest re-downloading and installing the latest nightly build and trying again. Let us know how it goes. Cheers |
|
|
Also, you may need to do a Clean Solution to ensure that Visual Studio flushes any references to the older version of the DLLs. |
|
|
It was DDL's problem, reinstalling libraries helped. Now Hosting in Windows Forms works very well.
Thanks for your help, Cheers
|
|