#include <CtrlLib/CtrlLib.h> using namespace Upp; GUI_APP_MAIN { EditField edit; edit.WhenEnter = [&edit] { String s = ~edit; PromptOK("The text is " + s); }; TopWindow w; w.Add(edit.HCenterPosZ(400).VCenterPosZ()); w.Run(); }
[Updated on: Tue, 16 May 2023 17:17]
Report message to a moderator