Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Access VBA & Taskpanel error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Access VBA & Taskpanel error

 Post Reply Post Reply
Author
Message Reverse Sort Order
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 Topic: Access VBA & Taskpanel error
    Posted: 28 October 2005 at 6:21am

In Access you must use

ByVal Item as Object

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
syndalis View Drop Down
Groupie
Groupie
Avatar

Joined: 20 October 2005
Location: United States
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote syndalis Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2005 at 10:36am

I am trying to use the following code:

 

Private Sub wndTaskPanel_ItemClick(ByVal Item As ITaskPanelGroupItem)
    Debug.Print "ItemClick event. Item.Caption = " & Item.Caption
End Sub

from the VB6 example, I modified it as such

Private Sub wndTaskPanel_ItemClick()

Dim Item As ITaskPanelGroupItem
msgbox (Item.Caption)
End Sub

I am getting an onOpen error on my form, not allowing me to bring the form  into live mode, and I believe it has to do with the fact that ItemClick is not recognized as an event in Access. How do i go about fixing that?

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.125 seconds.