|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tab Control QuestionI have a tab control that has 5 tabpages on it. When the user clicks the
tab page to bring it forward, what event is fired? I have tried click, GotFocus but the code does not fire unless I click on the TabPage itself. Also, when a user logs in, I validate them against our database to allow them access to certain tabs. When they log in, I want to set the focus to that tab. Anyone know how to set the focus on a tabpage programmatically and run the code for that tab page in its gotfocus event? Thanks. 1. SelectedIndexChanged
2. SelectedTab = <tabpage> 3. Call the relevant method Show quoteHide quote "John Wright" <riley_wrig***@hotmail.com> wrote in message news:O6MxT4uKIHA.4272@TK2MSFTNGP06.phx.gbl... >I have a tab control that has 5 tabpages on it. When the user clicks the >tab page to bring it forward, what event is fired? I have tried click, >GotFocus but the code does not fire unless I click on the TabPage itself. >Also, when a user logs in, I validate them against our database to allow >them access to certain tabs. When they log in, I want to set the focus to >that tab. Anyone know how to set the focus on a tabpage programmatically >and run the code for that tab page in its gotfocus event? > > Thanks. >
Type inference
Read very large file in bytearray and upload to MSSQL how do you implement association between objects Check if libraries or program exist dataset question Web Server Read/Write error with exe programs Problem with ToolStripTextBox Edit And Continue doesn't work :-( Need to develop an IDE add-on that would behave similar to the Find in Entire Solution |
|||||||||||||||||||||||