DTextEntry/SetDisabled

From Garry's Mod
Jump to: navigation, search
 DTextEntry:SetDisabled( )

DescriptionPanelFunc

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

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

boolean disabled

Whether the textbox should be disabled
Personal tools
Navigation