Garry's Mod Wiki


DTextEntry:SetEnterAllowed( boolean allowEnter )


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.


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

Page Links

Special Pages



Render Time: 32ms

Session 0
DB GetPage 2
Generate Html 8
SaveChanges 15
Render Body 0
Render Sidebar 5