GUI Designer List Control User Manual

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

GUI Designer List Control User Manual
1. Introduction to List Controls List controls are used for content that is uncertain but shares the same control and display, such as message lists, record lists, account lists, etc. 2. How to Add a List Control In an opened or newly created project, click on the standard controls in the toolbox, select the list control, and add it, as shown in Figure 2.1.
GUI Designer List Control User ManualFigure
Figure 2.1 Adding Controls 3. How to Set the Position, Size, and Image Replacement of the List 3.1 How to Set the Position and Size of the List Select the list control, and use the mouse or click on the public modifiable controls in the property window on the right to set the position and size, as shown in Figure 3.1.
GUI Designer List Control User ManualFigure1
Figure 3.1 Setting Position and Size 3.1 How to Set the Image Replacement of the List Select the list control, click on the property window on the right, and make image modifications. The background is displayed as the bottom image of the list control, as shown in Figure 3.2.
GUI Designer List Control User ManualFigure2
Figure 3.2 Image Replacement 4. How to Set Miscellaneous Items Click
GUI Designer List Control User ManualFigure3
in the property window on the right to set the sub-items, item spacing, and item arrangement of the list control, as shown in Figure 4.1.
GUI Designer List Control User ManualFigure4
Figure 4.1 Set Miscellaneous Items 4.1 How to Set Sub-Items Click the "Set" button to pop up the sub-item setting window, as shown in Figure 4.2.
GUI Designer List Control User ManualFigure5
Figure 4.2 Set Sub-Items 1. How to Set Sub-Item Position and Size Click on the sub-item to adjust its position and size using the mouse or by clicking on the public settings in the property window on the right, as shown in Figure 4.3.
GUI Designer List Control User ManualFigure6
Figure 4.3 Set Sub-Item Position and Size 2. How to Set Image Replacement for Sub-Items Select the sub-item and click on the property window on the right to modify the image. Click "Add" to display the image when the list is not operated, and the image displayed when the list is pressed, as shown in Figure 4.3.
GUI Designer List Control User ManualFigure7
Figure 4.3 Image Replacement Note: Select monochrome for image display 3. How to set sub-item content Select the sub-item and add text controls, button controls, and other controls to display the list content. Add two text controls as shown in Figure 4.4.
GUI Designer List Control User ManualFigure8
Figure 4.4 Adding Text Controls 4. How to set text controls Select the text control, click Variable Binding in the property window on the right → click Add → the bound control property is "Text 1" → bind the data source to "Var0" → select "member1" for the struct member (select member2 for the second text control, and the rest are the same) → set the conversion mode to "One-way" → set the conversion method to "Default", as shown in Figure 4.5.
GUI Designer List Control User ManualFigure9
Figure 4.5 Adding Variable Binding Note: Var0 is
GUI Designer List Control User ManualFigure10
4.2 How to set item spacing Click the input box under Item Width/Height Spacing and set the item width/height spacing using the keyboard or the "+" and "-" buttons. The item width spacing is the width spacing between each item in the list, and the item height spacing is the height spacing between each item in the list, as shown in Figure 4.6.
GUI Designer List Control User ManualFigure11
Figure 4.6 Setting Item Spacing 4.3 How to set the item layout Click the dropdown box under "Item Layout", and you can choose between "Vertical" and "Horizontal", as shown in Figure 4.7.
GUI Designer List Control User ManualFigure12
Figure 4.7 Item Layout 5. How to set list display Display dynamically in list form through the list control. 1. How to add a list control The specific adding method is the same as above, and will not be repeated here. 2. How to set sub-items The specific setting method is the same as above, and will not be repeated here. 3. How to set variable binding for the list Select the list control, click "Variable Binding" in the property window on the right → click "Add" → the bound control property is "Data Source" → bind the data source to "Var0" → set the conversion mode to "One-way" → set the conversion method to "Default", as shown in Figure 5.1.
GUI Designer List Control User ManualFigure13
Figure 5.1 Variable Binding 4. Simulation Demonstration Click the simulation run button to pop up the simulation run window. When the list shows no operation, it is displayed as shown in Figure 5.2
GUI Designer List Control User ManualFigure14
Figure 5.2 Display when no operation Display when the list is pressed, as shown in Figure 5.3
GUI Designer List Control User ManualFigure15
Related Tags
Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.