Garry's Mod Wiki

DTextEntry:SetDisabled

DTextEntry:SetDisabled( boolean disabled )

Description

We advise against using this. It may be changed or removed in a future update. Use Panel:SetEnabled instead.

Disables input on a DTextEntry and greys it out visually. This differs from DTextEntry:SetEditable which doesn't visually change the textbox.

Arguments

1 boolean disabled
Whether the textbox should be disabled

Page Links


Special Pages


Wikis

?

Render Time: 124ms

DB GetPage 66
Generate Html 1
SaveChanges (1) 42
Render Body 0
Render Sidebar 12