Create a user interface (UI) to allow a user to interact with a program.
to design a UI for your program.
Build UIs with controls and indicators. A control is an object that allows a user to input information into a program. An indicator is an object that gives the user information about the program.
- Create a program in the Diagram.
- Switch to the Panel.
- From the Palette, add controls and indicators to the Panel.
Controls and indicators have different data types, including numeric, Boolean, and string. Right-click the control or indicator to replace it with another control or indicator of the same data type.
- Switch to the Diagram.
- In the Palette, click Unplaced Items to add terminals that correspond to your controls and indicators onto the diagram.
- Wire the new terminals into your program.
- Click Run.
For more information on UIs, see the
Designing a User Interface
lesson in software.
You can use the
to change the appearance of your control or indicator.