Problem with zoom box.

  • Thread starter Thread starter Frank Martin
  • Start date Start date
F

Frank Martin

My form has a number of tabbed controls and one of them, a comments control,
has a zoom box which pops up (via a macro) every time this control is
entered.

I can navigate all the controls including the one above by using the tab
key, but it is always easier to use the CR key.

But when I use the CR key the cursor 'gets stuck' in the zoom control
(though not the zoom box) and then I have to use the tab key to escape.

Why is this happening? Inever had this trouble before. Is it possible to
make the CR and tab key equivalent?

Please help, Frank
 
I would assume that this zoom box is actually a pop-up form. If so, you
could use Key Preview on the form and the form's Key Press event (or perhaps
just use the Key Press event of the control on the pop-up form) and check
for the Enter key. Tell it what you want to happen when it detects the Enter
key.

If KeyAscii = 13 Then
'Do what you need here.
End If
 
Thank you for the reply.
We found the problem, it was that the "Autokey behavior" should have set to
'default' in the properties box.
This almost drove us nuts........!!
 
Back
Top