lichtungsgnarr / controlp5

Automatically exported from code.google.com/p/controlp5
0 stars 0 forks source link

The function label() does not exist. #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open example for dropdownList
2. On line 90 change println(theEvent.group().value() to 
println(theEvent.group().label()
3.

What is the expected output? What do you see instead?
Should compile and give the label of the selected drop down, instead the error 
"The function label() does not exist." is thrown

What version of the product are you using? On what operating system?
Latest version on MacOSX

Please provide any additional information below.

Original issue reported on code.google.com by Philip.T...@gmail.com on 4 Jan 2011 at 3:09

GoogleCodeExporter commented 9 years ago
use ControllerGroup.getCaptionLabel() here (DropdownList extends the 
ControllerGroup class)

Original comment by soj...@gmail.com on 18 Jan 2012 at 4:08