Garry's Mod Wiki

Panel:SetEnabled

Panel:SetEnabled( boolean enable )

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

1 boolean enable
Whether to enable or disable the panel object.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 4
Generate Html 5
SaveChanges 8
Render Body 0
Render Sidebar 11