ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  drawing with vs powerpack lineshape
Posted by Mahbub on Jul-20-2013 17:30
Hello Peter,
I have used ms visual studio powerpack line shape to draw fibonacci retracement, fibo fan, box etc in vb 2008 project. Everything worked well but suddenly i noticed that tooltip that showed up when mouse is over a candlestick or other indicator line-- is not showing.
Other mouse move, hover events of chart viewer is working fine.

Dim canvas as new ShapeCollection
canvas.Parent= WinChartViewer1

These 2 lines are creating the problem, but necessary for drawing line shapes.

Could you please provide a solution?

  Re: drawing with vs powerpack lineshape
Posted by Mahbub on Jul-20-2013 17:38
sorry, The lines are

Dim withevents canvas as new shapecontainer
canvas.parent=winchartviewer1

problem persists.

  Re: drawing with vs powerpack lineshape
Posted by Peter Kwan on Jul-23-2013 02:22
Hi Mahbub,

I have tried myself. I found that the ShapeContainer will disable tooltip for any control that is covered.

For example, if you have a standard .NET Label control, and assign a tooltip to it, then when the mouse is over the Label control, it should display the tooltip. However, if you also have a ShapeContainer and set the Label as its parent (which means the ShapeContainer will cover the Label), then the Label will no longer show tooltip. If I set a tooltip to the ShapeContainer, the tooltip of the ShapeContainer may get displayed when the mouse is over the ShapeContainer (and therefore is also over the Label).

So I think it is a feature of the ShapeContainer to disable tooltips on other controls covered by it. In other words, the issue is not related to ChartDirector, but occurs to all controls and is a feature of the ShapeContainer.

Regards
Peter Kwan