How do I automatically switch to contextual tab?

Posted by Darren Parr on 13-Oct-2012 11:35


I have an mid form with a ribbon and a contextual tab. It all looks OK. I've created a contextual tab group and Ive added this to the contextual collection and Ive added a tab to this group. This is all done in the constructor the mdi form. The tab is in view and its contextual. No matter what I do however I cant seem to set this as the selected tab.

Im doing a oToolbar:Ribbon:SelectedTab = oGrp:Tabs[0].

Any ideas how to get this to work like this. I'd like to put a process in place where I remember each mdi forms selected tab and switch to that whether its contextual or not dependent on what was in view when it was deselected.

Any help is greatly appreciated.



All Replies

This thread is closed