We have a simply website we are trying to assemble, as a demo.

We have a WStackedWidget with a WMenu controller.  However, we are 
trying to add an additional page outside the Menu, that we can switch to 
manually, from an internal anchor;

So, when I click on my anchor, for instance, I run the 
internalPathChanged event, and I respond, properly, and I set the 
currentWidget in my stacked widget, but nothing displays.  I have even 
tried to click on the menu, like menuIndex(1) and tried to change the 
stacked widget to index(2) and still the stacked widget doesn't change.

Am I misunderstanding the relationship between the WMenu and 
WStackedWidget?  Why cannot I change the StackedWidget index?

(psudo code)
>   _contents = new WStackedWidget;
>   WMenu( "Home", "Products", "About", "Contact", _contents );
>   _extraPage = new WText( "extra page" );
>   _contents-> addWidget( _extraPage );
>
>   _contents-> setCurrentWidget( _extraPage ); // this no workie
>

-- 
~mark
~c:469-556-5075
~t:[email protected]
~w:http://www.lorimarksolutions.com

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to