Hi Michael,
How can I make CommandMenuButton auto-expand?
hovering over it instead of showing the clickable arrowhead?I tried to rewrite the code but it didn't work.
<moi:CommandMenuButton menu="FileMenu.htm" title="File" icon="res://fileicon"><moi:Text textid="File"></moi:CommandMenuButton>
Rewrite to
<moi:CommandMenuButton menu="FileMenu.htm" title="File" icon="res://fileicon" onmouseover="if(this.contains(window.event.fromElement))return;moi.ui.showMenu('FileMenu.htm',this,0,0);"><moi:Text textid="File"></moi:CommandMenuButton>
Thanks a lot!
-Yuan
|