J
Josh Usovsky
I am dynamically adding and deleting tabs in a tabcontrol
at runtime. When I remove (RemoveAt()) a tabpage, focus
is automatically set to the final tabpage. I want focus
to remain on the tab that had focus before the event
occurred. How can I force the tabcontrol to not change
focus or at least make it appear that way? Setting the
focus immediately after the tabpage removal produces an
unseemly flash. Any suggestions?
Josh Usovsky
at runtime. When I remove (RemoveAt()) a tabpage, focus
is automatically set to the final tabpage. I want focus
to remain on the tab that had focus before the event
occurred. How can I force the tabcontrol to not change
focus or at least make it appear that way? Setting the
focus immediately after the tabpage removal produces an
unseemly flash. Any suggestions?
Josh Usovsky