<?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 : Checkbox + AllowEdit (Strange Behavour)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Checkbox + AllowEdit (Strange Behavour)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 18:54:03 +0000</pubDate>
  <lastBuildDate>Wed, 16 Jun 2010 04:29:11 +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=16105</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[Checkbox + AllowEdit (Strange Behavour) : Just another way to do it, as...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=58968&amp;title=checkbox-allowedit-strange-behavour#58968</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5586">Michael S.</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 16 June 2010 at 4:29am<br /><br />Just another way to do it, as I just had the same problem. You can also set the column EditOptions like this:<br /><br />rcCol.EditOptions.AllowEdit = False<br /><br />This will also allow checkbox editing, but no text editing.]]>
   </description>
   <pubDate>Wed, 16 Jun 2010 04:29:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=58968&amp;title=checkbox-allowedit-strange-behavour#58968</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : Excellent. Thanks! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57096&amp;title=checkbox-allowedit-strange-behavour#57096</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2459">choochy</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 26 February 2010 at 6:21am<br /><br />Excellent. Thanks!]]>
   </description>
   <pubDate>Fri, 26 Feb 2010 06:21:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57096&amp;title=checkbox-allowedit-strange-behavour#57096</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) :     jpbro wrote:IMHO, I think...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57086&amp;title=checkbox-allowedit-strange-behavour#57086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 25 February 2010 at 7:57pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />IMHO, I think RequestEdit should only fire before the Edit box is going to be shown - that way you could still change the checkbox state, and prevent editing of the cell value by setting Cancel = True.<br></td></tr></table><br><br>Cancel = True will cancel any changes made in request edit, so that wont work.<br><br>I decided to add Item.CanEditCheckboxItem property to not break existing functionality.&nbsp; So incase someone actually wants to allow check box items to be edited they will be allowed to.<br><br>Set Item.CanEditCheckboxItem = False and you are good to go :)<br><br>**edit** I made False the default setting after checking an older version&nbsp; (12.1.1) and seeing that even with the item set to editable it would not display an edit control.<br>]]>
   </description>
   <pubDate>Thu, 25 Feb 2010 19:57:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57086&amp;title=checkbox-allowedit-strange-behavour#57086</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : Thanks for the responses guys....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57032&amp;title=checkbox-allowedit-strange-behavour#57032</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2459">choochy</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 6:30pm<br /><br />Thanks for the responses guys. Yes I have not seen this problem in previous releases either.<DIV>&nbsp;</DIV><DIV>While this is not a good work around, I was able to get what I wanted by setting ReportGrid.AllowEdit = False. Lucky for me the only editable items in my lists are checkboxes.</DIV><DIV>&nbsp;</DIV><DIV>I hope that this is fix soon.</DIV>]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 18:30:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57032&amp;title=checkbox-allowedit-strange-behavour#57032</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : Here&amp;#039;s a workaround if you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57031&amp;title=checkbox-allowedit-strange-behavour#57031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 4:12pm<br /><br />Here's a workaround if you are desperate for something until a proper fix is issued:<br><br>General section:<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Declare Function SendMessageLong Lib "user32.dll" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long<br>Private Const WM_CLOSE As Long = &amp;H10<br></pre></td></tr></table><br><br>Code (adjust for the name of your reportcontrol as required)<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub ReportControl1_BeginEdit(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem)<br>&nbsp;&nbsp; If Item.HasCheckbox Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Close the cell editor if item has a checkbox<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SendMessageLong Me.ReportControl1.InplaceEditHwnd, WM_CLOSE, 0, 0<br>&nbsp;&nbsp; End If<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 16:12:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57031&amp;title=checkbox-allowedit-strange-behavour#57031</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : IMHO, I think RequestEdit should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57030&amp;title=checkbox-allowedit-strange-behavour#57030</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 3:47pm<br /><br />IMHO, I think RequestEdit should only fire before the Edit box is going to be shown - that way you could still change the checkbox state, and prevent editing of the cell value by setting Cancel = True.<br><br>]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 15:47:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57030&amp;title=checkbox-allowedit-strange-behavour#57030</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : Hi,  I can&amp;#039;t find a workaround...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57027&amp;title=checkbox-allowedit-strange-behavour#57027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 2:27pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I can't find a workaround and it seems we need a fix for this before new release. </DIV><DIV>This was working OK in previous versions.</DIV><DIV>&nbsp;</DIV><DIV>Mark, please fix this for V14.0</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 14:27:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57027&amp;title=checkbox-allowedit-strange-behavour#57027</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : Okay, there is a RequestEdit event,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57025&amp;title=checkbox-allowedit-strange-behavour#57025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 11:47am<br /><br />Okay, there is a RequestEdit event, which fires before the edit window appears and allows you to cancel editing. Can you test for your column there and then set Cancel = True?]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 11:47:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57025&amp;title=checkbox-allowedit-strange-behavour#57025</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : If you set ReportControl.EditOnClick...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57024&amp;title=checkbox-allowedit-strange-behavour#57024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 11:42am<br /><br />If you set ReportControl.EditOnClick = False, does it still happen?<br><br>If you provide a small sample, I can experiment a bit to try and find a solution.<br><br>One thing I notice is that there is no CancelEdit or FinishEditing method like some other grids I use - this would be nice.<br><br>Even nicer would be a BeforeEdit(Cancel As Boolean) event that allows you to prevent editing based on any arbitrary conditions that you may have, but I don't see an event like this either.<br><br>]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 11:42:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57024&amp;title=checkbox-allowedit-strange-behavour#57024</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox + AllowEdit (Strange Behavour) : I am also interested in a way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57019&amp;title=checkbox-allowedit-strange-behavour#57019</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2355">@lin</a><br /><strong>Subject:</strong> 16105<br /><strong>Posted:</strong> 23 February 2010 at 11:19am<br /><br />I am also interested in a way to solve this issue. Any solution? (besides the one to use pictures emulating checkboxes instead of checkboxes)]]>
   </description>
   <pubDate>Tue, 23 Feb 2010 11:19:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16105&amp;PID=57019&amp;title=checkbox-allowedit-strange-behavour#57019</guid>
  </item> 
 </channel>
</rss>