Victor B.
Lake Forest, CA
Jul 8, 2011
93
Posts
Re: OnKeyDown() event failure
Hi Alex,
I set up a simple example where the OnKeyDown() event updates a counter. Alt+Tab did not disable the OnKeyDown() event. I have attached the example program that I created. Check to see if it works on your system.
To answer your second question, you can disable the minimum and maximum controls by right-clicking on your form in the form editor and opening the Properties window. If you click on the Window page in the Properties Editor, you will see checkboxes to enable/disable MinButton and MaxButton. Alternatively, you can also change the BorderStyle from the default 'Sizable' to 'Fixed Dialog' which will have a similar effect.
Regards,
Victor Brode
File Attachment:
OnKeyDownTest.rar