<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Rt-Click and Cut/paste</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Rt-Click and Cut/paste]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:12:42 +0000</pubDate>
  <lastBuildDate>Wed, 17 Jan 2007 18:04:22 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=6024</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Rt-Click and Cut/paste :    Dixie wrote:One small piece...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19462&amp;title=rtclick-and-cut-paste#19462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 17 January 2007 at 6:04pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Dixie" alt="Originally posted by Dixie" style="vertical-align: text-bottom;" /> <strong>Dixie wrote:</strong><br /><br />One small piece I forgot to mention- I am using a multi-resource schedule and so when I paste the appt, it shows up in the left most resources' column and not the one that was right-clicked.<div>&nbsp;</div><div>Can you help?</div></td></tr></table><br><br>1. Use latest demo from codejock. Buttons on toolbar work.<br><br>NOTE 1.<br>When you left-click on event -- subject editing is started. <br>Buttons are disabled because no text is selected, otherwise Cut/Copy/Paste works with subject editor text (not with the event).<br>&nbsp;<br>NOTE 2. <br>You can easily disable start subject editing by left-click. <br>See menu Calendar-&gt;Advanced options. <br>&nbsp;<br>SetSelection function is outdated. Use CalendarView.Selection property.<br>&nbsp;<br>Just add string:<br>CalendarControl.ActiveView.Selection.GroupIndex = HitTest.ViewGroup.GroupIndex <br>&nbsp;<br>Also, please look at calendar properties in object browser.<br><br>--<br>WBR,<br>Serge <br>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 18:04:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19462&amp;title=rtclick-and-cut-paste#19462</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : Dentor,  Once again, my thanks!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19433&amp;title=rtclick-and-cut-paste#19433</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2655">Dixie</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 17 January 2007 at 8:35am<br /><br />Dentor,<DIV>&nbsp;</DIV><DIV>Once again, my thanks! This is exactly what I was looking for!</DIV><DIV>&nbsp;</DIV><DIV>One small piece I forgot to mention- I am using a multi-resource schedule and so when I paste the appt, it shows up in the left most resources' column and not the one that was right-clicked.</DIV><DIV>&nbsp;</DIV><DIV>Can you help?</DIV>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 08:35:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19433&amp;title=rtclick-and-cut-paste#19433</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : Hello Dixie,  You&amp;#039;re right,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19392&amp;title=rtclick-and-cut-paste#19392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 16 January 2007 at 4:35am<br /><br />Hello Dixie,<DIV>&nbsp;</DIV><DIV>You're right, to paste an appointment at the right-clicked location, you must make sure the cell is selected.</DIV><DIV>&nbsp;</DIV><DIV>So&nbsp;the sub 'CalendarControl_ContextMenu' must be modify to do the job:</DIV><DIV>(two lines added)</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CalendarControl_ContextMenu(ByVal x As Single, ByVal y As Single)<BR>&nbsp;&nbsp;&nbsp; Debug.Print "On context menu"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim HitTest As CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp; Set HitTest = CalendarControl.ActiveView.HitTest<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If Not HitTest.ViewEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HitTest.ViewEvent.Selected = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ContextEvent = HitTest.ViewEvent.Event<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContexEditEvent<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ContextEvent = Nothing<BR>&nbsp;&nbsp;&nbsp; ElseIf (HitTest.HitCode = xtpCalendarHitTestDayViewTimeScale) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContextTimeScale<BR>&nbsp;&nbsp;&nbsp; Elseif HitTest.TimePartValid Then ' *** added to test&nbsp;location of cell clicked<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' *** Make sure the cell right-clicked is selected<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl.ActiveView.SetSelection HitTest.HitDateTime, DateAdd("n", Calendar.ActiveView.TimeScale, HitTest.HitDateTime), False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContextNewEvent<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I think this solve the Paste case.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 16 Jan 2007 04:35:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19392&amp;title=rtclick-and-cut-paste#19392</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : Dentor,  Bingo!!! That did it!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19354&amp;title=rtclick-and-cut-paste#19354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2655">Dixie</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 15 January 2007 at 8:45am<br /><br />Dentor,<DIV>&nbsp;</DIV><DIV>Bingo!!! That did it! I am now able to cut appointments!</DIV><DIV>Thanks so much!</DIV><DIV>&nbsp;</DIV><DIV>One other small item.... I seem to be able to now paste them but,&nbsp;no matter where I cut the appointment from and&nbsp;try to paste to (different resources, differet times) &nbsp;the appointment is showing up at the left upper most time, and not the time that I chose by right clicking....</DIV><DIV>&nbsp;</DIV><DIV>help.......</DIV>]]>
   </description>
   <pubDate>Mon, 15 Jan 2007 08:45:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19354&amp;title=rtclick-and-cut-paste#19354</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : Hello,  You are almost right,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19338&amp;title=rtclick-and-cut-paste#19338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 15 January 2007 at 3:35am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>You are almost right, just one or two lines missing.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><U>To this sub, I just add one line of code</U>:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CalendarControl_ContextMenu(ByVal x As Single, ByVal y As Single)<BR>&nbsp;&nbsp;&nbsp; Debug.Print "On context menu"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim HitTest As CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp; Set HitTest = CalendarControl.ActiveView.HitTest<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If Not HitTest.ViewEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HitTest.ViewEvent.Selected = True '&nbsp; *** is missing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ContextEvent = HitTest.ViewEvent.Event<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContexEditEvent<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ContextEvent = Nothing<BR>&nbsp;&nbsp;&nbsp; ElseIf (HitTest.HitCode = xtpCalendarHitTestDayViewTimeScale) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContextTimeScale<BR>&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContextNewEvent<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub<BR>&nbsp;<BR><U>This sub can be dropped (not necessary, because the code is already and must be, put in the CalendarControl_ContextMenu):</U><BR>&nbsp;<BR>Private Sub ContextEdit_Click()<BR>Dim HitTest As CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp; Set HitTest = CalendarControl.ActiveView.HitTest<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp; If Not HitTest.ViewEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HitTest.ViewEvent.Selected = True<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV><U>I correct just one case (0=Cut) of the select case</U>:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ContextMenu_Click(Index As Integer)<BR>&nbsp;&nbsp;&nbsp; Select Case Index<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 0: ' Cut<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl.ActiveView.CanCut Then CalendarControl.ActiveView.Cut ' *** Corrected<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 1: ' Copy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl.ActiveView.CanCopy Then CalendarControl.ActiveView.Copy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 2: ' Paste<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl.ActiveView.CanPaste Then CalendarControl.ActiveView.Paste<BR>&nbsp;&nbsp;&nbsp; End Select<BR>End Sub<BR></DIV><DIV>Hope this will help you.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 15 Jan 2007 03:35:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19338&amp;title=rtclick-and-cut-paste#19338</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : So, I am still missing something.  Here...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19325&amp;title=rtclick-and-cut-paste#19325</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2655">Dixie</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 14 January 2007 at 4:52pm<br /><br />So, I am still missing something.<DIV>&nbsp;</DIV><DIV>Here is what I have for CalendarControl_ContextMenu:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CalendarControl_ContextMenu(ByVal x As Single, ByVal y As Single)</DIV><DIV>&nbsp;&nbsp;&nbsp; Debug.Print "On context menu"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim HitTest As CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp; Set HitTest = CalendarControl.ActiveView.HitTest<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If Not HitTest.ViewEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ContextEvent = HitTest.ViewEvent.Event<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContexEditEvent<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ContextEvent = Nothing<BR>&nbsp;&nbsp;&nbsp; ElseIf (HitTest.HitCode = xtpCalendarHitTestDayViewTimeScale) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContextTimeScale<BR>&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.PopupMenu mnuContextNewEvent<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>as well as this:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ContextEdit_Click()<BR>Dim HitTest As CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp; Set HitTest = CalendarControl.ActiveView.HitTest<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp; If Not HitTest.ViewEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HitTest.ViewEvent.Selected = True<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub<BR></DIV><DIV>then I have the menu named ContextMenu and the following:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ContextMenu_Click(Index As Integer)<BR>&nbsp;&nbsp;&nbsp; Select Case Index<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 0: ' Cut<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'CalendarControl.ActiveView.CanCut<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'If CalendarControl.ActiveView.CanCut Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl.ActiveView.Cut<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 1: ' Copy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl.ActiveView.CanCopy Then CalendarControl.ActiveView.Copy<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case 2: ' Paste<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If CalendarControl.ActiveView.CanPaste Then CalendarControl.ActiveView.Paste<BR>&nbsp;&nbsp;&nbsp; End Select<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>what am I still missing?????????</DIV>]]>
   </description>
   <pubDate>Sun, 14 Jan 2007 16:52:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19325&amp;title=rtclick-and-cut-paste#19325</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : Hello,  Calendar is the name...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19289&amp;title=rtclick-and-cut-paste#19289</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 14 January 2007 at 3:19am<br /><br /><DIV>Hello,</DIV><DIV>&nbsp;</DIV><DIV>Calendar is the name of CalendarControl, and 'Cut' is a method, not a property, with no parameter, so the right instruction is:</DIV><DIV>&nbsp;</DIV><DIV>Calendar.ActiveView.Cut</DIV><DIV>&nbsp;</DIV><DIV>You can add&nbsp;the CanCut property (this property is true if you can Cut an appointment), that makes:</DIV><DIV>&nbsp;</DIV><DIV>If Calendar.ActiveView.CanCut Then Calendar.ActiveView.Cut</DIV><DIV>&nbsp;</DIV><DIV>This is the same with the 'Copy', or 'Paste' methods:</DIV><DIV>&nbsp;</DIV><DIV>If Calendar.ActiveView.CanCopy Then Calendar.ActiveView.Copy</DIV><DIV>If Calendar.ActiveView.CanPaste Then Calendar.ActiveView.Paste</DIV><DIV>&nbsp;</DIV><DIV>Good Week end <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 14 Jan 2007 03:19:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19289&amp;title=rtclick-and-cut-paste#19289</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : Great, thanks!  How do you set:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19281&amp;title=rtclick-and-cut-paste#19281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2655">Dixie</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 13 January 2007 at 2:09pm<br /><br />Great, thanks!<DIV>&nbsp;</DIV><DIV>How do you set: Calendar.ActiveView.Cut??</DIV><DIV>&nbsp;</DIV><DIV>I've tried </DIV><DIV>Calendar.ActiveView.Cut = true in my code but got an error.</DIV><DIV>&nbsp;</DIV><DIV><BR><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 13 Jan 2007 14:09:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19281&amp;title=rtclick-and-cut-paste#19281</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : As the method Calendar.ActiveView.Cut...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19280&amp;title=rtclick-and-cut-paste#19280</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 13 January 2007 at 1:53pm<br /><br />As the method Calendar.ActiveView.Cut works with the selected appointment, you must be sure the appointment right-clicked is really selected.<DIV>&nbsp;</DIV><DIV>So you get the lines of program that must be&nbsp;in the&nbsp;Sub 'ContextEdit_Click()' : (because HitTest property has a value only in this sub)</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ContextEdit_Click()<BR>Dim HitTest As CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp; Set HitTest = Calendar.ActiveView.HitTest</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; If Not HitTest.ViewEvent Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HitTest.ViewEvent.Selected = True<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>After you click the 'Cut Appointment' menu :</DIV><DIV>&nbsp;</DIV><DIV>Private Sub mnuCutAppt_Click()<BR>&nbsp;&nbsp;&nbsp; If Calendar.ActiveView.CanCut Then Calendar.ActiveView.Cut<BR>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV>Then you cut&nbsp;the appointment selected. <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 13 Jan 2007 13:53:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19280&amp;title=rtclick-and-cut-paste#19280</guid>
  </item> 
  <item>
   <title><![CDATA[Rt-Click and Cut/paste : the sample works fine, thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19278&amp;title=rtclick-and-cut-paste#19278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2655">Dixie</a><br /><strong>Subject:</strong> 6024<br /><strong>Posted:</strong> 13 January 2007 at 1:20pm<br /><br />the sample works fine, thanks again for that!!!<DIV>&nbsp;</DIV><DIV>I am just really stumped by the steps after you click the 'Cut appointment"</DIV><DIV>&nbsp;</DIV><DIV>in the sample I DL from CodeJock, I can't even seem to get the toolbar cut to work.... </DIV><DIV>&nbsp;</DIV><DIV>what am I missing?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 13 Jan 2007 13:20:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6024&amp;PID=19278&amp;title=rtclick-and-cut-paste#19278</guid>
  </item> 
 </channel>
</rss>