May 2017
Beginner to intermediate
444 pages
11h 31m
English
If we want to restrict the user to only be able to select the values we have programmed into the Combobox, we can do that by passing the state property into the constructor. Modify line 42 as follows:

Now, users can no longer type values into the Combobox. We can display the value chosen by the user by adding the following line of code to our Button Click Event Callback function:
After choosing a number, entering a name, and then clicking the button, we get the following GUI ...
Read now
Unlock full access