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

DB GetPage 51
Generate Html 3
SaveChanges (1) 15
Render Body 0
Render Sidebar 11