Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help ayuda needed ayuda help help help !
Message
From
15/08/2001 14:11:08
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
15/08/2001 12:04:45
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00544132
Message ID:
00544216
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform