Garry's Mod Wiki

DPropertySheet:OnActiveTabChanged

  DPropertySheet:OnActiveTabChanged( Panel old, Panel new )

Description

Called when a player switches the tabs.

Source code states that this is meant to be overridden.

Arguments

1 Panel old
The previously active DTab
2 Panel new
The newly active DTab