Bring Object Forward / To Front

Jun 26, 2013 at 1:52pm

Bring Object Forward / To Front

After creating an element in javascript how can I bring it forward. In this specific case I’m wondering about a pwindow.

var pwindow = patcher.newdefault(200, 200, 'jit.pwindow');
//pwindow.bringToFront();

#254180
Jun 26, 2013 at 5:47pm

var pwindow = patcher.newdefault(200, 200, 'jit.pwindow');
patcher.bringtofront(pwindow);
patcher.sendtoback(pwindow);

but the most important is: where to find this information?

Check Max Help > Vignettes > JS > The Patcher object

Attachments:
  1. patcherInJS
#254204

You must be logged in to reply to this topic.