Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - TabControl SelectedChanged event on VBA
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabControl SelectedChanged event on VBA

 Post Reply Post Reply
Author
Message
celebre View Drop Down
Newbie
Newbie


Joined: 11 July 2006
Location: Spain
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote celebre Quote  Post ReplyReply Direct Link To This Post Topic: TabControl SelectedChanged event on VBA
    Posted: 11 July 2006 at 5:47pm
Public Event SelectedChangedByVal Item As TabControlItem )
 
I'm trying to catch that event in VBA with:
 
Private Sub TabControl1_SelectedChanged(ByVal Item As TabControlItem)
    MsgBox "Don't Work"
End Sub
 
But I get a mismatch declaration error!?
 
What's the problem?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2006 at 12:06pm
Hello,
 
for VBA try "Item As Object" in events parameter
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
celebre View Drop Down
Newbie
Newbie


Joined: 11 July 2006
Location: Spain
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote celebre Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2006 at 3:41pm
Thx for the tip, now It's recognized LOL
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.