scripting new panel objects on top

dan m's icon

Hi,
I am scripting new panel objects (to this patcher), so to frame other scripted iu objects. The problem I am having is that no matter the order of scripting (ui objects first and then panels or viceversa), the panels always end up on top of the ui objects, thus obstructing their view...
any ideas how to avoid this?
thank you!
d

f.e's icon

send "bringtofront" message to your UI objects.

f.e

Evan's icon

Or, alternatively, a sendtoback to the panel.