Well firstly make sure that window is a declared variable and has taken on the PlusWnd type.
so
code:
var window = CreateWnd("file.xml", "wndwindow");
I would suggest doing something like this
code:
funciton ClearComboBox(Wnd, sControlId){
for (var i=0; Wnd.Combo_GetCount(sControlId)-1; i++){
Wnd.Combo_RemoteItem(sControlId, i);
}
}
Then to use it you use:
code:
ClearComboBox(Window, "combobox");
Oops duh!
* matty slaps himself
Sorry about that