Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ChartObject.Refresh() (Read 2450 times)
ooswald
YaBB Newbies
*
Offline



Posts: 16
Joined: Jun 15th, 2006
ChartObject.Refresh()
Jul 25th, 2006 at 5:40am
Print Post  
Currently I'm using the following code to to force a repaint of a chart object. However, this has undesired sideeffects should I use transparency in the future.

Code
Select All
objBox.Transparent = true;
objBox.Transparent = false; 



I'd love to have a Refresh() or Repaint() method on the ChartObject class.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3253
Joined: Oct 19th, 2005
Re: ChartObject.Refresh()
Reply #1 - Jul 25th, 2006 at 11:06am
Print Post  
Now this can be done as follows:

fc.Invalidate(fc.DocToClient(box.BoundingRect));

It looks almost the same as box.Repaint() ...
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint