09-11-2010 09:42 AM
I have several Controls on my Front Panel that are based on a Type Defeinition Control. One of the "copies" are on a Tab Control, the other is inside an Array Control. The Type Definition has a Cluster Control with some other Controls inside it. When I open the Type Definition and make some changes, like moving Control around or changingthier sizes, I Save the Type Definition and Close it. Then when I go back to my Front Panel, even though the "copies" have Auto-Update from Type Def. turned on, the Control "copies" not longer resemble the new Type Definition.
What am I doing wrong?
How do I get the changes that I make to the Type Definition be refelected automatically in the "copies" on my Front Panel?
Thanks.
09-11-2010 09:51 AM
Cosmetics are only propagated if you use a strict type def.
I frequently switch to a strict type def for this reason, but revert it back to a normal type def, so I can e.g. populate the rings via a property node during run-time.
Felix
09-11-2010 09:58 AM - edited 09-11-2010 10:00 AM
Tab controls don't work that way. place a type def on a tab and it really breaks the link to the type def. (known bug) and one of the reasons I avoid tabs except for GUI utilities that have no re-use potential.
Check it out from the VI Hierarchy> Find all instances of the type-def. the one on the tab can't be "found"
09-11-2010 10:35 AM
What about the Type Def "copy" that is in an Array Control? It is not on a Tab Control. It also is showing the same problem.
I can Open the Type Def from this Controls, but they don't update properly.
09-11-2010 10:37 AM
@f. Schubert wrote:
Cosmetics are only propagated if you use a strict type def.
I frequently switch to a strict type def for this reason, but revert it back to a normal type def, so I can e.g. populate the rings via a property node during run-time.
Felix
How do I "use a strict type def" and how do I " revert it back to a normal type def" ?
I will give it a try.
THANKS.
09-11-2010 12:50 PM
When you customize the control, you have the option to make it a type def. In the same ring, you also have the option to make it a strict type def.
Felix