mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@3518 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
62fd0904c4
commit
6cbff20054
1 changed files with 21 additions and 37 deletions
|
|
@ -1,37 +1,21 @@
|
|||
#include "EditField.h"
|
||||
|
||||
void EditFieldApp::Set()
|
||||
{
|
||||
ef1 <<= "Just a test!";
|
||||
ef1.SetReadOnly();
|
||||
}
|
||||
|
||||
EditFieldApp::EditFieldApp()
|
||||
{
|
||||
CtrlLayoutOKCancel(*this, "Test");
|
||||
set <<= THISBACK(Set);
|
||||
ef1.NullText("(default)");
|
||||
ef2.AutoSize();
|
||||
}
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
EditFieldApp app;
|
||||
app.Run();
|
||||
}
|
||||
|
||||
yyyxxx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xxxxxxx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xxxxxxxx
|
||||
#include "EditField.h"
|
||||
|
||||
void EditFieldApp::Set()
|
||||
{
|
||||
ef1 <<= "Just a test!";
|
||||
ef1.SetReadOnly();
|
||||
}
|
||||
|
||||
EditFieldApp::EditFieldApp()
|
||||
{
|
||||
CtrlLayoutOKCancel(*this, "Test");
|
||||
set <<= THISBACK(Set);
|
||||
ef1.NullText("(default)");
|
||||
ef2.AutoSize();
|
||||
}
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
EditFieldApp app;
|
||||
app.Run();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue