CentauriAudio
Programmer
Can anyone enlighten me as to how to simulate a keypress (in my case, the Enter key) in whichever object (memo box) has current focus?
I have a popup form with DBGrid, and when the user selects a record, focus passes back to the main form and I want to simulate pressing the enter key, which will activate the OnKeyPress event in the memo box.
Suggestion?
Thanks
Graeme
I have a popup form with DBGrid, and when the user selects a record, focus passes back to the main form and I want to simulate pressing the enter key, which will activate the OnKeyPress event in the memo box.
Suggestion?
Thanks
Graeme