I have a layout with a tab control one panel of which contains another tab control. I'm using the OnPanelSwitch event to run a script that validates the user's access rights, among other things. I understand that this event fires before the tab panel actually switches, which is fine, as I want to cancel the event if the user is not authorized to access the panel. The problem happens when the user selects the panel with the embedded tab control. In that case, I want a field activated on the main form (not on either tab control) ready for input from a barcode scanner. I tried using the OnObjectEnter event trigger, supposedly firing after the tab panel switch has happened, but it appears that this event associated with the outer tab control doesn't fire in this case. Am I misunderstanding how this event works with tab controls? Is there a way to accomplish what I'm trying to do?