Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Multi Selelect (Read 6284 times)
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Multi Selelect
Mar 22nd, 2013 at 2:06pm
Print Post  
hi
i set MultiSelStyle to msRectangle so a rectangle covering all selected objects so 2 thing :
1 - i want have more distance between rectangle and selected objects (its draw over selected objects)
2 - there is no option to show just multi selected rectangle and not all objects in multi selected.



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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multi Selelect
Reply #1 - Mar 22nd, 2013 at 4:20pm
Print Post  
Hi,

The closest you can get to that is by hiding / showing selection handles from Selected / Deselected events depending on how many selected items there are. Set an item's SelStyle to sstInvisible to hide its handles.

Stoyan
  
Back to top
 
IP Logged
 
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Re: Multi Selelect
Reply #2 - Mar 22nd, 2013 at 7:30pm
Print Post  
mmm thanks stoyo, its good idea but want much workaround, and what about the size of multi selected rectangle ?
  
Back to top
 
IP Logged
 
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Re: Multi Selelect
Reply #3 - Mar 22nd, 2013 at 7:45pm
Print Post  
and another thing sstInvisible is not works in ArrowSelStyle i dont know its a bug or not, but i use sstCustom for arrows and dont draw select handles in event DrawSelHandles then so its Invisible.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multi Selelect
Reply #4 - Mar 25th, 2013 at 8:18am
Print Post  
There is a reason to show the selection state of individual items too: if you ctrl + click to select items, the selection rectangle might also include unselected ones, which will give users false impression they would be moved when the rectangle is dragged. It's not possible to change the rectangle size at this time.

Stoyan
  
Back to top
 
IP Logged
 
Peyman
YaBB Newbies
*
Offline


I Really Love MindFusion!

Posts: 12
Joined: Mar 4th, 2013
Re: Multi Selelect
Reply #5 - Mar 29th, 2013 at 2:23pm
Print Post  
thanks stoyo,
in my project objects created programicaly and there is no move objects by user and after any select object by click or ctrl + click my program calculate selections object as you can see (its like c program blocks).
I hope its planed to add a possibility to make multi selected handle bigger in next version (like fcx.MultiSelGap), is it possible ?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multi Selelect
Reply #6 - Apr 1st, 2013 at 8:18am
Print Post  
This version adds Flowchart.SelectionOptions.FramePadding property that lets you adds some space between objects and the selection frame:
https://mindfusion.eu/_beta/fcx_seloptions.zip

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: Multi Selelect
Reply #7 - Apr 1st, 2013 at 11:11am
Print Post  
wow thanks stoyo this is works very good im waiting to see next stable version.

thx,
Peyman.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint