|
Added 3 new events to TabConsole in r187
OnTabSelected They will pass tab affected by the operation as e.Teb Tab.Name cannot be relied upon to find the type of the tab, since there can be multiple tabs of the same type, such as IM tab. Tab.Label is the title used for the tab on the button. Probably the best way to figure out the type of the tab is to check the type of the Tab.Control. fx. if (e.Tab.Control is IMTabWindow) ... |
||||||||||||||||||||||||||||||||||||||||
Or is there a better way to tell which is which, get the associated IM SessionID, etc? Perhaps by digging down into the Tab contents.
Are Tab names case-sensitive? This probably applies more to the SelectTab(string) method.
Does calling SelectTab raise this event?