<?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-Visual Studio Just-In-Time Debugger</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Track Control-Visual Studio Just-In-Time Debugger]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 14:07:42 +0000</pubDate>
  <lastBuildDate>Tue, 21 Aug 2012 03:30:59 +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=19847</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-Visual Studio Just-In-Time Debugger : BlockMoved is declared as a Variant....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68798&amp;title=track-controlvisual-studio-justintime-debugger#68798</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 19847<br /><strong>Posted:</strong> 21 August 2012 at 3:30am<br /><br />BlockMoved is declared as a Variant. Try declaring it as TrackBlock. In the Mousup event do a compare with IS instead of &lt;&gt;.]]>
   </description>
   <pubDate>Tue, 21 Aug 2012 03:30:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68798&amp;title=track-controlvisual-studio-justintime-debugger#68798</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control-Visual Studio Just-In-Time Debugger :   Hi,I hope that this post will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68771&amp;title=track-controlvisual-studio-justintime-debugger#68771</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7274">wsun</a><br /><strong>Subject:</strong> 19847<br /><strong>Posted:</strong> 17 August 2012 at 9:55pm<br /><br /><div style=": rgb248, 248, 252; ">Hi,</div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">I hope that this post will approved by moderator as soon as possible.</div><div style=": rgb248, 248, 252; ">I have tried to do my project by following the suggestion from Xander75, but still fail to do this.&nbsp;<img src="http://forum.codejock.com/smileys/smiley6.gif" border="0" alt="Unhappy" title="Unhappy" /></div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">My sample code show as below:</div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">Public BlockMoved, BlockOriginal &nbsp;As TrackBlock</div><br style=": rgb248, 248, 252; "><div style=": rgb248, 248, 252; ">Private Sub TrackControl1_MouseDown(Button As Integer, Shift As Integer, x As Long, y As Long)</div><div style=": rgb248, 248, 252; "><span ="apple-tab-span"="" style="white-space: pre; ">	</span>Set BlockOriginal = TrackControl1.HitTest(x, y).Block</div><div style=": rgb248, 248, 252; ">End Sub</div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">Private Sub TrackControl1_BlockChanged(ByVal Block As XtremeReportControl.TrackBlock)</div><div style=": rgb248, 248, 252; "><span ="apple-tab-span"="" style="white-space: pre; ">	</span>TrackControl1.AllowBlockMove = False<span ="apple-tab-span"="" style="white-space: pre; ">	</span></div><div style=": rgb248, 248, 252; "><span ="apple-tab-span"="" style="white-space: pre; ">	</span>Set BlockMoved = Block</div><div style=": rgb248, 248, 252; ">End Sub</div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">Private Sub TrackControl1_MouseUp(Button As Integer, Shift As Integer, x As Long, y As Long)</div><div style=": rgb248, 248, 252; "><span ="apple-tab-span"="" style="white-space: pre; ">	</span>If BlockMoved &lt;&gt; BlockOriginal Then&nbsp;</div><div style=": rgb248, 248, 252; "><span ="apple-tab-span"="" style="white-space: pre; ">		</span>' MsgBox "Confirm to Save ?"&nbsp;</div><div style=": rgb248, 248, 252; "><span ="apple-tab-span"="" style="white-space: pre; ">	</span>End If</div><div style=": rgb248, 248, 252; ">End Sub</div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">At the beginning, I have to set .AllowBlockMove = True. When run the program, it don't run the MouseDown event when left click on the block. Hence, I cannot get the value for BlockOriginal. To run the MouseUp event, I have to set .AllowBlockMove = False in BlockChanged event. But it only will run MouseUp event when clicking again on that changed block. When run the MouseUp event, it got error message "Object doesn't support this property or method".&nbsp;</div><div style=": rgb248, 248, 252; ">I hope that can get your advise and help from all of you as soon as possible.</div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; "><br></div><div style=": rgb248, 248, 252; ">Thank you in advance.</div>]]>
   </description>
   <pubDate>Fri, 17 Aug 2012 21:55:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68771&amp;title=track-controlvisual-studio-justintime-debugger#68771</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control-Visual Studio Just-In-Time Debugger : Hi,Sorry, I can&amp;#039;t get it....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68441&amp;title=track-controlvisual-studio-justintime-debugger#68441</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7274">wsun</a><br /><strong>Subject:</strong> 19847<br /><strong>Posted:</strong> 15 June 2012 at 10:18pm<br /><br />Hi,<div><br></div><div>Sorry, I can't get it. Can you show source sample here? I have some questions.</div><div>1. Do you means that Public&nbsp;<span style="text-align: left; ">BlockMoved &amp; BlockOriginal as TrackBlock?&nbsp;</span></div><div><span style="text-align: left; ">2. To avoid it fire the MouseUp event, I have to set the&nbsp;</span><span style="text-align: left; ">.</span><span style="text-align: left; ">AllowBlockMove=False. But, I don't sure with the MouseDown event because i</span><span style="text-align: left; ">t will fire the MouseDown event when left click even I have to set the .</span><span style="text-align: left; ">AllowBlockMove=False. Can you give me some advise to avoid it fire the&nbsp;</span><span style="text-align: left; ">MouseDown event.</span></div><div><span style="text-align: left; ">3.&nbsp;</span><span style="text-align: left; ">In the MouseDown event, h</span><span style="text-align: left; ">ow to set the&nbsp;</span><span style="text-align: left; ">BlockOriginal&nbsp;</span><span style="text-align: left; ">&nbsp;</span><span style="text-align: left; ">to be the Block that is selected? And also with&nbsp;the same case in the&nbsp;</span><span style="text-align: left; ">BlockChanged event.</span></div><div><span style="text-align: left; ">4. At the beginning, I set&nbsp;</span><span style="text-align: left; ">.</span><span style="text-align: left; ">AllowBlockMove=True to allow the block move, after block moved I set&nbsp;</span><span style="text-align: left; ">.</span><span style="text-align: left; ">AllowBlockMove=False in the&nbsp;</span><span style="text-align: left; ">BlockChanged event</span><span style="text-align: left; ">.</span><span style="text-align: left; ">&nbsp;The message box doesn't show immediately after the block moved, after click again on the moved block the message box only show out.</span></div><div><span style="text-align: left; ">5. Besides, I tried to use TrackControl.SelectedBlocks&nbsp;to set only the selected block can move and others are can't move to avoid the block overlap with each other. But I fail to do it. Can I get your advise how to set it?</span></div><div><span style="text-align: left; "><br></span></div><div><span style="text-align: left; "><br></span></div><div><span style="text-align: left; ">Thank you.</span></div><br ="Apple-interchange-newline">]]>
   </description>
   <pubDate>Fri, 15 Jun 2012 22:18:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68441&amp;title=track-controlvisual-studio-justintime-debugger#68441</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control-Visual Studio Just-In-Time Debugger : Hi,Don&amp;#039;t put the MessageBox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68426&amp;title=track-controlvisual-studio-justintime-debugger#68426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 19847<br /><strong>Posted:</strong> 13 June 2012 at 3:36am<br /><br />Hi,<br><br>Don't put the MessageBox in the TimeLineLabel simply because this event is always running in the background and that's why your application will crash!<br><br>What I have done is to create a BlockMoved &amp; BlockOriginal global variable. <br><br>In the MouseDown event set the BlockOriginal  to be the Block that is selected.<br>In the BlockChanged event set the BlockMoved  to be the Block that is changing.<br><br>Then on MouseUp if the BlockMoved   &amp; BlockOriginal are different then show your MessageBox.<br><br><br>]]>
   </description>
   <pubDate>Wed, 13 Jun 2012 03:36:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68426&amp;title=track-controlvisual-studio-justintime-debugger#68426</guid>
  </item> 
  <item>
   <title><![CDATA[Track Control-Visual Studio Just-In-Time Debugger : Hi,Can anyone help me to solve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68405&amp;title=track-controlvisual-studio-justintime-debugger#68405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7274">wsun</a><br /><strong>Subject:</strong> 19847<br /><strong>Posted:</strong> 11 June 2012 at 5:16am<br /><br />Hi,<div><br><div><img src="http://forum.codejock.com/uploads/7274/TrackC&#111;ntrol_Block_01.JPG" height="235" width="836" border="0" /><br><div><div><br></div><div>Can anyone help me to solve my problem. In then TrackControl_TimeLineLabel event, I tried to show a message box to confirm save the changed block after the block move from Row5 to Row6.&nbsp;</div><div>The message box seems like the screenshot1 show as below. After save, I have to clear the Track Control and loop the new data into Track Control. But No matter I click on Yes/No button, it will popup Visual Studio Just-In-Time Debugger (screenshot2) and close the program.</div><div><br></div><div><img src="uploads/7274/C&#111;nfirmSave.JPG" height="126" width="185" border="0" /></div><div><div>Screenshot1</div></div></div></div><div><br></div><div><img src="uploads/7274/ErrorMsg.JPG" height="437" width="398" border="0" /><br></div><div>Screenshot2</div><div><br></div><div>Besides, in the&nbsp;TrackControl_BlockChanged event, I also tried to show a message box to confirm save the changed block after the block move from Row5 to Row6. The message box seems like the screenshot1. After save, I have to clear the Track Control and loop the new data into Track Control. But No matter I click on Yes/No button, it will automatic close the program.</div></div><div><br></div><div>I hope that can get your help as soon as possible. Thank you.</div>]]>
   </description>
   <pubDate>Mon, 11 Jun 2012 05:16:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19847&amp;PID=68405&amp;title=track-controlvisual-studio-justintime-debugger#68405</guid>
  </item> 
 </channel>
</rss>