Page 1 of 1
Size of rectangle
Posted: Fri Jan 20, 2012 1:17 pm
by hans gerritsen
Hi,
Is there a way to dynamically change the size of a rectangle on a TA-panel?
Hans
Re: Size of rectangle
Posted: Fri Jan 27, 2012 12:26 pm
by Skylar
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;
}
}