Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help ayuda needed ayuda help help help !
Message
De
15/08/2001 14:11:08
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
 
 
À
15/08/2001 12:04:45
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00544132
Message ID:
00544216
Vues:
10
You want to base it on when the user clicks on the tab control, the code determiens what the current tab seelcted is and takes appropriate action. see the code below.

Private Sub tabClient_Click(PreviousTab As Integer)

Select Case tabClient.Tab
Case is = 0
cmdSave.Visible = False
cmdOpen.Visible = True
'put some code here to do your database work or better yet
'use a called procedure
Case is = 1
cmdNew.Visible = False
'put some code here to do your database work or better yet
'use a called procedure
End Select

End Sub
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform