TabControl SelectedChanged event on VBA |
Post Reply |
Author | |
celebre
Newbie Joined: 11 July 2006 Location: Spain Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 11 July 2006 at 5:47pm |
Public Event SelectedChanged( ByVal 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?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
for VBA try "Item As Object" in events parameter
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
celebre
Newbie Joined: 11 July 2006 Location: Spain Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Thx for the tip, now It's recognized
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |