Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram Visibility Issue (Read 1618 times)
Jaspis
YaBB Newbies
*
Offline



Posts: 2
Joined: May 11th, 2009
Diagram Visibility Issue
May 11th, 2009 at 2:41pm
Print Post  
Hi,
I have build up a diagram with several ShapeNodes and Links. My diagram object seems to be ok; the Links and Nodes Collections show the right amount of Links and Nodes.
But the Links and Nodes are not visible in my Window. (Its a tabbed Window; the diagram should be shown in one Tab.) I have checked the "Visible" Property; everything here is ok too.
When I set the ShowGrid property to True; the grid points are visible, but still no Nodes and Links.
Any ideas?
Thanks Jaspis
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram Visibility Issue
Reply #1 - May 11th, 2009 at 2:49pm
Print Post  
Hi,

What happens if you call ResizeToFitItems after building the diagram?

Stoyan
  
Back to top
 
IP Logged
 
Jaspis
YaBB Newbies
*
Offline



Posts: 2
Joined: May 11th, 2009
Re: Diagram Visibility Issue
Reply #2 - May 11th, 2009 at 3:07pm
Print Post  
Just found the problem. I initiated the diagram in the loaded event of my tab. The loaded event fires twice, so the diagram was build up twice too. This leads to the behaviour mentioned above. Roll Eyes When I build up the diagram once, it's all ok.
Thanks for your fast reply.
Jaspis
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint