Garry's Mod Wiki

Revision Difference

DTextEntry:SetValue#526695

<function name="SetValue" parent="DTextEntry" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the text of the <page>DTextEntry</page> and calls <page>DTextEntry:OnValueChange</page>.</description>⤶ <description>Sets the text of the <page>DTextEntry</page> and calls <page>DTextEntry:OnValueChange</page>.⤶ <note>The text of the <page>DTextEntry</page> only changes if it's not currently being typed in. If you would rather set the text regardless, use <page>Panel:SetText</page>.</note>⤶ </description>⤶ <realm>Client</realm> <args> <arg name="text" type="string">The value to set.</arg> </args> </function>