Garry's Mod Wiki

DTextEntry:OnChange

  DTextEntry:OnChange()

Description

Called by DTextEntry:OnTextChanged when the user modifies the text in the DTextEntry.

You should override this function to define custom behavior when the DTextEntry text changes.