OK, I think I've answered my own question...

I place 'Return True' after processing in the EditField.KeyDown event, seems to be working, is that the correct way to handle this?

Hi

I capture the 'Return' or 'Enter' keys in an EditField.Keydown, carry out some processing then, conditionally, set a button to 'Default' and the button fires, which is not what I want or even expected. I just want to make the button the 'Default', not actually fire.

Do I need to, somehow, cancel the 'Keydown', how do I do that?

--
Kind regards

Brian

"A moment's insight is sometimes worth a lifetime's experience"
-------------------------------------------------------------------------------------

The Easy Way to Write and Organise Letters and Mail Shots:

http://www.thelettermanager.com

FREE DEMO AVAILABLE
-------------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


--
Kind regards

Brian

"A moment's insight is sometimes worth a lifetime's experience"
-------------------------------------------------------------------------------------

The Easy Way to Write and Organise Letters and Mail Shots:

http://www.thelettermanager.com

FREE DEMO AVAILABLE
-------------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to