Form1 Line Draw DEMO Form15f ABCEvents Picture1 Label3 /(c) Micrografx Inc., 1995. All Rights Reserved. Label2 Y<---- Double-click on this custom VBX in VB 3.0 edit mode to see the event handling code. Label1 When this VB program is running, ABC's double-click functionality is altered. If you place two shapes, double click on one, then double click on the other, a line is drawn. ABC1_DoubleClickSUBCLASSl FirstDoubleClick DrawConnectingLine ShapeSourceP shape2_ ShapeDestH success Object shape1 Bool2 DrawConnectLine ShapeSouce> Souce TheChart DrawLine~ Source Connectline StemWidth DestArrowStyle SourceArrowStyle Color Yellow Form_Load Boolean Visible ActiveChart Shape Override( Line_ FillColor ABC1_DeleteSUBCLASS@ ABC1_ChartOpenNOTIFYW ABC1_ChartNewNOTIFYp ABC1_ChartCloseNOTIFY ABC1_ChartChangeNOTIFY ABC1_ExclusiveSelectionNOTIFY ABC1_FieldValueChangedNOTIFY ABC1_LinkNOTIFY ABC1_NewLineNOTIFY' ABC1_NewShapeNOTIFYA ABC1_ObjectClickSUBCLASS\ ABC1_ObjectMovedNOTIFYv ABC1_ObjectMoveSUBCLASS ABC1_ObjectSizedNOTIFY ABC1_ObjectSizeSUBCLASS ABC1_ReplaceShapeNOTIFY ShpeDest RegisterEvent Form1 Caption Green Chart ABC1_AppQuitNOTIFYX ABC1_AppQuitNOTIFY ABC1_DoubleClickSUBCLASS DrawConnectLine Form_Load ABCFlow.application DoubleClickSUBCLASS Get the ABC Quit event so the Menu sample can unload when ABC Quitsn AppQuitNOTIFY