mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
15 lines
259 B
C++
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());
|
|
}
|