Garry's Mod Wiki

DTextEntry:SetEnterAllowed

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.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

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