Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Double Click
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Double Click

 Post Reply Post Reply
Author
Message
dhaener View Drop Down
Newbie
Newbie
Avatar

Joined: 03 April 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote dhaener Quote  Post ReplyReply Direct Link To This Post Topic: Double Click
    Posted: 03 April 2006 at 5:17pm
Ok, this is a silly question I'm sure, but here goes.  When I try to invoke the dblclick event (by double clicking anywhere on the control) it doesn't work unless I've typed something in the current cell.  Why?  How can I make it invoke anytime I double click?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2006 at 2:15pm
Hi,

Try to set breakpoint in the method CCalendarDemoView::OnEvent_Calendar() lines:

else if (XTP_NC_CALENDARLBUTTONDBLCLICK == Event)
{
    if (bHitTest && hitInfo.pViewEvent)
    {
        // mouse double clicked - show event edit dialog
....


and you'll see that double click events are coming fine from the Calendar.

If you still have a problem, please describe it in more details.

--
WBR,
Serge
Back to Top
glennj View Drop Down
Newbie
Newbie


Joined: 07 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote glennj Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2006 at 10:40am

I have the same problem...

Private Sub AxCalendarControl1_DblClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxCalendarControl1.DblClick

MessageBox.Show("hit")

End Sub

The above code never gets run... should I be doing it a different way??

Back to Top
glennj View Drop Down
Newbie
Newbie


Joined: 07 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote glennj Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2006 at 10:44am
Ignore me.... it works fine!! 
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.188 seconds.