Tab not advancing to next control...

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?
 
S

Stoitcho Goutsev \(100\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top