Rocky Smolin - Beach Access Software
bchacc at san.rr.com
Thu Mar 16 08:31:36 CST 2006
AHA!! AHAHAHAHAHA!!! That's it!
I after setting the focus to the tab, I set it to the exit button which
is not on the tab form:
Case 116
Me.pgOrderNumber.SetFocus
KeyCode = 0
'Me.KeyPreview = True
Me.cmdExit.SetFocus
and walla! it woiks!
I suppose I could set the KeyPreview to true on all the sub forms but
then they'd also have to have a copy of the KeyDown routine as well, no?
Thanks all.
Regards,
Rocky
Stuart McLachlan wrote:
> On 16 Mar 2006 at 5:54, Rocky Smolin - Beach Access S wrote:
>
>
>> Tony:
>>
>> Yes! Full of sub forms. Rats. Is this a known problem?
>>
>>
>
> Just replied to Rocky off-list.
> If the subforms get focus when you go to another page and they don't have
> KeyPreview on, the Keydown doesn't fire.
>
--
Rocky Smolin
Beach Access Software
858-259-4334
www.e-z-mrp.com