Garry's Mod Wiki

Panel:SetFocusTopLevel

  Panel:SetFocusTopLevel( boolean state )

Description

Sets the panel that owns this FocusNavGroup to be the root in the focus traversal hierarchy. This function will only work on EditablePanel class panels and its derivatives.

Child panels that should be part of the tab navigation need Panel:SetTabPosition called on them.

Arguments

1 boolean state