Wizard Sheets and Next Tab

In a procedure with a SHEET set with PROP:Wizard, the Next button does the following:

Any suggestions for generic code to first check whether the next Tab is hidden or disabled and thus should be skipped?

Something like:
NextTab = ?Sheet:Wizard{Prop:Child, Choice(?Sheet:Wizard}+1)
if NextTab{Prop:Hide} = ‘1’

The key is Prop:Child, ## gives you the FEQ of the tab

Thanks for the reminder, Rick. PROP:Child will do the trick.
That’s the link between Feq and CHOICE that is needed.
I was also surprised to discover that TabChanging is not posted with the code.