Group box appears transparent

MAC OS

I built a groupbox with text boxes, buttons, etc.

I want it to remain invisable on my form until the user clicks a button.
Then I want it to become visioble, allow the user to click buttons, etc on it.
And then the user can click a button for it to go invisable again.

But the groupbox is transparent and you can see all the main form controls below it.
How do I make the groupbox a solid color so you dont see the main form controls below it.

Whart did i miss?

Thanks
Jim

You may want to use a Pagepanel to switch.
http://documentation.xojo.com/api/deprecated/pagepanel.html

Or use a ContainerControl for the controls and control it with Visible = True or Visible = False

Michel/Dale
Thanks for the suggestions. I looked into both and learned some… But I ended up using a form and positioning it on the main form where I wanted it.
Thanks again.