Panel/SetEnabled

From Garry's Mod
Jump to: navigation, search
 Panel:SetEnabled( )

Description

Sets the enabled state of a disable-able panel object, such as a DButton or DTextEntry.

See Panel:IsEnabled for a function that retrieves the "enabled" state of a panel.

Arguments

boolean enable

Whether to enable or disable the panel object.
Personal tools
Navigation