0

I've played around with processEnter, on command, and on anyKey with textEntry to no avail. I've been looking through the massive amount of documentation for wx-core, but I don't see anything that'll help. I'm using wxhaskell 0.13.2.1 on Windows 8.

sclv
  • 38,665
  • 7
  • 99
  • 204
joshj
  • 473
  • 5
  • 11

1 Answers1

1

You need to use wxTE_PROCESS_ENTER style to have a chance of capturing the Enter key in a wxTextCtrl. If you don't use it, this key is used for activating the default dialog button -- or beeping, under Windows, if there is no such button.

VZ.
  • 21,740
  • 3
  • 39
  • 42