[PD] Moving canvas dialog isnide abstraction doesn't refresh well.

Liam Goodacre liamg_uw at hotmail.com
Fri Mar 23 10:50:47 CET 2018

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"

From: Pd-list <pd-list-bounces at lists.iem.at> on behalf of Loïc Reboursiere <loicreboursiere at gmail.com>
Sent: 23 March 2018 09:31
To: pd-list at 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 !



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180323/9b67510f/attachment.html>

More information about the Pd-list mailing list