Please I need help using a dropdown to set a new screen.
Did you try looking at the documentation at https://code.org/applab/docs/dropdown?
yes, but I need to set screen when I click one option. there are a tutorial to set property using setText or getText. Thanks
Here is a pseudocode that would help
- Get the text of the dropdown using getText as shown in the example
- Compare the text to the options using if-else conditionals. For example:
if (getText(“id”) == “happy”) …
else if (getText(“id”) == “sad”) … - Set to a different screen in each if statement above. Use the setScreen command.
wow, thank U, I´m going to try it and I send you. so thanks