Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Flowchart.Net Demo issues (Read 4818 times)
hstclair
YaBB Newbies
*
Offline



Posts: 4
Joined: Dec 16th, 2005
Flowchart.Net Demo issues
Dec 16th, 2005 at 3:58pm
Print Post  
I've just downloaded your component this morning to evaluate for addition to our product.  The primary use will be within webforms but I'm working on a windows form at the moment.  I have noticed two issues while working with it:

1) BoxCreated and BoxCreating do not seem to fire consistently (particularly for very small boxes).
2) DragDrop from the ShapeToolBar does not appear to work regardless of whether Drag / Drop is enabled.

BoxCreated and BoxCreating issues will not be barriers to our implementation of the tool however the drag and drop issue probably will.  Any thoughts on whether this may be corrected in the near future?

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Flowchart.Net Demo issues
Reply #1 - Dec 16th, 2005 at 4:11pm
Print Post  
Thank you for your interest in FlowChart.NET.

1) The control does not allow creating very small nodes, but if a box size is >= than 2mm it should be created and the events raised for it.

2) In order to use drag and drop from the ShapeToolbar, you must enable the AllowDrag property of the toolbar and the AllowDrop property of the flowchart. Then dragging can be done using the right mouse button.

Stoyan
  
Back to top
 
IP Logged
 
hstclair
YaBB Newbies
*
Offline



Posts: 4
Joined: Dec 16th, 2005
Re: Flowchart.Net Demo issues
Reply #2 - Dec 16th, 2005 at 4:30pm
Print Post  
Thank you for your help.  I see cause of both issues now.  The events were firing and I was simply missing them due to a logic error.

I was attempting to drag using the left mouse button versus the right.  The program works as advertised when I use the right button.  I suspect that our user's instinct will be to drag using the left mouse button as well.  Is there an easy way to support the left mouse button or will we need to implement our own Shape tool bar in order to support this?

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Flowchart.Net Demo issues
Reply #3 - Dec 16th, 2005 at 5:18pm
Print Post  
Now the left button is used to let users click a button - that changes the shape of selected boxes or sets the default shape. I guess our developer can add a new property that reverses the functions of the mouse buttons, so the left one starts drag-and-drop operation instead of clicking. That won't be much of work from our side, we can do it next week.

You could also take a look at the Flowcharter example, it creates some kind of shapes- listbox control that displays shapes' icons and names in a scrollable list, so it is more compact than the toolbar.
  
Back to top
 
IP Logged
 
hstclair
YaBB Newbies
*
Offline



Posts: 4
Joined: Dec 16th, 2005
Re: Flowchart.Net Demo issues
Reply #4 - Dec 16th, 2005 at 5:40pm
Print Post  
I don't think it's necessary to change the existing behavior of the left mouse button.  I thought it might be easy enough to differentiate between a mouse click and a mouse drag.  These should be two separate and distinguishable Windows events.

I'll take a look at the Flowcharter sample and see if we can use that technology to make this work.

Thanks
  
Back to top
 
IP Logged
 
hstclair
YaBB Newbies
*
Offline



Posts: 4
Joined: Dec 16th, 2005
Re: Flowchart.Net Demo issues
Reply #5 - Dec 16th, 2005 at 5:42pm
Print Post  
Okay, that will certainly do what we need.  No need for changes to the Shape Tool Bar object.

Thanks for your help
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint