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

DB GetPage 4
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 21