cancel
Showing results for 
Search instead for 
Did you mean: 

How to catch a key down event in TextEdit UI element ?

Former Member
0 Kudos

Is it possible for me to catch 'Enter' and 'Esc' key when I input something ?

Best regads ,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Not for TextEdit UI element. But for InputField, you can react to Enter key.

Former Member
0 Kudos

hi, Shishir ,

Can you tell me how to do that ?

I think I can do the similar thing with TEXTEdit UI Element

Best regads ,

Former Member
0 Kudos

No, actually the INPUTFIELD UI element has an event On Enter. So you can register your action there.

TEXTEDIT does not have it. So I don't think you can do that with this UI element.

Former Member
0 Kudos

hi, Shishir ,

I see the on key event in input field , yes , the TextEdit does not has any event . But how can I meet such requirement ?

When the user click enter on TextEdit , I should do something , When the user click escape , I should do something ?

Best regards ,

Answers (0)