Garry's Mod Wiki

DTextEntry:SetEnterAllowed

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.

Special Pages


Wikis

?

Render Time: 117ms

DB GetPage 59
Generate Html 20
SaveChanges (1) 29
Render Body 0
Render Sidebar 7