onClientGUIComboBoxAccepted
Client-side
 Server-side
 Shared
 This event is called when a combobox gets accepted.
Parameters
element theElement- theElement: the combobox that got accepted.
Source
element: The source of this event is the GUI combo box that was accepted.
Code Examples
 client   
 This example will set the memo text to the selected combobox item text.
Combo = guiCreateComboBox ( 0.20, 0.03, 0.25, 0.30, "Example", true )Memo = guiCreateMemo( 10, 50, 500, 150, "", false)addEventHandler ( "onClientGUIComboBoxAccepted", guiRoot,    function ( comboBox )        if ( comboBox == Combo ) then            local item = guiComboBoxGetSelected ( Combo )            local text = tostring ( guiComboBoxGetItemText ( Combo , item ) )            if ( text ~= "" ) then                 guiSetText ( Memo , text )            end        end    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
 
 