T
Terry B via AccessMonster.com
I have a Main form named frmContracts.
It contains a Tab Control named TabMain.
One of these tabs contains a subform named (frmformwork) which is also a
tabbed control.
My problem is that when I click on the Mainform tab control named Formwork,
the subform
is displayed however it does not seem to have focus. All of the checkboxes
are grayed out.
If I click on any one of the tabs or a field on the subform it wakes up and
everything works fine.
1. Can I set focus in the subform on my first tabbed sheet named Decks?
I Dont really care if a particular field has focus I just dont want it to be
dead until you
click something.
2. Where should I put the event procedure.
I tried using the Onclick event for the Main forms Tab called Formwork,
and making one if the fields in my subform have focus, but Im obviously doing
it wrong.
Me.TabMain.SetFocus
Me.frmFormwork.Form.LangFId.SetFocus
It contains a Tab Control named TabMain.
One of these tabs contains a subform named (frmformwork) which is also a
tabbed control.
My problem is that when I click on the Mainform tab control named Formwork,
the subform
is displayed however it does not seem to have focus. All of the checkboxes
are grayed out.
If I click on any one of the tabs or a field on the subform it wakes up and
everything works fine.
1. Can I set focus in the subform on my first tabbed sheet named Decks?
I Dont really care if a particular field has focus I just dont want it to be
dead until you
click something.
2. Where should I put the event procedure.
I tried using the Onclick event for the Main forms Tab called Formwork,
and making one if the fields in my subform have focus, but Im obviously doing
it wrong.
Me.TabMain.SetFocus
Me.frmFormwork.Form.LangFId.SetFocus