<DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0">Consider the code below:</FONT></DIV><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0"><br><FONT><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&lt;canvas debug=&quot;true&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp; &lt;dataset name=&quot;ccc&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp; &lt;item value=&quot;abc&quot;&gt;abc&lt;/item&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp; &lt;item value=&quot;def&quot;&gt;def&lt;/item&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp; &lt;/dataset&gt;</FONT></DIV><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0"><br><FONT><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp; &lt;class name=&quot;xxx&quot; extends=&quot;modaldialog&quot; </FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; closeable=&quot;true&quot; title=&quot;d&quot;&gt;</FONT></DIV><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0"><br><FONT><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp; &lt;datacombobox name=&quot;cb&quot; itemdatapath=&quot;ccc:/item&quot; selectfirst=&quot;false&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;method event=&quot;onselected&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; classroot.ooo();</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/method&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp; &lt;/datacombobox&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&lt;!--</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp; &lt;button&gt;ok</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp; &lt;method event=&quot;onclick&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; classroot.ooo();</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp; &lt;/method&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp; &lt;/button&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">--&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp; &lt;method name=&quot;ooo&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var d = new modaldialog();</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d.setAttribute(&quot;closeable&quot;, true);</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d.open();</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp; &lt;/method&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp; &lt;/class&gt;</FONT></DIV><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0"><br><FONT><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp; &lt;button&gt;set</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp; &lt;handler name=&quot;onclick&quot;&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var x = new xxx();</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x.open();</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp;&nbsp;&nbsp;&nbsp; &lt;/handler&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&nbsp; &lt;/button&gt;</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#333399" LETTERSPACING="0" KERNING="0">&lt;/canvas&gt;<FONT COLOR="#000000"></FONT></FONT></DIV><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0"><br><FONT><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0">The modaldialog opened by onselected event can not be operated, but if opened by onclick event of button, it works well.</FONT></DIV><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0">Is this a bug?</FONT></DIV><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0"><br><FONT><DIV ALIGN="LEFT"><FONT FACE="Verdana" SIZE="1" COLOR="#000000" LETTERSPACING="0" KERNING="0">taocore</FONT></DIV>