FANDOM


//RWT-OEI 03/12/08
//Remove a row from a listbox by its name
// oPlayer - Player object to send the message to
// sScreenName - Name of the screen to find the listbox on
// sListBox - Name of the listbox to remove the row from
// sRowName - Name of the row to lookup and remove
void RemoveListBoxRow( object oPlayer, string sScreenName, string sListBox, string sRowName );

Note: this function can remove any object within an UIListBox, even if it wasn't dynamically added with AddListBoxRow but part of the original GUI. This can be useful for creators of custom UIs, because it allows a coder to put different kinds of objects in a listbox, and then use this function to weed out the ones that are not needed. AddListBoxRow does not work for this, since it can only add one type of row, as specified in the GUI (the "prototype" row).

  • Added in Patch 1.13

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.