Strange Polyline Behaviour

Hi Wagner

1. I get the correct behaviour with a polygon block, but not with a polyline.  I can reproduce it as follows:

a) EITHER Create a new project and insert a DiagramEditor on the form.  Execute the diagrameditor in the OnShow.
OR new project with a Diagram and a DiagramToolbar.
b) select polyline from the Lines category or Polyline from Toolbar.
c) start drawing on the diagram. draw a polyline with more than one segment.

Results: The current segment is drawn dashed but the previous segments are not drawn until the polyline is completed.

I am using Delphi 2010 on Windows 7.  I get the expected behaviour on a polyline with only one segment, but not with more than one segment.  If you are getting correct behaviour perhaps it is environment related?  I'm getting the same behaviour from the executable on other machines running XP and Vista so expect it would be related to Delphi version?

(By the way, in the Diagram Editor there is a toolbar at the top of the screen with buttons for drawing lines (DiagramToolbar2).  Those buttons don't work for me, but the lines in the Diagram Objects dockable panel do work.  Looking in the source perhaps that toolbar needs visible set to false within an IFDEF DELPHI9_LVL???)

2. Thank you, I will try your suggestion

3. I can connect two blocks with a single-segment polyline by dragging as you describe, but I could use a plain line to achieve that.  I want the end user to use a polyline with more than one segment to join blocks.  The behaviour I expected was click on first linkpoint, click several times on canvas, last click on second linkpoint.  Any suggestions?

Thanks
Wes