Perfect ! Thanks !

Loïc

2018-03-23 10:50 GMT+01:00 Liam Goodacre <liamg_uw@hotmail.com>:
Hi Loïc

Th canvas only refreshes if it is open. To get around this problem, you can use a "menu-open" command to open the sub-window right before and "vis 0" right after to close. The whole thing would look something like this:

"menu-open, donecanvasdialog 1 1 -1 0 -1 1 1 120 40 10 $1, vis 0"

Liam

From: Pd-list <pd-list-bounces@lists.iem.at> on behalf of Loïc Reboursiere <loicreboursiere@gmail.com>
Sent: 23 March 2018 09:31
To: pd-list@lists.iem.at
Subject: [PD] Moving canvas dialog isnide abstraction doesn't refresh well.
 
Hi list,

first post here !

I'm trying to script the position of the canvas dialog inside an abstraction but the graphics don't refresh at all.
The idea is to have a [vradio] object to control the position of the canvas so that it switches to different options inside the abstraction (like bpatcher offset message in Max). Is it the right way to do it (using donecanvasdialog message) or is there another one ?

Patches are attached. The one to launch is action-choice.pd

Thanks !

Loïc

--
------------------------------------------------------------
http://www.medicationtime.net

http://www.numediart.org
------------------------------------------------------------



--
------------------------------------------------------------
http://www.medicationtime.net
http://soundcloud.com/MedicationTime
http://www.vimeo.com/user2896549
http://vimeo.com/user2896549/videos/all

http://www.numediart.org
------------------------------------------------------------