B
Brad
Background:
I've made a wizard like Win form to drive the user through some repetitive
tasks. The program has a single form with an always visible panel on the
left edge (logo etc.) and three larger panels that fill most of the
remaining form. There are some buttons (back, cancel, next) at the bottom
of the form that are not tied to any specific panel to allow the user to
make selections. Based on the users action - which button was pushed - I
want to make a specific panel visible and active.
Issue:
I thought that this would be a simple matter of changing the SetBack(),
BringToFront() and Visible = true; properties. Unfortunately, it appears
that this gets difficult if the panels are directly on top of one another.
The behavior that I'm seeing is either that the desired panel doesn't
become visible - previously one stays there - or when the previous panel
goes invisible it takes the rest of the panels with it - blank screen. Am I
missing something obvious or is this just an artifact of how these panels
are positioned. I've seen the same behavior with group boxes.
Any help would be greatly appreciated.
Brad
I've made a wizard like Win form to drive the user through some repetitive
tasks. The program has a single form with an always visible panel on the
left edge (logo etc.) and three larger panels that fill most of the
remaining form. There are some buttons (back, cancel, next) at the bottom
of the form that are not tied to any specific panel to allow the user to
make selections. Based on the users action - which button was pushed - I
want to make a specific panel visible and active.
Issue:
I thought that this would be a simple matter of changing the SetBack(),
BringToFront() and Visible = true; properties. Unfortunately, it appears
that this gets difficult if the panels are directly on top of one another.
The behavior that I'm seeing is either that the desired panel doesn't
become visible - previously one stays there - or when the previous panel
goes invisible it takes the rest of the panels with it - blank screen. Am I
missing something obvious or is this just an artifact of how these panels
are positioned. I've seen the same behavior with group boxes.
Any help would be greatly appreciated.
Brad