tab page focus

In tab control the are 3 tab page
when i click a button with is in tabpage 1
i have written(tabpage3.focus) the focus to go to tabpage 3 but its not going what can i do pls help

Comments

  • : In tab control the are 3 tab page
    : when i click a button with is in tabpage 1
    : i have written(tabpage3.focus) the focus to go to tabpage 3 but its not going what can i do pls help
    :
    Try

    Tabcontol.selectedIndex = 2
    (0 = first tab, 1 = second, 2= third)
    Hope this help.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion