Found the following interesting discussion in the Newsgroups:
| tabcontrol event called at odd time by:Anonymous | |
| Hello, I'm curious as to why the following would happen. I have 4 forms that I'm dealing with. On form4 is a tabcontrol (we'll call it tab1). When form1 is opened, and OK is pressed, form2 opens, when an item is clicked, form3 opens. On form 3 is a menu, and when file, open, and form4 is selected, the tab1_SelectedIndexChanged event is triggered... I have code in here to deal with when users select different tabs...but why would opening the form trigger it? Obviously I only notice it when I step through the code...is this normal?? Thanks in advance, amber | |
| Reply: by:Jens Blom | |
| Hi hmm yes its normal try this if you dont want it to triger on load ------------------------------------
----------------------------------- /Jens | |
Posted by Xander Zelders

0 Comments:
Post a Comment
<< Home