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