onClientGUIAccepted
Client-side
 Server-side
 Shared
 This event is triggered when enter is pressed on an editbox.
Parameters
element editBox- editBox: the editbox which had focus.
Source
element: The source of this event is the editbox which enter was pressed on.
Code Examples
 client   
 This example creates an editbox and prints a message when enter is pressed.
editBox = guiCreateEdit ( 0.3, 0.1, 0.4, 0.1, "", true )addEventHandler( "onClientGUIAccepted", editBox,    function( theElement )        outputChatBox( guiGetText( theElement ) )    end)See Also
Input Events
- onClientCharacter
- onClientClick
- onClientCursorMove
- onClientDoubleClick
- onClientGUIAccepted
- onClientGUIBlur
- onClientGUIClick
- onClientGUIChanged
- onClientGUIComboBoxAccepted
- onClientGUIDoubleClick
- onClientGUIFocus
- onClientGUIMouseDown
- onClientGUIMouseUp
- onClientGUIMove
- onClientGUIScroll
- onClientGUITabSwitched
- onClientGUISize
- onClientKey
- onClientMouseEnter
- onClientMouseLeave
- onClientMouseMove
- onClientMouseWheel
- onClientPaste
Input Functions
- addCommandHandler
- bindKey
- executeCommandHandler
- getCommandHandlers
- getFunctionsBoundToKey
- getKeyBoundToFunction
- isControlEnabled
- removeCommandHandler
- toggleAllControls
- unbindKey
- toggleControl
- getAnalogControlState
- getBoundKeys
- getCommandsBoundToKey
- getKeyBoundToCommand
- getKeyState
- isCapsLockEnabled
- setAnalogControlState
- isKeyBound
 
 