PANEL:OnFocusChanged

From Garry's Mod
Jump to: navigation, search
 PANEL:OnFocusChanged( )

Description

Called whenever the panel gained or lost focus.

NOTE Panel:HasFocus will only be updated on the next frame and will return the "old" value at the time this hook is run. Same goes for vgui.GetKeyboardFocus.

Arguments

boolean gained

Is the focus was gained ( true ) or lost ( false )
Personal tools
Navigation