Crawler
03-06-2010 14:04:54
Hi all,
i want to add a item to a multilist, using the method "addItem" from the multilist. The Programm crash when it reaches the line of code.
What did i wrong??
Also the Caption isn't shown.
Thanks!
i want to add a item to a multilist, using the method "addItem" from the multilist. The Programm crash when it reaches the line of code.
_multiList = _myGUI->createWidget<MyGUI::MultiList>("MultiList", MyGUI::IntCoord(400, 400, 300, 100), MyGUI::Align::Center, "Main", "mList");
_multiList->setCaptionWithNewLine("Details");
_multiList->addColumn("InputDevice", 100);
_multiList->addColumn("Nick", 80);
_multiList->addColumn("Best Lap Time", 100);
_multiList->insertItemAt(2, "Klaus");
What did i wrong??
Also the Caption isn't shown.
Thanks!