<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Chin Luh,<br>
      <br>
      Le 26/02/2020 à 05:56, Chin Luh Tan a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:1707fda98b1.1277b57b9757463.8274870039387235086@bytecode-asia.com">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div style="font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10pt;">
        <div>Hi, <br>
        </div>
        <div><br>
        </div>
        <div>When trying to update guibuilder for Scilab 6.1, I notice
          that the figure menu is not able to be remove with "delmenu"
          when the "dockable" is set to "off".<br>
        </div>
        <div><br>
        </div>
        <div>How to reproduce:<br>
        </div>
        <div><br>
        </div>
        <div>Scenario 1: Menu "File" <b>will </b><b>not </b><b>be</b>
          removed<br>
        </div>
        <div>--> f1 = figure("dockable", "off") <br>
        </div>
        <div>--> delmenu(f1.figure_id, gettext("File"));<br>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Bug confirmed. Work-around:</p>
    <pre style="font-family:Monospaced;font-style:normal;font-size:13.0;"><span style="color:rgb(0,0,0);">f1</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(50,185,185);">figure</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">dockable</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">off</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(50,185,185);">get</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">0</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">showhiddenhandles</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">on</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(50,185,185);">delete</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">f1</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">children</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(255,170,0);">$</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(50,185,185);">get</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">0</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">showhiddenhandles</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">off</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;

Regards
Samuel
</span></pre>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>