mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -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
263ff5f895
2665 changed files with 642923 additions and 0 deletions
17
reference/ArrayCtrlCtrls/main.cpp
Normal file
17
reference/ArrayCtrlCtrls/main.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
ArrayCtrl a;
|
||||
a.AddColumn("Text").Ctrls<EditString>();
|
||||
for(int i = 0; i < 300; i++)
|
||||
a.Add(AsString(i));
|
||||
a.SetLineCy(Draw::GetStdFontCy() + 8);
|
||||
|
||||
TopWindow app;
|
||||
app.Add(a.SizePos());
|
||||
app.Sizeable();
|
||||
app.Run();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue