[SOLVED]multicolumnlist help
Posted: Sun Jul 19, 2009 14:41
hi guys
how can i add items to a multicolumnlist my problem is i want to display a keymap file
and i can do this with a normal ItemListbox like so
but what i really want is for a multicolumnlist that will display this in one colum and the keys assigned to it in another colum but on varies times of trying it will only display one item so am a bit lost
had a look on the wiki and couldnt really find an answer to what i'am trying to do so any help much appricated
TIA
how can i add items to a multicolumnlist my problem is i want to display a keymap file
and i can do this with a normal ItemListbox like so
Code: Select all
ItemListbox* Key_Map = static_cast<ItemListbox*>(winMgr.getWindow( "KEY"));
ItemEntry* key_item = static_cast<ItemEntry*>( WindowManager::getSingleton().createWindow( "MySkin/ListboxItem" ));
// code that opens the file here
Key_Map->addItem( key_item );
keymap_item->setText( total );
but what i really want is for a multicolumnlist that will display this in one colum and the keys assigned to it in another colum but on varies times of trying it will only display one item so am a bit lost

had a look on the wiki and couldnt really find an answer to what i'am trying to do so any help much appricated
TIA