Panel/MakePopup

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Revert. I was wrong)
 
(One intermediate revision by one user not shown)

Latest revision as of 16:36, 27 November 2019

 Panel:MakePopup( )

Description

Focuses the panel and enables it to receive input.

This automatically calls Panel:SetMouseInputEnabled and Panel:SetKeyboardInputEnabled and sets them to true.

NOTE

Panels derived from Panel will not work properly with this function. Due to this, any children will not be intractable with keyboard. Derive from EditablePanel instead.

Personal tools
Navigation