mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
This commit is contained in:
parent
c6d9106fd2
commit
6a5e363459
2 changed files with 27 additions and 0 deletions
9
upptst/DisplayPopup2/DisplayPopup2.upp
Normal file
9
upptst/DisplayPopup2/DisplayPopup2.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
18
upptst/DisplayPopup2/main.cpp
Normal file
18
upptst/DisplayPopup2/main.cpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
ArrayCtrl list;
|
||||
list.AddColumn("Test");
|
||||
list.Add("Simple");
|
||||
list.Add("Long " + String('X', 200));
|
||||
DropList dl;
|
||||
dl.Add("Simple");
|
||||
dl.Add("Long " + String('X', 200));
|
||||
TopWindow win;
|
||||
win.Add(dl.TopPosZ(0).LeftPosZ(0, 100));
|
||||
win.Add(list.VSizePosZ(Zx(20), 0).LeftPosZ(0, 100));
|
||||
win.Run();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue