Re: How to read / modify / save the text of notepad in the .pnl
Postby mkoller »
You can have a look at the CTRL function textEditor(), which opens a text editor which also allows to save the file again
(this solution does not use an extra panel).
You can also check the std panel: STD_PANELS/note_info (from the catalog). Either you can use it directly or just see how it's done there.
If you want your own panel, which contains a TEXT_EDIT widget, you can simply use
fopen(), fputs(), fclose() functions.