Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Size of rectangle
PostPosted: Fri Jan 20, 2012 1:17 pm 

Joined: Fri Jan 20, 2012 12:55 pm
Posts: 26

Offline
Hi,

Is there a way to dynamically change the size of a rectangle on a TA-panel?

Hans


 Profile  
 
 Post subject: Re: Size of rectangle
PostPosted: Fri Jan 27, 2012 12:26 pm 

Joined: Wed Jan 04, 2012 11:17 am
Posts: 42

Offline
Hans,

Use a script to change your rectangle on an event. Here is an example:

public partial class Screen1
{

void Rectangle1_MouseDown(System.Object sender,
System.Windows.Forms.MouseEventArgs e)
{
this.Rectangle1.Height = 20;
this.Rectangle1.Width = 40;
}
}

_________________
Best Regards,

Beijer Electronics, Inc.
Skylar Walker | Applications Engineer


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: