Skip to content

How to Add String

Bill Li edited this page Sep 6, 2024 · 6 revisions

Microchip Technology How to Add a String

It’s time to add a String. You’ll start by working on the user interface created from How to add Font.

Now that we have a font we can create a String. The String manager is used to create new strings. Multiple strings can be created; they can all share the same font if desired.

  1. Select Asset -> Strings to launch the String Manager window.

Microchip Technology

  1. Add a new string to the list of string. Select the + icon on the String manager. Alternatively, you can select File -> New from the menu. This will add a new scheme named String.

Microchip Technology

  1. Make sure to assign a font to the string or the string will not display on the Screen Designer.

  2. Rename the String to LabelWidgetString. Select String. This will activate the String edit field left of the list. Use the Name field to rename String to LabelWidgetString. An optional description can be applied. Insert NewDesign in the Value field.

Click File -> Save to save your new Screen create.

Microchip Technology


Next Step

In this guide, you learned how to create a String asset. The String can be assigned to Widget. At this point, you’re ready to add a Label widget. Go to the next tutorial in this series: How to Add Label Widget


If you are new to MPLAB® Harmony, you should probably start with these tutorials:


Is this page helpful? Send feedback

Clone this wiki locally