Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I catch the return key being pressed when a user has entered text in a textbox?

LibreOffice Basic and Writer: I've designed a form with a textbox, I want the user to be able to type some text then press return, which my macro should then catch and add in to a listbox. At the moment I can type text but nothing happens when you press return... is there some event I can use, or am I missing something very obvious? Any suggestions to help a newbie would be gratefully appreciated.