Set Active TableWindow

Discussion created by qkorbulic on Nov 12, 2012
Latest reply on Nov 18, 2012 by dubravko.antonic-gdi-net-esridist

I'd like to be able to set an active tablewindow (or tab). Using ITableWindow3.ActiveTableWindow, I can get the active tab but cannot set it.

This is my basic setup:

A user runs a tool that selects some features. If the table for the layer is not already open, the table is opened and is automatically set as the active tab in the Table window. If the table is already open along with other tables and is not the active tab, the selection is updated, but the table is not set as the active tab in the table window.

Obviously, there is no set property for ITableWindow3.ActiveTableWindow (link to ArcObjects reference) but is there another way to do this?