Garry's Mod Wiki

Panel:SetEnabled

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.

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 43
Generate Html 3
SaveChanges (1) 16
Render Body 0
Render Sidebar 7