Eugen Graf Posted September 5, 2007 Report Share Posted September 5, 2007 Hello, I wish I can change the look out style of FP elements. E.g. I created a modern cluster or array and want to change it to classic style and make than boarders transparent. Eugen Quote Link to comment
Tomi Maila Posted September 5, 2007 Report Share Posted September 5, 2007 You mean you want to do this manually for some VIs or automatically for a large number of VIs? Quote Link to comment
Eugen Graf Posted September 5, 2007 Author Report Share Posted September 5, 2007 QUOTE(Tomi Maila @ Sep 4 2007, 05:22 PM) You mean you want to do this manually for some VIs or automatically for a large number of VIs? Yes, manually. I know I can use Control->Replace and then replace my modern object to a classic. But it doesn't work for clusters and arrays. Furthermore if I replace a object to any other, then the new loses properties, like formatting. Eugen Quote Link to comment
Yair Posted September 6, 2007 Report Share Posted September 6, 2007 You can make the borders of 3D structures transparent: Right click on the border using the paint tool. Hover on top of the T color. Press the space bar a couple of times. This alternates between foreground and background color. One of these should make the border transparent. You could probably also do the programmatic replacing - there is a Control class (private) method which allows you to replace a control with another one, but I believe it suffers from the same problems you mentioned with the manual replace. What I would probably do about that is use KShif's property saver to transfer the properties (although I don't know if it would handle all kinds of objects) and replace the controls inside the arrays and clusters instead of the arrays and clusters themselves. Quote Link to comment
Eugen Graf Posted September 6, 2007 Author Report Share Posted September 6, 2007 QUOTE(yen @ Sep 5 2007, 08:29 PM) You can make the borders of 3D structures transparent: Right click on the border using the paint tool. Hover on top of the T color. Press the space bar a couple of times. This alternates between foreground and background color. One of these should make the border transparent. Can you post an example of completely transparent 3D Cluster (no borders and no shadow must be visible) here? Please. I don't think it's possible. QUOTE(yen @ Sep 5 2007, 08:29 PM) You could probably also do the programmatic replacing - there is a Control class (private) method which allows you to replace a control with another one, but I believe it suffers from the same problems you mentioned with the manual replace. Sorry, I don't love/use private methods and properties. QUOTE(yen @ Sep 5 2007, 08:29 PM) What I would probably do about that is use KShif's property saver to transfer the properties (although I don't know if it would handle all kinds of objects) and replace the controls inside the arrays and clusters instead of the arrays and clusters themselves. That is too difficult for this. I wish it would be implemented in LV, like: rightklick on Control->Control Style->Classic ->Modern ->System (optional, if possible) Eugen Quote Link to comment
Yair Posted September 6, 2007 Report Share Posted September 6, 2007 QUOTE(Eugen Graf @ Sep 5 2007, 09:57 PM) Can you post an example of completely transparent 3D Cluster (no borders and no shadow must be visible) here? Please. I don't think it's possible. Can you tell the difference between a completely transparent modern cluster and a completely transparent classic cluster? Anyway, attached is a VI with a transparent modern cluster, created using the simple method I explained. There's also a modern numeric, just to make it more obvious, so that you'll believe me that it is possible. QUOTE That is too difficult for this. I wish it would be implemented in LV like, rightklick on Control->Control Style->Classic ->Modern ->System (optional, if possible) Sounds like a reasonable idea. Why not submit it to NI's product suggestion center? Quote Link to comment
Eugen Graf Posted September 6, 2007 Author Report Share Posted September 6, 2007 QUOTE(yen @ Sep 5 2007, 09:12 PM) Can you tell the difference between a completely transparent modern cluster and a completely transparent classic cluster? Anyway, attached is a VI with a transparent modern cluster, created using the simple method I explained. There's also a modern numeric, just to make it more obvious, so that you'll believe me that it is possible. Thank you for it. It works good. I believe it now. The problem was in using of the paint tool. I select as first the transparent color for both - fore and background. Than I want to color the broder of the control with transparent color, but it works only for classic controls, not for modern. And with rightclick on the border and selection with space key works for both controls. QUOTE(yen @ Sep 5 2007, 09:12 PM) Sounds like a reasonable idea. Why not submit it to NI's product suggestion center? In really. I thank you for solution. Eugen Quote Link to comment
silmaril Posted September 7, 2007 Report Share Posted September 7, 2007 QUOTE(Eugen Graf @ Sep 4 2007, 05:42 PM) Yes, manually. I know I can use Control->Replace and then replace my modern object to a classic. But it doesn't work for clusters and arrays. Furthermore if I replace a object to any other, then the new loses properties, like formatting. Even if this is solved for the simple task of making a transparent cluster, I'd still like to have a "change control style" option to change the style of controls on a front panel. This would be very usefull for the cases when I want to use a VI from a 3D-style-project inside a system-style-project. I'm not only thinking about complex clusters, even a simple numeric control contains lots of configuration data. If you are tweaking all the tabs in the properties dialog (which I usually do for real world user interface panels), you have to set all those properties again for the replacement control. This is a very time-consuming task compared to the simple wish "I want to change what the control looks like". Quote Link to comment
Yair Posted September 7, 2007 Report Share Posted September 7, 2007 QUOTE(silmaril @ Sep 6 2007, 09:24 AM) Even if this is solved for the simple task of making a transparent cluster, I'd still like to have a "change control style" option to change the style of controls on a front panel. As I said, use the product suggestion center: http://digital.ni.com/applications/psc.nsf/default?openform''>http://digital.ni.com/applications/psc.nsf/default?openform' target="_blank">http://digital.ni.com/applications/psc.nsf/default?openform NI won't develop it if you don't tell them that you want it. The more people tell them, the more importance they will attach to it. Quote Link to comment
silmaril Posted September 8, 2007 Report Share Posted September 8, 2007 QUOTE(yen @ Sep 6 2007, 07:16 PM) As I said, use the product suggestion center:http://digital.ni.com/applications/psc.nsf/default?openform''>http://digital.ni.com/applications/psc.nsf/default?openform' target="_blank">http://digital.ni.com/applications/psc.nsf/default?openform Yes, you are absolutely right! Did it 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.