LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to resize decorations programmatically?

Solved!
Go to solution

I tried to use Property Nodes, but found out that the bounds property can only be read....

 

Is there any way that i can adjust the width and height of a front panel decoration programmatically?

0 Kudos
Message 1 of 4
(4,584 Views)
Solution
Accepted by topic author 45fgtfj;

Hi,

 

there is a size property that you can use on decorations. The following example shows how you could make a decoration twice as big.

 

untitled.JPG

 

David
www.controlsoftwaresolutions.com
0 Kudos
Message 2 of 4
(4,569 Views)
The Decoration class has size properties which you can use to resize it (they should be found at the bottom of the list of properties). If you're not seeing them, this probably means that the reference you have is not of the Decoration class and you need to cast it to the Decoration class using To More Specific Class.

___________________
Try to take over the world!
0 Kudos
Message 3 of 4
(4,568 Views)

Oops, never saw the "size" property.......

 

Thanks, guys!!

0 Kudos
Message 4 of 4
(4,554 Views)