Garry's Mod Wiki

Revision Difference

DTextEntry:SetDisabled#515156

<function name="SetDisabled" parent="DTextEntry" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ <deprecated>Use <page>Panel:SetEnabled</page> instead.</deprecated>⤶ ⤶ Disables input on a DTextEntry and greys it out visually. This differs from <page>DTextEntry:SetEditable</page> which doesn't visually change the textbox.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="disabled" type="boolean">Whether the textbox should be disabled</arg>⤶ </args>⤶ </function>⤶ ⤶