Bobillier Posted February 17, 2011 Report Share Posted February 17, 2011 Hi Is there a way to modify the native array selection color ? I have try with property node and look in Labview.ini file if there is parameter , but without succes. Quote Link to comment
Francois Normandin Posted February 17, 2011 Report Share Posted February 17, 2011 Hi Is there a way to modify the native array selection color ? I have try with property node and look in Labview.ini file if there is parameter , but without succes. You can't with the "Modern Framed Color Box". It is possible to change it on the "Classic Framed Color Box" only using the paintbrush. At least, I don't know of any exposed property to do it programmatically. In any case, if you use an array, there is no way you can have different elements with different color frames. It's a property of the element type, not the single element by itself. (Changing the color of the frame for the nth element will change it for all), so I don't think you can use it in the example you published. trick color cluster.vi Quote Link to comment
curiouspuya Posted March 2, 2011 Report Share Posted March 2, 2011 Hi I thought i might have a go at this: you cannot change the selection color programmatically as you have noticed but you might cheat . Have a look at the example I have attached. I have created a "emulated array" that behaves like your real array (which you can then hide) but one that allows you to change the background color according to your selection. Let me know if you have any questions. Curiouspuya SelectionColorExample.vi Hi Is there a way to modify the native array selection color ? I have try with property node and look in Labview.ini file if there is parameter , but without succes. Quote Link to comment
Bobillier Posted March 2, 2011 Author Report Share Posted March 2, 2011 Good idea to modify the background cluster color. Thanks Hi I thought i might have a go at this: you cannot change the selection color programmatically as you have noticed but you might cheat . Have a look at the example I have attached. I have created a "emulated array" that behaves like your real array (which you can then hide) but one that allows you to change the background color according to your selection. Let me know if you have any questions. Curiouspuya SelectionColorExample.vi Quote Link to comment
curiouspuya Posted March 2, 2011 Report Share Posted March 2, 2011 Of course this only works if you have the clusters put into another larger cluster so you can get them to act like your arrays. If you just put the cluster into the array then changing the cluster background will change all the items in the array not just the one you want. cheers P Good idea to modify the background cluster color. Thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.