I must be missing something terribly obvious. I've got a TWebLookupComboBox and I can populate it with lcb.LookupValues.AddPair(str, str)
and it all works just great. However, I went to clear and repopulate it and I can't seem to figure out what works? lcb.Clear
and lcb.LookupValues.Clear
don't seem to do anything and not sure what else I should be tryng?
I can work around it with:
asm
document.getElementById("lcb").options.length = 0;
end;
Which indeed does the trick. Would also be handy to delete only the current selection like a lcb.DeleteSelected
which seems to also not be available?