#include <CtrlLib/CtrlLib.h> using namespace Upp; class TestQTF : public TopWindow { private: RichTextView tv; public: typedef TestQTF CLASSNAME; TestQTF(); }; TestQTF::TestQTF() { Add(tv.SizePos()); tv.SetQTF((String)"[, pipopo xxx ]kkkk {{"); } GUI_APP_MAIN { TestQTF().Run(); }
EditString es; es.SetText("[, pipopo xxx ]kkkk {{"); tv.SetQTF((String)es);
TestQTF::TestQTF() { Add(tv.SizePos()); String s = "[, pipopo xxx ]kkkk {{"; tv.SetQTF(s); }