<div dir="ltr"><div>Perfect ! Thanks !<br><br></div>Loïc<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-23 10:50 GMT+01:00 Liam Goodacre <span dir="ltr"><<a href="mailto:liamg_uw@hotmail.com" target="_blank">liamg_uw@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
Hi <span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400">Loïc</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400">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:</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400">"menu-open, donecanvasdialog
 1 1 -1 0 -1 1 1 120 40 10 $1, vis 0"</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<span style="color:rgb(33,33,33);font-family:"Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400">Liam</span></div>
<hr style="display:inline-block;width:98%">
<div id="m_-207093065823573088divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Pd-list <<a href="mailto:pd-list-bounces@lists.iem.at" target="_blank">pd-list-bounces@lists.iem.at</a>> on behalf of Loïc Reboursiere <<a href="mailto:loicreboursiere@gmail.com" target="_blank">loicreboursiere@gmail.com</a>><br>
<b>Sent:</b> 23 March 2018 09:31<br>
<b>To:</b> <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
<b>Subject:</b> [PD] Moving canvas dialog isnide abstraction doesn't refresh well.</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>Hi list,<br>
<br>
</div>
first post here !<br>
<br>
</div>
I'm trying to script the position of the canvas dialog inside an abstraction but the graphics don't refresh at all.<br>
</div>
<div>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 ?<br>
</div>
<div><br>
</div>
<div>Patches are attached. The one to launch is action-choice.pd<br>
</div>
<div><br>
</div>
<div>Thanks !<br>
</div>
<br clear="all">
<div>
<div>
<div>
<div>Loïc<br>
<br>
</div>
<div>-- <br>
<div class="m_-207093065823573088x_gmail_signature">------------------------------<wbr>------------------------------<br>
<a href="http://www.medicationtime.net" target="_blank">http://www.medicationtime.net</a>
<div><a href="http://soundcloud.com/MedicationTime" target="_blank">http://soundcloud.com/<wbr>MedicationTime</a></div>
<div><a href="http://www.vimeo.com/user2896549" target="_blank">http://www.vimeo.com/<wbr>user2896549</a></div>
<div><a href="http://vimeo.com/user2896549/videos/all" target="_blank">http://vimeo.com/user2896549/<wbr>videos/all</a></div>
<div><br>
</div>
<div><a href="http://www.numediart.org" target="_blank">http://www.numediart.org</a><br>
------------------------------<wbr>------------------------------</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">------------------------------------------------------------<br><a href="http://www.medicationtime.net" target="_blank">http://www.medicationtime.net</a><div><a href="http://soundcloud.com/MedicationTime" target="_blank">http://soundcloud.com/MedicationTime</a></div><div><a href="http://www.vimeo.com/user2896549" target="_blank">http://www.vimeo.com/user2896549</a></div><div><a href="http://vimeo.com/user2896549/videos/all" target="_blank">http://vimeo.com/user2896549/videos/all</a></div><div><br></div><div><a href="http://www.numediart.org" target="_blank">http://www.numediart.org</a><br>------------------------------------------------------------</div></div>
</div>