12-18-2013 02:26 PM
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?
12-19-2013 05:50 AM
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
12-19-2013 12:24 PM
Works great, thanks.