LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xcontrol facade panel resize

I'm am using an Xcontrol, and I want to change the amount of the Xcontrols front panel that is visible. If I resize the facade, all new instance of the Xcontrol reflect the new size, but the instances that I have already placed keep the size the facade had when they were placed. The problem is, I have a lot of them, and I will get more in the future, so I don't want to have to replace all of them every time I want to resize the facade.

 

Is there a way to propagate the facade panel size changes to all the instance of the Xcontrol?

0 Kudos
Message 1 of 3
(2,014 Views)

Hi Jo-Jo,

 

You can set the bounds of the xcontrol that is loaded into the memory in the init.vi. you can get the bounds of the facade and set it to the xcontrol that is loaded. I think this might help you. I have attached an example. Please look at the init.vi for details.

 

 

Thanks,

Citra

0 Kudos
Message 2 of 3
(1,969 Views)

Works great, thanks.

0 Kudos
Message 3 of 3
(1,944 Views)