You have to explicitly call “create” for the new icon to
create the server side object. Fox does it automatically
for all the objects it can see at the time “create” is
called for the FXApp object if I remember correctly.
doc = makeIcon(“minidoc.png”)
@tree.currentItem.text = “new icon coming …”
@tree.currentItem.closedIcon = doc # crash!
I had no problem adding icons when the TreeItem was constructed.
I’m using fox14.