LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

property node for a control in a cluster

Hi,

I have a cluster containing different buttons. To change the position of the buttons during the run-time process, I created a property node in a for loop, and I passed the Control[] property of the cluster as the refnum to the property node in the loop. At this point, everything is fine; I can change the position of my buttons.
However, I cannot change the size of them because the property node seems generic; it does not provide the "Button Size" property as for typical button. And bounds are in read mode as usual. What can I do?

Any help would be appreciated.
Regards,
alexandre boyer
0 Kudos
Message 1 of 3
(2,419 Views)

@alex b. wrote:
I cannot change the size of them because the property node seems generic; it does not provide the "Button Size" property as for typical button. ... What can I do?


alexandre,
The "To More Specific Class" function (Application Control palette)can be used to typecast the generic ctrl reference to a boolean reference.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Message 2 of 3
(2,407 Views)
Thank you. It's working fine.

alexandre boyer
0 Kudos
Message 3 of 3
(2,395 Views)