Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control

  • Thread starter Thread starter Robert V. Hanson
  • Start date Start date
R

Robert V. Hanson

I have a user control built using the Microsoft IE Control.

I declared a public variable as int32 (DefaultTab) in the user control.

I can't seem to provide the correct syntax to the tabstrip property other
than SelectedIndex = 1 which works but if I try SelectedIndex = DefaultTab,
it fails stating that DefaultTab is not a valid value for Int32.

Thanks in advance for any help!!

Bob Hanson
 
Hello Robert,
I am not sure if the problem is clear. What is DefaultTab?
Can you post more of your code so I can better help you?
Why SelectedIndex=1 is not good enough?

Thanks,
Bassel Tabbara
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.


--------------------
| From: "Robert V. Hanson" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control
| Date: Mon, 30 Jun 2003 15:07:36 -0500
| Organization: Posted via Supernews, http://www.supernews.com
| Message-ID: <[email protected]>
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| X-Complaints-To: (e-mail address removed)
| Lines: 13
| Path:
cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-
post-01!supernews.com!corp.supernews.com!not-for-mail
| Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:31191
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have a user control built using the Microsoft IE Control.
|
| I declared a public variable as int32 (DefaultTab) in the user control.
|
| I can't seem to provide the correct syntax to the tabstrip property other
| than SelectedIndex = 1 which works but if I try SelectedIndex =
DefaultTab,
| it fails stating that DefaultTab is not a valid value for Int32.
|
| Thanks in advance for any help!!
|
| Bob Hanson
|
|
|
 
I had been following an example in my Professional VB.Net book that is
outdated. I followed the walkthrough for creating custom controls in
MSDN and it works great.

Thanks for your reply!!

Bob Hanson
 
Back
Top