Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic chage x/y worth after create (Read 5399 times)
lemon
YaBB Newbies
*
Offline



Posts: 28
Joined: Aug 31st, 2005
chage x/y worth after create
Sep 15th, 2005 at 9:22am
Print Post  
how can I change the x/y worth after create and with out .Move()?

thx
« Last Edit: Sep 16th, 2005 at 6:55am by lemon »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: chage x/y worth afer create
Reply #1 - Sep 15th, 2005 at 10:44am
Print Post  
The only way to do that without using Move() is to set the BoundingRect property.
  
Back to top
 
IP Logged
 
lemon
YaBB Newbies
*
Offline



Posts: 28
Joined: Aug 31st, 2005
Re: chage x/y worth afer create
Reply #2 - Sep 15th, 2005 at 12:46pm
Print Post  
ok, but x or y worth are not allow to change. there are no variables.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: chage x/y worth afer create
Reply #3 - Sep 15th, 2005 at 2:04pm
Print Post  
You must assign the whole rectangle,

someBox.BoundingRect = new RectangleF(x, y, ...)
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: chage x/y worth afer create
Reply #4 - Sep 15th, 2005 at 2:04pm
Print Post  
You must assign the whole rectangle,

someBox.BoundingRect = new RectangleF(x, y, ...)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint