Code::Blocks Forums

User forums => Help => Topic started by: john_erlandsson on August 18, 2009, 10:54:53 pm

Title: [SOLVED]Switching panels in wxSmith
Post by: john_erlandsson on August 18, 2009, 10:54:53 pm
Hello again!

I recently installed Code::Blocks and went through all the wxSmith tutorials on the wiki.

Encountered a problem when writing my first program.

I have a BoxSizer in my frame. In the left column ther is a radiobox with the options A & B. In the right column there is a Custom, wich is linked to an external panel (as in tutorial 5 on the wiki).

What i want to do is to have multiple external panels and switch between them using the radiobox options or other items.

The conditioning is not the problem. But how do i assign the Custom to multiple panels?
Is there a better way to achieve this function?

Appreciate any help.

//John
Title: Re: Switching panels in wxSmith
Post by: john_erlandsson on August 21, 2009, 03:33:05 pm
worked it out.

Apologize for the stupid question