just went to the online forum and saw my posting was in a wrong
thread. I had read about it, but I wasn't aware and used the reply
Sorry, this question has nothing to do with sharingisfun's "make a
js array patch" [message #62117].
var a = this.patcher.newobject("panel",100,100,12,12);
From this I get: error: patcher: doesn't understand "panel".
It works when I do it with a toggle: var a =
this.patcher.newobject("toggle",100,100, 15, 0);
So I checked by stepping trough the patchers objects using the apply
method. I get for the Maxobj property maxclass for some of my
objects the word "panel".
In Max text mode I get for a panel: #P user panel 180 167 12 12;
When I try to script to a thispatcher object with the message "script
new mypanel panel 100 100 12 12" I get the same error message.
Is it impossible to create panel objects dynamically?