Garry's Mod Wiki

Garry's Mod Wiki

  DTextEntry:SetEnterAllowed( boolean allowEnter )

Description

Sets whether pressing the Enter key will cause the DTextEntry to lose focus or not, provided it is not multiline. This is true by default.

Arguments

1 boolean allowEnter
If set to false, pressing Enter will not cause the panel to lose focus and will never call DTextEntry:OnEnter.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...