Freezing/disabling tabpage selectively

Discussion in 'Questions (Windows Mobile)' started by mozaharul, May 29, 2008.

  1. mozaharul

    mozaharul Active Member Licensed User

    Hi all,

    I've some tabpages, depending upon condition of a control on the first tabpage is it possible to freeze/disable other tabpages ?


    regards,
     
  2. Rioven

    Rioven Active Member Licensed User

    Hi mozaharul, You could try this...


    Sub tbc1_selectionchanged(Index,"")

    If tbc1.selectedindex=1 or ..other index..and..some other conditions.. Then
    tbc1.selectedindex=0 'go back to previous selected tab
    Msgbox("not allowed!'")
    End If

    End Sub
     
    Last edited: May 29, 2008
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice