Block global app container control on one page

I am using a global app container for a heading:
NSBPage.appendChild(myHeader)

The question: is there a way to ‘block’ the ‘myHeader’ control from appearing on one of the forms in the project?

Could you do

myHeader.style.display = 'none';

when that form is active?

I’ll try it - where in the form would this go?
thanks.

Where the new form is brought up. If you’re using ChangeForm(), there are onshow() and onhide() events you can put the code into.

Excellent thanks