mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
15 lines
294 B
C++
15 lines
294 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
ArrayCtrl list;
|
|
list.AddColumn().SetConvert(LambdaConvert([](const Value& v) { return FormatIntRoman(v); }));
|
|
for(int i = 0; i < 100; i++)
|
|
list.Add(i);
|
|
|
|
TopWindow win;
|
|
win << list.SizePos();
|
|
win.Run();
|
|
}
|