Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Access Example - Dbl-Click Error??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Access Example - Dbl-Click Error??

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


Joined: 11 February 2007
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote bardaroart Quote  Post ReplyReply Direct Link To This Post Topic: Access Example - Dbl-Click Error??
    Posted: 12 February 2007 at 10:53am

New Access Example Crashes when Dbl-Clicking an Event

I had the demo installed and the Access example working - when I uninstalled the Demo and Installed the real Version of the Control - the Access Example generates an error - see code below...

Any help is appreciated

Thanks! - AB




Private Sub CalendarControl1_DblClick()
    Dim HitTest As CalendarHitTestInfo
    Set HitTest = Me.CalendarControl1.ActiveView.HitTest

    If HitTest.ViewEvent Is Nothing Then
        '    mnuNewEvent_Click
      
        g_pEditEvenArgs.setNewEvent Me.CalendarControl1.Object
    Else
        g_pEditEvenArgs.setEditingEvent Me.CalendarControl1.Object, HitTest.ViewEvent.Event
    End If
   
      DoCmd.OpenForm "FrmEditEvent", , , , , acDialog

End Sub
Back to Top
bardaroart View Drop Down
Newbie
Newbie


Joined: 11 February 2007
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote bardaroart Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2007 at 5:31pm
errors fixed - made some changes to references...
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.