DTextEntry/OnValueChange

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

DescriptionPanelFunc

Called internally when the text changes of the DTextEntry are applied. (And set to the attached console variable, if one is given)

See also DTextEntry:OnChange for a function that is called on every text change, even if the console variable is not updated.

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

This method is called:

Arguments

string value

The DTextEntry text.
Personal tools
Navigation