Wizard Sheets and Next Tab

In a procedure with a SHEET set with PROP:Wizard, the Next button does the following:
SELECT(CHOICE(?SHEET:Wizard)+1)

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’
else
end

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.