14 Examples of UIs Created Programmatically
Lists of Items in a Programmatic UI
In this section...
“About the Example” on page 14- 20
“View the Example Code” on page 14- 21
“Use the UI” on page 14- 22
“Program List Master” on page 14- 26
“Add an “Import from File” Option to List Master” on page 14- 31
“Add a “Rename List” Option to List Master” on page 14- 31
About the Example
This example program creates and manages lists, such as to-do lists, phone numbers, or
any set of items. It has these features:
- Ability to create new UIs from an existing List Master UI
- A scrolling list box containing a numbered or unnumbered sequence of items
- A text box and push buttons enabling users to edit, add, delete, and reorder list items
- Capability to import and export list data and to save a list by saving the UI.
- A File menu for creating, opening, and saving UIs.
The left image below shows the items available under the File menu. The right image
shows a sample list.
The File Menu Items UI Containing a Sample List