Export to GitHub

controlp5 - issue #3

Not able to access text of ListBoxItem


Posted on Sep 2, 2010 by Helpful Giraffe

What steps will reproduce the problem? 1. Add items to ListBox 2. Try to print out the text of the ListBoxItem selected

What is the expected output? What do you see instead? Able to access the text in the list box.

What version of the product are you using? On what operating system? 0.5.0 / XP64

Please provide any additional information below.

Can you please add public get methods to ListBoxItem, such as getText(), getName(), getActive(), getValue()? I'm trying to determine which item was selected, and I'd like to be able to print the text of the item selected.

If there are other (better) ways to get the information, please let me know. (eliquious@gmail.com)

Thanks.

Max

Comment #1

Posted on Nov 13, 2010 by Happy Rhino

(No comment was entered for this change.)

Comment #2

Posted on Nov 13, 2010 by Happy Rhino

(No comment was entered for this change.)

Comment #3

Posted on Jan 18, 2012 by Happy Rhino

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium