Tab Control Change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monadel
    New Member
    • Sep 2007
    • 17

    Tab Control Change

    Is anyone know how to handle if someone has not submit/save or made changes on 1 form which has a multiple tabs, but then user forgot to save it and move on click on the next tab.
    Is there a function to check on like tabOnChange?

    Cheers
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Originally posted by monadel
    Is anyone know how to handle if someone has not submit/save or made changes on 1 form which has a multiple tabs, but then user forgot to save it and move on click on the next tab.
    Is there a function to check on like tabOnChange?

    Cheers
    Hi,

    Yes write the Checking code in
    Something like this :

    [code=vb]
    Private Sub SSTab1_Click(Pr eviousTab As Integer)
    'Write ur code here
    If MyCondition = False Then
    SSTab1.Tab = PreviousTab
    End If
    End Sub
    [/code]

    REgards
    Veena

    Comment

    Working...