Print Page | Close Window

Double Click

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=3937
Printed Date: 29 April 2024 at 7:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Double Click
Posted By: dhaener
Subject: Double Click
Date 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?



Replies:
Posted By: sserge
Date 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


Posted By: glennj
Date 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??



Posted By: glennj
Date Posted: 12 May 2006 at 10:44am
Ignore me.... it works fine!! 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net