#include #include using namespace Upp; GUI_APP_MAIN { TopWindow win; RichEditWithToolBar edit; edit.PixelMode(); RichEditWithToolBar edit2; edit2.PixelMode(); win << edit.HSizePos().VSizePos(0, Zx(200)); win << edit2.HSizePos().BottomPos(0, Zx(200)); win.Sizeable(); String fn = ConfigFile("test.qtf"); edit.SetQTF(LoadFile(fn)); win.Run(); SaveFile(fn, edit.GetQTF()); }