https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
w

WildOne (Yuri)

04/02/2021, 5:08 PM
noob question: how do I tell a textfield to react to the Enter key being pressed?
b

Bogdan

04/02/2021, 5:15 PM
it reacts by default, if you want to change behaviors you need to hook events
w

WildOne (Yuri)

04/02/2021, 5:17 PM
so onAction should fire?
b

Bogdan

04/02/2021, 5:18 PM
well, I can say better to google
w

WildOne (Yuri)

04/04/2021, 8:28 PM
yeah, was my mistake, it works as expected of course
3 Views