Garry's Mod Wiki


void DFileBrowser:OnRightClick( string filePath, Panel selectedPanel )


Called when a file is right-clicked.

When not in model viewer mode, DFileBrowser:OnSelect will also be called if the file is not already selected.


1 string filePath
The path to the file that was right-clicked.
2 Panel selectedPanel
The panel that was right-clicked to select this file.<br><br>This will either be a DListView_Line or SpawnIcon depending on whether the model viewer mode is enabled. See DFileBrowser:SetModels.

Page Links

Special Pages



Render Time: 21ms

Session 0
DB GetPage 2
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 6