Tabstrip Twilight Zone!

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Dear Group

A simple question:
Place a tabstrip control on a form (3 tabs by default), write in the
Page_Load Event TabStrip1.SelectedIndex = 2.
What do you get? A selected 3rd tab I'd assume but whatever I do, Tab0
is always the selected tab. Is this weird?

Any exorcism tips are welcome.
Thanks for helping!

Martin
 
Well, I've found the problem after 4hrs of trying. I had build errors
in an unrelated part of the application but did debug anyway to do
some tests. I never debugged with build errors before and didn't know
that any code changes won't be included. Now I'm wiser!
 
Back
Top