mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
22 lines
353 B
C++
22 lines
353 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct MyApp : TopWindow {
|
|
DropList dl, dl2;
|
|
|
|
MyApp() {
|
|
dl2.ListObject().EvenRowColor();
|
|
Add(dl.TopPosZ(0).LeftPosZ(0, 200));
|
|
Add(dl2.TopPosZ(50).LeftPosZ(0, 200));
|
|
for(int i = 0; i < 20; i++) {
|
|
dl.Add(i);
|
|
dl2.Add(i);
|
|
}
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
MyApp().Run();
|
|
}
|