That does it
Thanks
-----------------------------------
quote:
Originally posted by foaly
try:
code:
while(wnd.LstBox_GetCount("list")>0){
wnd.LstBox_RemoveItem("list",0);
}
I've tried this trick on a ListBoxControl and it seemed to work. On a ListViewControl, however, it crashes Messenger.. Is there any reason or solution to this problem?
code:
while(WndSkinEditor.LstView_GetCount("vLstElementsLeft") >= 0) {
WndSkinEditor.LstView_RemoveItem("vLstElementsLeft",0);
}
Debug.Trace("> Clearing \" vLstElementsRight\"");
while(WndSkinEditor.LstView_GetCount("vLstElementsRight") >= 0) {
WndSkinEditor.LstView_RemoveItem("vLstElementsRight",0);
}