User (Legacy) Posted November 1, 1999 Report Share Posted November 1, 1999 I am simply trapping the GetTip and LButtonDblClick event to display the balloon as follows: function Chart1_GetTip(nHit, nSeries, nPoint, nRes) if nHit = 3 or nHit=4 then if nSeries>=0 and nPoint>=0 then chart1.ShowBalloon "Hi there", 50,50 end if end if end function function Chart1_LButtonDblClk(x,y,nseries,npoint, nRes) if nSeries>=0 and nPoint>=0 then sText = "Hi there" Chart1.hText = sText end if end function Both end up with similar results. Regards, Tung Lam Enron Europe Juan Cegarra wrote in message ... >Can you post all the code in both cases (ShowBalloon and LButtonDblClk >handling). If you are executing the ShowBalloon in a particular event >please specify which one. > >Regards, > >Juan Cegarra >Software FX, Inc. > http://support.softwarefx.com > > >-----Original Message----- >From: Tung Lam [ mailto:tlam@enron.com] >Posted At: Monday, November 01, 1999 10:50 AM >Posted To: Server >Conversation: ShowBalloon method displays corrupt text >Subject: ShowBalloon method displays corrupt text > > >Hi > >I have tried using a few methods for displaying the text inside a >balloon. >Both end up displaying the balloon but with corrupt text. > >Firstly using the ChartFX.ShowBalloon method, for example: > >Chart1.ShowBalloon "Hi", 50, 50 > >This displays a a balloon with funny looking square blocks. I assume >there >is a character mapping error. >Using this method sometimes also displays the balloon outside of the >IExplorer window. > >If I refresh this page a few times (about 4) this causes a Dr Watson >error, >and IE crashes. > >The other method is trapping the LButtonDblClick event and changing the >hText property. >This also displays the balloon but brings up funny square characters for >the >text. > >Any ideas? > >Regards, > >Tung Lam >Enron Europe > Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 1, 1999 Author Report Share Posted November 1, 1999 I am simply trapping the GetTip and LButtonDblClick event to display the balloon as follows: function Chart1_GetTip(nHit, nSeries, nPoint, nRes) if nHit = 3 or nHit=4 then if nSeries>=0 and nPoint>=0 then chart1.ShowBalloon "Hi there", 50,50 end if end if end function function Chart1_LButtonDblClk(x,y,nseries,npoint, nRes) if nSeries>=0 and nPoint>=0 then sText = "Hi there" Chart1.hText = sText end if end function Both end up with similar results. Regards, Tung Lam Enron Europe Juan Cegarra wrote in message ... >Can you post all the code in both cases (ShowBalloon and LButtonDblClk >handling). If you are executing the ShowBalloon in a particular event >please specify which one. > >Regards, > >Juan Cegarra >Software FX, Inc. > http://support.softwarefx.com > > >-----Original Message----- >From: Tung Lam [ mailto:tlam@enron.com] >Posted At: Monday, November 01, 1999 10:50 AM >Posted To: Server >Conversation: ShowBalloon method displays corrupt text >Subject: ShowBalloon method displays corrupt text > > >Hi > >I have tried using a few methods for displaying the text inside a >balloon. >Both end up displaying the balloon but with corrupt text. > >Firstly using the ChartFX.ShowBalloon method, for example: > >Chart1.ShowBalloon "Hi", 50, 50 > >This displays a a balloon with funny looking square blocks. I assume >there >is a character mapping error. >Using this method sometimes also displays the balloon outside of the >IExplorer window. > >If I refresh this page a few times (about 4) this causes a Dr Watson >error, >and IE crashes. > >The other method is trapping the LButtonDblClick event and changing the >hText property. >This also displays the balloon but brings up funny square characters for >the >text. > >Any ideas? > >Regards, > >Tung Lam >Enron Europe > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.