ultimatepp/uppdev/LineEditTest/main.cpp
cxl 2656b61a55 Syncing uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@1165 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-12 15:28:34 +00:00

23 lines
326 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
class Test : public TopWindow
{
public:
LineEdit a, b;
Splitter s;
void aChanged() { b <<= ~a; }
Test()
{
a <<= THISBACK(aChanged);
Add(s.Vert(a, b).SizePos());
Zoomable().Sizeable();
}
typedef Test CLASSNAME;
};
GUI_APP_MAIN
{
Test().Run();
}