ultimatepp/tutorial/Gui17a/main.cpp
cxl 70d8b6d67a .tutorial
git-svn-id: svn://ultimatepp.org/upp/trunk@15651 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-01-07 10:56:31 +00:00

15 lines
259 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
TopWindow app;
app.SetRect(0, 0, Zx(200), Zy(20));
EditString text;
app.Add(text.TopPosZ(0, 20).HSizePos());
text.SetData("Some text");
app.Run();
PromptOK((String)text.GetData());
}