E Evan Camilleri Nov 12, 2004 #1 Tab Control Code Doesn't Run Page Click Events: why and what is the work around? Evan Camilleri
A Allen Browne Nov 12, 2004 #2 Use the Change event of the tab control. That's the event that runs when a different tab is clicked.
G Guest Nov 12, 2004 #3 The tab is a seprate object from the detail section. You will need to provide code for both click events in order to achieve your desired result. You can write a single function to be called by each event. Example: Sub DoMyCommand() 'Place procedures here End Sub Sub Page1_Click() DoMyCommand End Sub Sub Detail_Click() DoMyCommand End Sub Hope this helps. Good luck.
The tab is a seprate object from the detail section. You will need to provide code for both click events in order to achieve your desired result. You can write a single function to be called by each event. Example: Sub DoMyCommand() 'Place procedures here End Sub Sub Page1_Click() DoMyCommand End Sub Sub Detail_Click() DoMyCommand End Sub Hope this helps. Good luck.
E Evan Camilleri Nov 12, 2004 #4 Thanks, that's the way Allen Browne said: Use the Change event of the tab control. That's the event that runs when a different tab is clicked. Click to expand...
Thanks, that's the way Allen Browne said: Use the Change event of the tab control. That's the event that runs when a different tab is clicked. Click to expand...