TabControl event not triggering

  • Thread starter Thread starter sbkAccess
  • Start date Start date
S

sbkAccess

Guest
The following code is not executing when I click tab of this object:

Private Sub pg_BillTo_Click()

MsgBox "ok"

mdlInvoiceDisplay.Display_Customer_Info Me.txt_BillingID, "Bill"

End Sub

Do I need to set some parameter to make tab events work?

As I am going back and feeling around the control I see that it works when I click below the tab.

That is not good enough.

Does anyone no where to get a better tabs control object control?

Any suggestion would be appreciated.
 
Last edited:
Is the pg_BillTo a name of the page? Is it visible when you click it. You code should be OK? I don't see anything wrong.
 
Yes the pg_Bill is a page. In addition the event works when I click on a specific part of the page in the TabControl. It does trigger when I click the tab which is neccesary because I am populating that page on this event.
 

Users who are viewing this thread

Back
Top Bottom