User Tools

Site Tools

한국어

comfilehmi:string_variable:index

This is an old revision of the document!


String Variable

The String Variable widget provides the ability to bind a string variable to text on the screen.

After adding the String Variable widget to the screen, double-click it to open its properties window, as illustrated below.

Specify the name of the string variable to bind to.

Fonts

With other widgets, the text displayed is usually numeric. The ComfileHMI Editor software is smart enough to recognize this and caches each digit as a bitmap using the specified font when the project is compiled. This makes displaying the numeric text very fast.

However, with the String Variable widget, the text can be anything and the ComfileHMI Editor cannot perform the same optimization. Therefore, it must load either a built-in font, or a font file from the SD card's Fonts folder, and draw the text dynamically. Any font other than the built-in fonts must be manually copied to the SD card's Fonts folder in advance.

Back to ComfileHMI

comfilehmi/string_variable/index.1583046755.txt.gz · Last modified: 2020/03/01 16:12 by COMFILE Technology