<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 13/04/2016 20:43, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote cite="mid:570E9339.4090007@free.fr" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      Hello Scilab devs,<br>
      <br>
      uiwait() is a builtin used once and only in the function <span
        style="color:rgb(0,0,0);">datatipCreatePopupMenu().<br>
        Apparently, it is used to wait for an answer from the
        user/Context menu before returning.<br>
        <br>
        Can this function be used for other uicontrols?<br>
        I mean: it would be useful to be able to turn </span><span
        style="color:rgb(0,0,0);">modal </span><span
        style="color:rgb(0,0,0);">some (any?) ui object,<br>
        for instance waiting for a button being clicked, for an item in
        a drop-down <br>
        list to be selected, etc, before going on with the processing.<br>
        <br>
        This function is not documented. Is it on purpose? Can it be
        used only on<br>
        a uiContextMenu handle?<br>
      </span></blockquote>
    A trial answers:<br>
    <br>
    <tt>--> uiwait(gca())</tt><tt><br>
    </tt><tt><br>
    </tt><tt>uiwait: Wrong type for input argument #1: A 'Uicontextmenu'
      handle expected.</tt><tt><br>
    </tt><br>
    A pity.<br>
    By the way, <span style="color:rgb(0,0,0);">datatipCreatePopupMenu()
      seems to be some dead code,<br>
      with some other SCI\modules\graphics\macros\datatips\* macros.<br>
    </span><br>
    SG<br>
    <br>
  </body>
</html>