For cases where you need to always initialize a list (or combo) box to contain a certain set of "preset strings", you can use a String resource to initialize the list.
A String resource can contain any number of strings you desire. For our purposes, we need to add two strings -- "Johnny" and "Suzy".
First, we need to create a String resource. Select the Resources -> String menu item. You'll notice two things. First, a new window has popped open named "STRING1". This is where we will enter our strings.
Secondly, a new "String" category has been added to the Resources page, with an item named "STRING1" beneath it, as so:
Go to the STRING1 window, and click on the Add button. This will pop up the "Add a string" window. Type Johnny into the String box, and press the ENTER key.
The "Add a string" window will disappear and you should see Johnny added to the STRING1 list. Repeat the above procedure to also add the string Suzy.
You can now close the STRING1 window. We have finished adding our strings to it. (Note that if you need to later add more strings to it, you simply double-click on the STRING1 item on the Resources page).
Now let's use this STRING1 item to initialize our list in the "List of Names" window we're creating. Once again, we need to bring up this window for editing. Double-click on the Window (default) item on the Resources page to reopen that window for editing:
Double-click on the LIST control:
This brings up the "LIST Properties" dialog. Right now, the Contents is set to (none). But if you drop down the box for the Contents field, you should see "STRING1" as a choice. Choose this, and then click the OK button. You have now chosen to initialize this list with the strings in the STRING1 resource, and you should see Johnny and Suzy appear in the list box.
If you had more list (or combo) boxes, and you wanted to also initialize them with the same strings, you could change their Contents fields to use the same STRING1 resource. (ie, One String resource can be shared among many lists).
On the other hand, if you need to initialize other list boxes with a different set of preset strings, you can add more String resources via the Resources -> String menu command. Note that each String resource must have a unique name (and Programmer Center will automatically create a unique name for you. But you can change this resource name if desired).