Hello I would like to write View-Switching Application based on soapboxcore. I would like to make the main window with several regions. Like on the picture.

alt text

Each module adds the button in to TaskButton Region When the user clicks on a button from TaskButton Region modules are switched. Like on the picture.

alt text

How can I make the switch modules? Sorry for my bad English.

asked 14 Sep '11, 06:09

Compaqster's gravatar image

accept rate: 0%

You should be able to use the Layout Manager's SaveLayout and RestoreLayout methods to implements this. For more information about this, see here and here.

You'll need to remember which View you're in (based on the user's selection), and based on that View, restore an appropriate saved layout for each one. Before switching, you probably want to save the current layout in case they've changed anything. There is also an Unloading event on the layout manager that you can hook in order to save the most recent layout right before the application exits.


answered 14 Sep '11, 12:15

Scott%20Whitlock's gravatar image

Scott Whitlock ♦♦
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Sep '11, 06:09

Seen: 2,209 times

Last updated: 14 Sep '11, 12:15

Related questions

powered by OSQA