Tab not advancing to next control...

  • Thread starter Thread starter NFXBeats
  • Start date Start date
N

NFXBeats

I have a winform dialog that has several text boxes and a couple
buttons. When I invoke this dialog via another winform app, it works
fine.

This particular winform app is "COM Visible" so that I can use it in a
legacy Delphi app.

Whenever I invoke the dialog via COM, everything functions except that
TAB will not advance the cursor to the next control.

Any suggestions on what I could try to resolve this?
 
Hi,

Tab key is precessed by the form's ProcessTabKey method. The call to this
method is triggered by the PreProcessMessage method and according to the
docs both PreProcessMethod and ProcessTabKey methods are called when the
control is hosted by windows forms application or as an ActiveX control.

I believe you host the form as an ActiveX control so it should work.
 
Back
Top