Create a list box
- Last UpdatedApr 09, 2025
- 2 minute read
You can create applications that enable your users to select items from a list of options.
When adding a list box to your application, you place the control on the screen, set the properties to configure the list, and then write any scripts you may need.
List boxes can be loaded with items from a file or from keyboard input during run time. For more information, see Script windows controls.
Create a list box
-
Create and place the list box control. Do the following:
-
In the Wizard Selection dialog box, select Windows Controls.
-
Double-click the list box icon. Your application window reappears and the cursor changes to a left corner symbol.
-
Select a location in the application window to place the control. The list box control appears.

-
-
Double-click the control. The ListBox Control dialog box appears.

-
Configure the control. Do the following:
-
Type a control name, such as ListBox_1, in the ControlName box.
-
Type a memory message tag name, such as LB1_Value, in the Tagname box.
-
In the Properties area, configure how the control appears and functions.
-
-
Select OK.