Garry's Mod Wiki

Panel:SetKeyBoardInputEnabled

You might be looking for Panel:SetKeyboardInputEnabled (lowercase board), which has the same name but isn't deprecated.
  Panel:SetKeyBoardInputEnabled( boolean keyboardInput )

Description

We advise against using this. It may be changed or removed in a future update. Alias of Panel:SetKeyboardInputEnabled

Enables or disables the keyboard input for the panel.

Arguments

1 boolean keyboardInput
Whether to enable or disable keyboard input.