Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Delete All selected items (Read 4378 times)
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Delete All selected items
Mar 20th, 2013 at 10:33pm
Print Post  
i search for a method to delete selected items but no luck and see its not implemented.
from flowchartx help for CutToClipboard :
Quote:
Copies the current selection of objects to the Windows clipboard and deletes the selected objects. If there are arrows in the selection...

if the second phase of function (...and deletes the selected objects...) is implemented as a new method is useful.

thanks,
peyman.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Delete All selected items
Reply #1 - Mar 21st, 2013 at 6:38am
Print Post  
Try this:

Code
Select All
Sub DeleteSelection()
    While fcx.SelectedBoxes.Count > 0
        fcx.DeleteItem fcx.SelectedBoxes(0)
    Wend
    While fcx.SelectedArrows.Count > 0
        fcx.DeleteItem fcx.SelectedArrows(0)
    Wend
End Sub 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Re: Delete All selected items
Reply #2 - Mar 21st, 2013 at 11:56am
Print Post  
thanks stoyo this works like charm but anyway i think about a new method instead of delete one by one.
when the new version is comming ? im waiting to see new futures Cheesy

thx,
Peyman.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Delete All selected items
Reply #3 - Mar 21st, 2013 at 12:07pm
Print Post  
We have released a new version a few days ago:
http://mindfusion.eu/Forum/YaBB.pl?num=1363714842

Stoyan
  
Back to top
 
IP Logged
 
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Re: Delete All selected items
Reply #4 - Mar 21st, 2013 at 1:47pm
Print Post  
thx i try it.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint