Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Question about rotate a box. (Read 2955 times)
Joanna
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 15th, 2006
Question about rotate a box.
Oct 19th, 2006 at 11:50pm
Print Post  
Hi, stoyo

I have used the FlowChartX for a long time, it really help me a lot, and also thank you for your help.

Now, I have another question,
I want to rotate a box, and then I set it as work as asShape, and then it can rotate.
And intent to rotate the picture that is loaded in the box, I set the RotateContains(true), and then the picture can rotate, but the text of the box also roate that I don't want to.

So my question is that, I just want the picture of the box can rotate, but the text of the box cannot rotate, how can I implement this?

Thank you!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Question about rotate a box.
Reply #1 - Oct 20th, 2006 at 5:35am
Print Post  
Hi Joanna,

You might do that by showing the text in a second box, attached to the first one. The attached box will not rotate with the main box, so the text will stay horizontal. You can setup that box lie this:

Code
Select All
labelBox.Transparent = true
labelBox.Locked = true
fcx.CreateGroup(mainBox).AttachProportional(labelBox, 0, 0, 100, 100)
 



Now if you move the main box, the label box will follow it. Rotating the main box will not rotate the attached one. Users won't be able to select the main box because it is locked, nor they will know there is another box there because it is transparent.

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


I love YaBB 1G - SP1!

Posts: 37
Joined: May 15th, 2006
Re: Question about rotate a box.
Reply #2 - Oct 22nd, 2006 at 10:50pm
Print Post  
Yes, it is a great idea! Thank you!  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint