activateTabItems()?
- Posted by Euman <euman at BELLSOUTH.NET> Dec 11, 2000
- 421 views
------=_NextPart_000_001D_01C063C6.32F279C0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have another much smaller problem to figure out but haven't obviously. If I have a TabControl with several TabItems and my user selects TabItem[x] and closes the Child Window then later opens the Child Window the default TabItem has the Controls of TabItems[1] yet the Tab Selected button appears to be always the TabItem Last selected when the Child Window was closed first. activateTabItem() doesn't work. Any Suggestions other than RTFM? euman at bellsouth.net ------=_NextPart_000_001D_01C063C6.32F279C0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I have another much smaller problem to = figure out=20 but haven't obviously.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>If I have a TabControl with several = TabItems and my=20 user selects</FONT></DIV> <DIV><FONT face=3DArial size=3D2>TabItem[x] and closes the Child=20 Window</FONT></DIV> <DIV><FONT face=3DArial size=3D2>then later opens the Child Window the = default=20 TabItem has the Controls</FONT></DIV> <DIV><FONT face=3DArial size=3D2>of TabItems[1] yet the Tab = Selected button=20 appears to be</FONT></DIV> <DIV><FONT face=3DArial size=3D2>always the TabItem Last selected when = the Child=20 Window was closed first.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>activateTabItem() doesn't = work.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Any Suggestions other than = RTFM?</FONT></DIV> <DIV><FONT face=3DArial size=3D2><A=20 ------=_NextPart_000_001D_01C063C6.32F279C0--