Garry's Mod Wiki

DPanelSelect:OnActivePanelChanged

  DPanelSelect:OnActivePanelChanged( Panel oldPnl, Panel newPnl )

Description

Called when the selected panel changes.

Arguments

1 Panel oldPnl
Old selected panel.
2 Panel newPnl
New selected panel.