10-20-2009 07:47 AM
Any way to set the Where a form will popup? MainView object (with a window style of 2 (on top of SLX) ) ?
Have a form.Set Key Previewt property to true. Added three events keymouse down, up, Onpress. Added a message box to each. So far so good.
click into an edit box, type something, msgbox tells me what key was pressed, YEA.
Is there any way to capture Alt-F4? Esc? Enter? Arrow keys, etc.?
10-22-2009 09:37 AM
Sure, set the Left/Top/Width/Height properties of the MainView object.
I don't think you can capture Alt+F4, but the OnmCloseQuery event shodl fire.
Esc/Enter/Arrow keys should also work. besids KeyPress event, have you tried KeyUp/KeyDown?