<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - uicontrol() cannot be overloaded with %st_uicontrol(h,st). No structure is expec"
href="http://bugzilla.scilab.org/show_bug.cgi?id=7122">bug 7122</a>
<br><br>
---------- Bug Summary ----------- <br>uicontrol() cannot be overloaded with %st_uicontrol(h,st). No structure is expec <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">URL</td>
<td>-->function %st_uicontrol(h,s)
--> disp("Hello")
-->endfunction
-->s=struct("a",%i,"b","text")
s =
a: %i
b: "text"
-->uicontrol(gcf(),s)
!--error 999
uicontrol: Wrong type for input argument #1: A string expected.
// By the way, the arg number quoted in the error message is wrong. It should be #2
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>GUI
</td>
<td>uicontrol
</td>
</tr></table>
<p>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>