Galaxy Legion Forum
http://galaxylegion.com/forum/

Sub tab selection does not reset when new tab is selected
http://galaxylegion.com/forum/viewtopic.php?f=5&t=448
Page 1 of 1

Author:  Lordfate [ Tue May 18, 2010 11:09 pm ]
Post subject:  Sub tab selection does not reset when new tab is selected

Sub tab (Minerals, Artifacts, Planet Info) selection persists between the trade and planets tab

Repro steps:
1. Click Trade tab
2. Click Artifacts sub tab
3. Click Planets tab
4. Click a specific planet to bring up planet info

Notice: Colony sub tab is selected rather than Resources sub tab.

5. Select Structures sub tab
6. Select Trade tab

Notice: Special sub tab is selected rather than Minerals sub tab.


Possible Solution 1: Make separate SelectedSubTab properties for the Planets and Trade tabs, that way tab selection can persist independently within the two tabs.

Possible Solution 2: When a tab that contains sub tabs is selected, reset the SelectedSubTab property to default value.

Author:  webguydan [ Tue May 18, 2010 11:11 pm ]
Post subject:  Re: Sub tab selection does not reset when new tab is selected

Aha! Someone noticed. Yes, currently it overrides the same cookie settings for a global tab setting. I hope to 'namespace' this eventually.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/