My panel shows up OK, but I can't seem to set or reset the VISIBLE flag no matter what syntax I use. It compiles OK, but just doesn't change the flag.

Rather than embarass myself with this minor problem, maybe it's my overall strategy that's at fault. I'm trying to create a structure for my game, which is essentially 2D. I want to have a start menu screen, where the player can create a character and save and load it, and then a series of other screens that manage the character in play, a map screen, inventory screen etc.

My first guess was to create each screen as a set of panels that were controlled by a single variable that determined what 'screen' was supposed to be showing.

Do you think that sounds reasonable? Or am I barking up the wrong tree?