Jump to content

Listbox Symbols


Recommended Posts

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. :rolleyes:

post-19-1073531658.gif?width=400

Link to comment
  • 4 years later...

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. :rolleyes:

.................................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.
:rolleyes:

.................................Please Remeber to select the "Visible Items-->Symbols " property either programatically or in the front panel................

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.