Pick List
The pick list control is used to create a list of dropdown options. To use the control on your form, you must add code to the ItemSelected
event handler.
To Add a Pick List:
- Click Pick Listand drag it to the workspace.
- Click the Options
property, and then click
.
- On the Dropdown Options Editor window, type the
name of the option in the Text
text box, and then click Add.
By default, the same name is added to the
Value text box.
- Repeat step 3 to add additional options to the
options list.
- To allow the user to leave the field empty, select Include empty option at top of list.
- Click OK.
- Click the Events
button
.
- Click ItemSelected,
and then click
.
- Type the code, and then click OK.
Pick
List Properties