Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Working with containers! (Read 19264 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #15 - Feb 23rd, 2012 at 2:49pm
Print Post  
Quote:
I first place, event  no is fired only is fired, only is fired if use  c.Foldable = true;


ContainerFolded and ContainerUnfolded events are raised only if the user folds/unfolds the container interactively. If you set the Folded property from NodeClicked handler, then just run the same code after setting Folded.

Quote:
Also, tis solution is useless, for simple reason, when i locate container close to the border, and open, the container move from the postion, the problem is when you fold again , the container should remain in orignal position (caption header), but that not happen due this solution just move the continer but ever return to original position where is located. Container should reamin in same position.


Save the container's position before calling Move and restore it when the container is folded again.

Quote:
When drag by example a BUTTON, from isnide tof container over the border of container,  the same problem happen.


It seems hosted controls are removed from containers when the mouse pointer leaves the container rectangle. We'll add some intersections checks for the next release.

Stoyan
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Working with containers!
Reply #16 - Feb 23rd, 2012 at 4:27pm
Print Post  
Thankyou for all , but specially for this:
It seems hosted controls are removed from containers when the mouse pointer leaves the container rectangle. We'll add some intersections checks for the next release.
With this fixed , container will be perfect ! (also appling the other suggestions you mention)

You say this will be fixed in the next release, you are talking about beta release ? in the next days?
When estimate software will be ut of BETA STATUS?

Best regards.

Pablo
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #17 - Feb 24th, 2012 at 10:40am
Print Post  
Next week.
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Working with containers!
Reply #18 - Feb 24th, 2012 at 4:51pm
Print Post  
Sotyou one final question : )


Code
Select All
   var ctr = e.Node as ContainerNode;
       if (ctr != null && e.MousePosition.Y < ctr.Bounds.Top + ctr.CaptionHeight)
           {
           ctr.Folded = !ctr.Folded;
           Rect nodeRect = e.Node.Bounds;
           Rect diagRect = form.Bounds;


           if (nodeRect.Bottom > diagRect.Bottom)
               {
               e.Node.Move(nodeRect.X, diagRect.Bottom - nodeRect.Height);
               }
           }
 



On node clicked im doing this, please can show to me how save the position, before unfold and reapply original position when fold?

I make some test and nothing what i try wrok Tongue
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #19 - Feb 24th, 2012 at 5:41pm
Print Post  
You could save it as Tag value, or derive from ContainerNode to add your own properrty:

Code
Select All
var ctr = e.Node as ContainerNode;
if (ctr != null && e.MousePosition.Y < ctr.Bounds.Top + ctr.CaptionHeight)
{
	if (ctr.Folded)
		ctr.Tag = ctr.Bounds;

	ctr.Folded = !ctr.Folded;

	Rect nodeRect = e.Node.Bounds;
	Rect diagRect = diagram.Bounds;

	if (!ctr.Folded && nodeRect.Bottom > diagRect.Bottom)
	{
		e.Node.Move(nodeRect.X, diagRect.Bottom - nodeRect.Height);
	}
	else if (ctr.Folded && ctr.Tag is Rect &&
		nodeRect.Y == diagRect.Bottom - ctr.UnfoldedSize.Height)
	{
		ctr.Bounds = (Rect)ctr.Tag;
	}
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Working with containers!
Reply #20 - Feb 27th, 2012 at 4:05pm
Print Post  
Hello! Sotyo

Is available some way to suscribe for know when new version is launched?

Also, sorry for ask again, but next version will be out of beta? or is a new beta?

Is possible in the future, have some way to remove the NAG on beta versions.
In tat way i not have to wait to out of beta status for release new version if i need launch a new version of my diagram system.
Please consider that, is very problematic have to wait beta round end for use a new release of mindfusion diagram.
Have some estimation when next release will be launched, and when go out of beta stage?

Best regards.
« Last Edit: Feb 27th, 2012 at 5:18pm by PDM. »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #21 - Feb 28th, 2012 at 8:21am
Print Post  
Hi,

You can subscribe to our RSS or Twitter newsfeeds to get release notifications. You can find a build without the beta label on the PM page.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Working with containers!
Reply #22 - Feb 28th, 2012 at 11:18am
Print Post  
Version WpfDiagram 2.8 A no i available,
Like i explain before, is really problematic sometimes have to wait few days for release new version of my diagram aplication due cant remove the nag until mindfusion go out of beta.
I hoppe in the future, this can be changed.
Beta rund always is important i know, but remove the nag also is.
Please do not bother me, is just a request and recommendation or sugestion.

Please can provide som ETA for next release?
Sorry for push need to know when can access to the new feature fix, the problem i have when drag objects isnide containers.

That next version will be beta?

Best regards.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #23 - Feb 28th, 2012 at 11:57am
Print Post  
As I said you can find download link for the licensed version on the PM (personal messages) page of the forum. You should see a link to this page at the top of the forum. I can't understand what more are you expecting to get.

Stoyan
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Working with containers!
Reply #24 - Feb 28th, 2012 at 12:00pm
Print Post  
The verson 2.8 for downlaod have all fixes inside version 2.8a?
Also have the fix about drag custom nodes on container?


I waiting for fix be released.

IM talking of 2 fixed you cna see in this large post:

1 fix the text and center correctly in container
2 fix the problem when drag custom nodes clsoe to outside of digram

Please confirm.

Best regards.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #25 - Feb 28th, 2012 at 12:09pm
Print Post  
You are looking at the http://clientsarea.eu/ site, aren't you. Follow the link from the top of this forum page instead, it should say something like "Good Afternoon PDM, you have 1 new message'. Follow the link where you will find a 281.zip file.
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Working with containers!
Reply #26 - Feb 28th, 2012 at 12:11pm
Print Post  
Thankyou!
I got it now,.
Also please note the file 2.8.1 no is available on customer area.



Thankyou again!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Working with containers!
Reply #27 - Feb 28th, 2012 at 12:20pm
Print Post  
Because we haven't released it yet. We'll build and test the installers in the next few days before uploading to the clients' site.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint