Jump to content

What is this data type?


CPeng

Recommended Posts

It's a Multicolumn Listbox.

If you right-click the control on the front panel and go to properties, that dialog will have the control type in the title bar. Alternatively, right-click the control on the block diagram, select Create, then Reference and the reference you drop will also have the name of the control type visible.

The integer value you can read/write is the 0-based index of the row which is selected.

  • Like 1
Link to comment

Awesome thanks for the info. All these years and I've never seen one of those things. :o

Why would you use this over an array of integers?

It doesn't just support integers, each cell is actually a string. You use property nodes to get/set these values. It's a very powerful control if used properly, go to Help > Find Examples... and search for listboxes. Check out the Properties Tutorial example.

Link to comment

It doesn't just support integers, each cell is actually a string. You use property nodes to get/set these values. It's a very powerful control if used properly, go to Help > Find Examples... and search for listboxes. Check out the Properties Tutorial example.

Very powerful also = very finicky and frustrating when not used properly.

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.