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: 33ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 12