02-19-2008 02:44 AM
02-19-2008 03:03 AM - edited 02-19-2008 03:07 AM
a ctl cannot have any code. With some effort, you could make it an xcontrol thought.
A better choice would be the use of a colorbox indicator, or, since you only have 3 states, even a picture ring with 3 images.
(for the colorbox idea, have a look at the following links: http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=231802#M231802)
(I don't recommend your technique with property nodes, but whatever you are currently doing is way too complicated:
Here's how your code could be done with 10% of the effort:

02-19-2008 03:07 AM