Revision Difference
PANEL:OnMousePressed#518822
<function name="OnMousePressed" parent="PANEL" type="hook">
<ishook>yes</ishook>
<description>Called whenever a mouse key was pressed while the panel is focused.</description>
<realm>Client</realm>
<predicted>No</predicted>
<args>
<arg name="keyCode" type="number">They key code of the key pressed, see <page>MOUSE</page>.</arg>
<arg name="keyCode" type="number">They key code of the key pressed, see <page>Enums/MOUSE</page>.</arg>
</args>
<rets>
<ret name="" type="boolean">Return true to suppress default action such as right click opening edit menu for <page>DTextEntry</page>.</ret>
</rets>
</function>