Revision Difference
DFileBrowser:OnDoubleClick#518104
<function name="OnDoubleClick" parent="DFileBrowser" type="panelfunc">
<ispanel>yes</ispanel>
<description>
Called when a file is double-clicked.
<note>Double-clicking a file or icon will trigger **both** this and <page>DFileBrowser:OnSelect</page>.</note>
</description>
<realm>Client</realm>
<args>
<arg name="filePath" type="string">The path to the file that was double-clicked.</arg>
<arg name="selectedPanel" type="Panel">The panel that was double-clicked to select this file.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;This will either be a <page>DListView_Line</page> or <page>SpawnIcon</page> depending on whether the model viewer mode is enabled. See <page>DFileBrowser:SetModels</page>.</arg>
<arg name="selectedPanel" type="Panel">The panel that was double-clicked to select this file.&lt;br&gt;&lt;br&gt;This will either be a <page>DListView_Line</page> or <page>SpawnIcon</page> depending on whether the model viewer mode is enabled. See <page>DFileBrowser:SetModels</page>.</arg>
</args>
</function>