Michael Aivaliotis Posted January 8, 2004 Report Share Posted January 8, 2004 Listbox symbols can be changed using the Item Symbols property node. You need to feed-in an array of numbers which represent the position of the symbol as it appears on the front panel selector. If you look at the attached image, you will see that the Item Symbol selector on the front panel is high-lighting the X symbol. This symbol is position 2 in the selector if we count the first position as zero. If you go to the diagram you can see that we just build up an array of indexes that select the symbol we want to use. A much easier way to do this would be to use the Listbox Symbol Ring Constant located in the numeric constants pallette. This way we can use intuitive icons for selections. Don't worry, I didn't know this was there either until 2 years of using LabVIEW. This is not clearly documented. Another hidden feature is the ability to create a disabled line effect by entering -1 as an item symbol. Don't try to find the line symbol in the constant. It isn't there. It's only visible on the front panel selector. I guess this is a bug or an ommision. One final thing to watch out for. Symbols will only show-up for item lines that have text in them! Enjoy. Quote Link to comment
JackHamilton Posted January 8, 2004 Report Share Posted January 8, 2004 :worship: Mike Thanks I was missing having any text in the column, I guess a space would suffice. BTY: Can't I just eMail my entire application to you and have you code it for me? Quote Link to comment
ScorpioN Posted July 30, 2008 Report Share Posted July 30, 2008 QUOTE (Michael_Aivaliotis @ Jan 8 2004, 08:44 AM) Listbox symbols can be changed using the Item Symbols property node. You need to feed-in an array of numbers which represent the position of the symbol as it appears on the front panel selector.If you look at the attached image, you will see that the Item Symbol selector on the front panel is high-lighting the X symbol. This symbol is position 2 in the selector if we count the first position as zero. If you go to the diagram you can see that we just build up an array of indexes that select the symbol we want to use. A much easier way to do this would be to use the Listbox Symbol Ring Constant located in the numeric constants pallette. This way we can use intuitive icons for selections. Don't worry, I didn't know this was there either until 2 years of using LabVIEW. This is not clearly documented. Another hidden feature is the ability to create a disabled line effect by entering -1 as an item symbol. Don't try to find the line symbol in the constant. It isn't there. It's only visible on the front panel selector. I guess this is a bug or an ommision. One final thing to watch out for. Symbols will only show-up for item lines that have text in them! Enjoy. .................................Please Remeber to select the "Visible Items" property either programatically or in the front panel................ QUOTE (Michael_Aivaliotis @ Jan 8 2004, 08:44 AM) Listbox symbols can be changed using the Item Symbols property node. You need to feed-in an array of numbers which represent the position of the symbol as it appears on the front panel selector. If you look at the attached image, you will see that the Item Symbol selector on the front panel is high-lighting the X symbol. This symbol is position 2 in the selector if we count the first position as zero. If you go to the diagram you can see that we just build up an array of indexes that select the symbol we want to use. A much easier way to do this would be to use the Listbox Symbol Ring Constant located in the numeric constants pallette. This way we can use intuitive icons for selections. Don't worry, I didn't know this was there either until 2 years of using LabVIEW. This is not clearly documented. Another hidden feature is the ability to create a disabled line effect by entering -1 as an item symbol. Don't try to find the line symbol in the constant. It isn't there. It's only visible on the front panel selector. I guess this is a bug or an ommision. One final thing to watch out for. Symbols will only show-up for item lines that have text in them! Enjoy. .................................Please Remeber to select the "Visible Items-->Symbols " property either programatically or in the front panel................ 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.