Need help with Tabpage.TabIndex Property (C#)

L

Likhith Areekkal

Hello,

Here is my problem:

I did a layout of the tab pages as follows (in the given order):

'Login' 'Log Calls' 'Priority' 'Action' 'View'
(total 5 tab pages)

Now, the problem is that the tabs are not appearing in the sequence I
designed. When I run the program it comes up in displays in the following
sequence :

'Login' 'Action' 'View' 'Priority' 'Log calls'

I was under the impression that it may be the TabPage.Tabindex problem.
I went and checked the TabIndex in the generated code
The integer values for the indexes are as follows :

'Login' - 0
'Log Calls' - 1
'Priority' - 3
'Action' - 4
'View' - 5

I tied changing the Index values but it doesn't have any effect.

The original layout I was doing also changed it's sequence.
How can I fix the problem and bring the tabpages back in the sequence I
want.

Does anyone hae any suggestions? Is there any technique to drag the pages
and put them in the correct order? I am using Visual Studio 2003 Framework
1.1

Please let me know.

Thanks in advance.

Regards,
Li
( (e-mail address removed) )
 
M

Morten Wennevik

Hi Likhith Areekkal,

You can change the TabPage order if you clik on the [...] button in the
TabPages property of the TabControl. Select each page and use the arrow
buttons to rearrange.
 
G

Guest

I am having the same issue. I checked the TabPages property of the TabControl
and the pages are listed in the right order. I can also see that the order is
right inside the IDE (Visual Studio .NET 2003). But when I run it, the tabs
are rearranged.

Thanks in advance

Prem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top