Using MAX 2024. If I add an item to a listbox it does not appear in the UI, however the listbox properties say it is there. I’ve tried opening and closing the rollout to see if that would force a refresh, didn’t work. Below is a sample script showing the problem. Any ideas?
utility listboxTest "Listbox Test"
(
listbox lbxList "Items" items:#("Appears")
on listboxTest open do
(
append lbxList.items "WillNotAppear"
format "There are [%] items\n" lbxList.items.count -- Returns 2, but still only 1 item appears in the UI
)
)