Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic In JDiagDemo - deletion in NetSample (Read 2167 times)
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
In JDiagDemo - deletion in NetSample
May 2nd, 2007 at 1:32pm
Print Post  
In the JDiagDemo interface, in the Network sample -> NetSample view, if I add an item and then delete it - the item is delted but the text remain in screen. I then cannot touch it.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: In JDiagDemo - deletion in NetSample
Reply #1 - May 2nd, 2007 at 2:30pm
Print Post  
The label is implemented as a Box object attached to the icon Box. It seems we forgot to add code to delete the label when the icon is deleted. If you need similar functionality in your application, call

iconBox.getSubordinateGroup().setAutoDeleteItems(true);

just after attaching the label box.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: In JDiagDemo - deletion in NetSample
Reply #2 - May 3rd, 2007 at 4:59am
Print Post  
Thanks!  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint