Garry's Mod Wiki

Revision Difference

DTextEntry:OnChange#552623

<function name="OnChange" parent="DTextEntry" type="panelhook"> <ispanel>yes</ispanel> <description> Called internally by <page>DTextEntry:OnTextChanged</page> when the user modifies the text in the <page>DTextEntry</page>. Called by <page>DTextEntry:OnTextChanged</page> when the user modifies the text in the <page>DTextEntry</page>. You should override this function to define custom behavior when the <page>DTextEntry</page> text changes. </description> <realm>Client and Menu</realm> </function>