Help using dropdown

dropdown
#1

Please I need help using a dropdown to set a new screen.

#2

Did you try looking at the documentation at https://code.org/applab/docs/dropdown?

#3

yes, but I need to set screen when I click one option. there are a tutorial to set property using setText or getText. Thanks

#4

Here is a pseudocode that would help

  1. Get the text of the dropdown using getText as shown in the example
  2. Compare the text to the options using if-else conditionals. For example:
    if (getText(“id”) == “happy”) …
    else if (getText(“id”) == “sad”) …
  3. Set to a different screen in each if statement above. Use the setScreen command.
#5

wow, thank U, I´m going to try it and I send you. so thanks