<?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 : Track Control -Double Click On Block</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Track Control -Double Click On Block]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 14:08:33 +0000</pubDate>
  <lastBuildDate>Mon, 11 Jun 2012 05:23:03 +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=19620</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[Track Control -Double Click On Block : Hi,Yes, i got it. Thank you very...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68407&amp;title=track-control-double-click-on-block#68407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7274">wsun</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 11 June 2012 at 5:23am<br /><br />Hi,<div><br></div><div>Yes, i got it. Thank you very much.</div>]]>
   </description>
   <pubDate>Mon, 11 Jun 2012 05:23:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68407&amp;title=track-control-double-click-on-block#68407</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control -Double Click On Block : Hi!    ! i&amp;#039;m new in the Post.-...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68340&amp;title=track-control-double-click-on-block#68340</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7487">diegosoftlord</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 24 May 2012 at 9:32am<br /><br />Hi!&nbsp;<div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; ! i'm new in the Post.-&nbsp;<div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; You can show some example for change the label time with date format.-&nbsp;</div><div>Because i Could not get it yet .-</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thank You Very Much&nbsp;</div></div>]]>
   </description>
   <pubDate>Thu, 24 May 2012 09:32:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68340&amp;title=track-control-double-click-on-block#68340</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control -Double Click On Block :    Hi,I have had another look...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68216&amp;title=track-control-double-click-on-block#68216</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 09 May 2012 at 2:15pm<br /><br />Hi,<br><br>I have had another look at the DblClick event as the method I posted wasn't that reliable.<br><br>I have found some code on these forums (I can't remember which post!) and built upon the code to create a class that adds the missing DblClick event, however doing so swallows the RowDblClick so I have had to extend the RowDblClick event too.<br><br>Here's the code:&nbsp;<a href="uploads/2960/cExtender.rar" target="_blank">uploads/2960/cExtender.rar</a><br><br>How to use...<br><br>Before adding any code you must first have the SSubTimer6.dll file downloaded on your computer. This can be found on vbaccelerator at: <a href="http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp" target="_blank">http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp</a><br><br>Step 1:<br><table width="99%"><tr><td><pre class="BBcode"><font color="#006600">' Add the cExtender.cls to the Project then create a reference using WithEvents in the General Declarations area of the Form with the TrackControl</font><br><font color="#000099">Dim WithEvents</font> cExtender <font color="#000099">As </font>cExtender<br></pre></td></tr></table><br>Step 2:<br><table width="99%"><tr><td><pre class="BBcode"><font color="#006600">' Add the following code to the Form Load event</font><br><font color="#000099">Set </font>cExtender = <font color="#000099">New </font>cExtender <br><font color="#000099">Call </font>cExtender.Extend(TrackControl)&nbsp;&nbsp; <font color="#006600">' &lt;&lt;&lt; TrackControl is the name of your TrackControl</font><br></pre></td></tr></table><br>Step 3:<br><table width="99%"><tr><td><pre class="BBcode"><font color="#006600">' Add the following code to the Form Unload event</font><br><font color="#000099">Call </font>cExtender.ExtendComplete(TrackControl)&nbsp;&nbsp;<font color="#006600"> ' &lt;&lt;&lt; TrackControl is the name of your TrackControl</font><br></pre></td></tr></table><br>Step 4:<br><table width="99%"><tr><td><pre class="BBcode"><font color="#006600">' You now have a DblClick event for the Block, Column &amp; Row for Left, Middle &amp; Right Mouse Buttons</font><br><font color="#000099">Private Sub </font>cExtender_BlockDblClick(Button <font color="#000099">As Integer</font>, <font color="#000099">ByVal </font>Block <font color="#000099">As</font> XtremeReportControl.TrackBlock)<br>&nbsp;&nbsp;&nbsp; <font color="#000099">Debug.Print</font> "BlockDblClick"<br><font color="#000099">End Sub</font><br><br><font color="#000099">Private Sub </font>cExtender_ColumnDblClick(Button <font color="#000099">As </font><font color="#000099">Integer</font>, <font color="#000099">ByVal </font>Column <font color="#000099">As</font> XtremeReportControl.IReportColumn)<br>&nbsp;&nbsp;&nbsp; <font color="#000099">Debug.Print</font> "ColumnDblClick" <br><font color="#000099">End Sub</font><br><br><font color="#000099">Private Sub </font>cExtender_RowDblClick(Button <font color="#000099">As </font><font color="#000099">Integer</font>, <font color="#000099">ByVal </font>Row <font color="#000099">As</font> XtremeReportControl.IReportRow, <font color="#000099">ByVal </font>Item <font color="#000099">As </font>XtremeReportControl.IReportRecordItem)<br>&nbsp;&nbsp;&nbsp; <font color="#000099">Debug.Print</font> "RowDblClick"<br><font color="#000099">End Sub</font><br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 09 May 2012 14:15:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68216&amp;title=track-control-double-click-on-block#68216</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control -Double Click On Block : Hi,Sorry for the delay in getting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68062&amp;title=track-control-double-click-on-block#68062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 23 April 2012 at 3:44am<br /><br />Hi,<br><br>Sorry for the delay in getting back to you. It looks like the MouseUp event doesn't fire if you have the .AllowBlockMove = True, setting this to False allows this to work.<br><br>In my project I use the TrackControl for display purposes only, therefore I have this set to False. <br>]]>
   </description>
   <pubDate>Mon, 23 Apr 2012 03:44:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=68062&amp;title=track-control-double-click-on-block#68062</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control -Double Click On Block :  Hi,I&amp;#039;m using Xtreme SuitePro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=67988&amp;title=track-control-double-click-on-block#67988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7274">wsun</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 15 April 2012 at 10:30pm<br /><br />Hi,&nbsp;<div>I'm using Xtreme SuitePro ActiveX v15.0.1.<b> </b>It is not work for me when clicking on the block and it didn't run the MouseDown event.</div><div>I hope that can get some advise from all of you.</div><div><br></div><div>Thank you.</div>]]>
   </description>
   <pubDate>Sun, 15 Apr 2012 22:30:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=67988&amp;title=track-control-double-click-on-block#67988</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control -Double Click On Block :        Hi,This might not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=67937&amp;title=track-control-double-click-on-block#67937</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 03 April 2012 at 10:56am<br /><br />Hi,<br><br>This might not be the best way but it works as a workaround for your needs:<br><br><table width="99%"><tr><td><pre class="BBcode">' Add this code to a module<br>Private Declare Function GetDoubleClickTime Lib "user32.dll" () As Long<br>Private Click As String<br>Private DblClick As String<br><br>Public Function ReportControlDblClick() As Boolean<br>&nbsp;&nbsp;&nbsp; If Trim$(Click) = vbNullString Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click = Format$(Date, "yyyymmdd") &amp; Format$(Time, "hhnnss") &amp; Right(Format(Timer, "#0.000"), 3)<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DblClick = Format$(Date, "yyyymmdd") &amp; Format$(Time, "hhnnss") &amp; Right(Format(Timer, "#0.000"), 3)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If DblClick - Click &lt; GetDoubleClickTime Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportControlDblClick = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click = vbNullString<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DblClick = vbNullString<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click = Format$(Date, "yyyymmdd") &amp; Format$(Time, "hhnnss") &amp; Right(Format(Timer, "#0.000"), 3)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; ReportControlDblClick = False<br>End Function<br></pre></td></tr></table><br>Next add the following code to the ReportControl:<br><br><table width="99%"><tr><td><pre class="BBcode">Private Sub rpcGrid_MouseDown(Button As Integer, Shift As Integer, x As Long, y As Long)&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If Button = vbLeftButton Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Row As ReportRow<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Row = rpcGrid.HitTest(x, y).Row<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Row.Selected = True<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Private Sub rpcGrid_MouseUp(Button As Integer, Shift As Integer, x As Long, y As Long)<br>&nbsp;&nbsp;&nbsp; If Button = vbLeftButton Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If ReportControlDblClick Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Case rpcGrid.HitTest(x, y).ht<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case xtpHitTestBlock<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox rpcGrid.HitTest(x, y).Block.Caption<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Select<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Tue, 03 Apr 2012 10:56:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=67937&amp;title=track-control-double-click-on-block#67937</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control -Double Click On Block : Hi,Got anyone how to show a message...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=67900&amp;title=track-control-double-click-on-block#67900</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7274">wsun</a><br /><strong>Subject:</strong> 19620<br /><strong>Posted:</strong> 29 March 2012 at 12:07am<br /><br />Hi,<div>Got anyone how to show a message box when double click on block? Hope someone can help me.</div><div><br></div><div><img src="uploads/7274/TrackC&#111;ntrol_Block_01.JPG" height="235" width="836" border="0" /><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 29 Mar 2012 00:07:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19620&amp;PID=67900&amp;title=track-control-double-click-on-block#67900</guid>
  </item> 
 </channel>
</rss>