Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Box deleting! (Read 1594 times)
nikulin_andrey
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Dec 1st, 2006
Box deleting!
Jan 31st, 2007 at 12:01pm
Print Post  
Hi,

I have got a problem.

I can't delete box when call ->
flowChart.Boxes.Remove(box);

This works ->
flowChart.Objects.Remove(box);

What is up?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Box deleting!
Reply #1 - Jan 31st, 2007 at 12:05pm
Print Post  
Hi,

Call flowChart.DeleteObject(box). This will remove the box from both collections, create an undo record and refresh the screen.

Stoyan
  
Back to top
 
IP Logged
 
nikulin_andrey
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Dec 1st, 2006
Re: Box deleting!
Reply #2 - Jan 31st, 2007 at 12:06pm
Print Post  
Ok Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint