How create a bpatcher with newdefault ?


    Oct 16 2006 | 10:24 am
    Hi,
    I'm trying to put in a patcher a bpatcher. I used many different definition like:
    this.patcher.newdefault(100, 100, "bpatcher") this.patcher.newdefault(100, 100, "bpatcher", "toto") this.patcher.newdefault(100, 100, "bpatcher", 8, 71, 105, 90, 0, 0, "toto", 1) ...
    and I always have this error message: • error: js: patcher: newdefault failed
    Where is the mistake ?

    • Oct 16 2006 | 12:26 pm
      On 16 Oct 2006, at 12:24, Thomas Goepfer wrote: > I'm trying to put in a patcher a bpatcher. > I used many different definition like: > > this.patcher.newdefault(100, 100, "bpatcher") > this.patcher.newdefault(100, 100, "bpatcher", "toto") > this.patcher.newdefault(100, 100, "bpatcher", 8, 71, 105, 90, 0, 0, > "toto", 1) > ...
      probably "newdefault" is still broken with some (GUI) objects (i'm still on 4.5.6, so no idea about 4.6) but this works for me:
      this.patcher.newobject("bpatcher", 43, 45, 113, 156, 0, 0, "myBp.pat", 0);
      volker.
    • Oct 16 2006 | 1:32 pm
      It works, thanks !