<?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 : Column Click - how to trap left click action</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Column Click - how to trap left click action]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 22:29:03 +0000</pubDate>
  <lastBuildDate>Tue, 12 Oct 2010 17:02: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=17404</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[Column Click - how to trap left click action : Hi Aaron,Thank you very much for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17404&amp;PID=60830&amp;title=column-click-how-to-trap-left-click-action#60830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6028">mstuart</a><br /><strong>Subject:</strong> 17404<br /><strong>Posted:</strong> 12 October 2010 at 5:02pm<br /><br />Hi Aaron,<div>Thank you very much for the reply.</div><div><br></div><div>After applying the 'or' option of your code, it didn't work for me.</div><div><br></div><div>So I used the ReportHitTestInfo object to be returned and then I got the Column.ItemIndex from that object.</div><div><br></div><div>Now it works.</div><div><br></div><div>Regards,</div><div>Mark Stuart</div>]]>
   </description>
   <pubDate>Tue, 12 Oct 2010 17:02:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17404&amp;PID=60830&amp;title=column-click-how-to-trap-left-click-action#60830</guid>
  </item> 
  <item>
   <title><![CDATA[Column Click - how to trap left click action : Hi,  Use MouseDown event:  Private...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17404&amp;PID=60827&amp;title=column-click-how-to-trap-left-click-action#60827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17404<br /><strong>Posted:</strong> 12 October 2010 at 4:13pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Use MouseDown event:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_MouseDown(Button As Integer, Shift As Integer, x As Long, y As Long)<BR>&nbsp;&nbsp;&nbsp; Dim extremeColumn As XtremeReportControl.ReportColumn<BR>&nbsp;&nbsp;&nbsp; Set extremeColumn = Me.wndReportControl.HitTest(x, y).Column<BR>&nbsp;&nbsp;&nbsp;&nbsp;If extremeColumn.ItemIndex = 0 Then Call MyOwnCheckBoxFunction<BR></DIV><DIV>'or</DIV><DIV>&nbsp;&nbsp;&nbsp; If Me.wndReportControl.HitTest(x, y).Column.ItemIndex = 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call MyOwnCheckBoxFunction<BR>&nbsp;&nbsp;&nbsp; End If<BR></DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Some error handling should be added to above code just in case it fails somewhere <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Oct 2010 16:13:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17404&amp;PID=60827&amp;title=column-click-how-to-trap-left-click-action#60827</guid>
  </item> 
  <item>
   <title><![CDATA[Column Click - how to trap left click action : Hi all,I&amp;#039;d like to duplicate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17404&amp;PID=60799&amp;title=column-click-how-to-trap-left-click-action#60799</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6028">mstuart</a><br /><strong>Subject:</strong> 17404<br /><strong>Posted:</strong> 11 October 2010 at 7:49pm<br /><br />Hi all,<div>I'd like to duplicate the functionality of allowing the user to click on a Column, and set the Checkbox type rows to all checked. A lot of applications have this functionality, especially web apps like Yahoo Mail.</div><div><br></div><div>If the user clicks on the column heading, it toggles the Check box to all rows checked.</div><div>Clicking the Column heading again, unchecks the rows.</div><div><img src="uploads/6028/CheckedRecords.png" height="401" width="627" border="0" /><br></div><div><br></div><div>Q: how do I capture the left click of a column heading and know which column was clicked so it doesn't interfere with the sorting for other columns?</div><div>And then if it's the check box column, call a routine to toggle check the rows.</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 11 Oct 2010 19:49:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17404&amp;PID=60799&amp;title=column-click-how-to-trap-left-click-action#60799</guid>
  </item> 
 </channel>
</rss>