Skip to main content

Example: Text Editor in the Visualization

Product: CODESYS Visualization

This example shows a visualization for creating, editing, and saving texts.

_example_img_visu_text_editor.png

Description

With the TextEditorProject.project sample project, you can open, create, save, and close text files. When you enter a text into the search field, corresponding words and lines can be found in a file. A text field allows for writing and editing of texts, and the ReadOnly mode can be adapted by means of a switch.

Additional information

The project contains a visualization which consists of two parts. In the upper part, texts can be written and edited. In the lower part, it is possible to open, close, and save text files by means of buttons. Moreover, the ReadOnly mode can be switched on and off there. A lamp indicates the current state of the mode (the lamp is lit when ReadOnly is switched on). A text field is located in the last line for searching for words in a text file.

System requirements and restrictions

Programming system

CODESYS Development System (version 3.5.14.0 or higher)

Runtime system

CODESYS Control (version 3.5.14.0)

Note

_example_icon.png DOWNLOAD Project