mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
commit
d2b54f7989
2872 changed files with 670392 additions and 0 deletions
14
tutorial/Gui18/main.cpp
Normal file
14
tutorial/Gui18/main.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
TopWindow app;
|
||||
app.SetRect(0, 0, 200, 20);
|
||||
EditDate date;
|
||||
app.Add(date.TopPosZ(0, 20).HSizePos());
|
||||
app.Run();
|
||||
if(app.Accept())
|
||||
PromptOK("Correct date.&[* " + AsString(~date));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue