<?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 : Consistency of &quot;Cancel&quot; parameter in events</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : Consistency of &quot;Cancel&quot; parameter in events]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:24:16 +0000</pubDate>
  <lastBuildDate>Sat, 19 Mar 2011 22:52:25 +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=18063</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[Consistency of &quot;Cancel&quot; parameter in events :    Carlos Rocha wrote:   oleg...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63401&amp;title=consistency-of-cancel-parameter-in-events#63401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3743">Carlos Rocha</a><br /><strong>Subject:</strong> 18063<br /><strong>Posted:</strong> 19 March 2011 at 10:52pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Carlos Rocha" alt="Originally posted by Carlos Rocha" style="vertical-align: text-bottom;" /> <strong>Carlos Rocha wrote:</strong><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />still please try&nbsp;<span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">VARIANT_TRUE or&nbsp;</span>((VARIANT_BOOL)0xffff)</td></tr></table><div><br></div><div>I don't have that, but I will investigate.</div><div><br></div><div>Thanks</div></td></tr></table><div><br></div><div>It doesn't work. Besides, nothing works.&nbsp;</div><div>Visual Objects transforms the parameter in an internal type, named USUAL, with half the struct VARIANT size. I can't even cast it. I was able to create a Variant in my side and assign 0xfff to it, but I can't replace the parameter with it&nbsp;<img src="https://forum.codejock.com/smileys/smiley18.gif" border="0" alt="Ouch" title="Ouch" /></div><div><br></div><div>Maybe someday you'll define those Cancel as boolean&nbsp;<img src="http://forum.codejock.com/smileys/smiley14.gif" border="0" alt="Approve" title="Approve" /></div><div><br></div>]]>
   </description>
   <pubDate>Sat, 19 Mar 2011 22:52:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63401&amp;title=consistency-of-cancel-parameter-in-events#63401</guid>
  </item> 
  <item>
   <title><![CDATA[Consistency of &quot;Cancel&quot; parameter in events :    oleg wrote:still please tryVARIANT_TRUE...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63374&amp;title=consistency-of-cancel-parameter-in-events#63374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3743">Carlos Rocha</a><br /><strong>Subject:</strong> 18063<br /><strong>Posted:</strong> 17 March 2011 at 2:56pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />still please try&nbsp;<span ="apple-style-span"="" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">VARIANT_TRUE or&nbsp;</span>((VARIANT_BOOL)0xffff)</td></tr></table><div><br></div><div>I don't have that, but I will investigate.</div><div><br></div><div>Thanks</div>]]>
   </description>
   <pubDate>Thu, 17 Mar 2011 14:56:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63374&amp;title=consistency-of-cancel-parameter-in-events#63374</guid>
  </item> 
  <item>
   <title><![CDATA[Consistency of &quot;Cancel&quot; parameter in events : still please tryVARIANT_TRUE or((VARIANT_BOOL)0xffff)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63370&amp;title=consistency-of-cancel-parameter-in-events#63370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18063<br /><strong>Posted:</strong> 17 March 2011 at 8:30am<br /><br />still please try&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">VARIANT_TRUE or&nbsp;</span>((VARIANT_BOOL)0xffff)]]>
   </description>
   <pubDate>Thu, 17 Mar 2011 08:30:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63370&amp;title=consistency-of-cancel-parameter-in-events#63370</guid>
  </item> 
  <item>
   <title><![CDATA[Consistency of &quot;Cancel&quot; parameter in events : Thanks for replying so fastYes,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63367&amp;title=consistency-of-cancel-parameter-in-events#63367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3743">Carlos Rocha</a><br /><strong>Subject:</strong> 18063<br /><strong>Posted:</strong> 17 March 2011 at 6:56am<br /><br />Thanks for replying so fast<div><br></div><div>Yes, I'm sure the problem is in Visual Objects side as it doesn't support the VB variant type, but it's more or less common with non MS languages, I believe.</div><div><br></div><div>Still, unless there's a reason to not do so,&nbsp;it seems logical that the Cancel parameter should be always a boolean for product consistency, efficiency and performance.</div>]]>
   </description>
   <pubDate>Thu, 17 Mar 2011 06:56:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63367&amp;title=consistency-of-cancel-parameter-in-events#63367</guid>
  </item> 
  <item>
   <title><![CDATA[Consistency of &quot;Cancel&quot; parameter in events : Never triedVisual Objects, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63361&amp;title=consistency-of-cancel-parameter-in-events#63361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18063<br /><strong>Posted:</strong> 17 March 2011 at 2:20am<br /><br />Never tried&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Visual Objects, but maybe you need something Cancel = VARIANT_TRUE or something like that ?</span>]]>
   </description>
   <pubDate>Thu, 17 Mar 2011 02:20:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63361&amp;title=consistency-of-cancel-parameter-in-events#63361</guid>
  </item> 
  <item>
   <title><![CDATA[Consistency of &quot;Cancel&quot; parameter in events : Hi,In some CJ events there is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63353&amp;title=consistency-of-cancel-parameter-in-events#63353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3743">Carlos Rocha</a><br /><strong>Subject:</strong> 18063<br /><strong>Posted:</strong> 16 March 2011 at 12:40pm<br /><br />Hi,<div><br></div><div>In some CJ events there is a parameter, usualy called "Cancel", that allow us to cancel a operation.</div><div>This parameter is, in the majority of the cases, a boolean, but in some cases is a "Variant". When it happens the operation is never canceled when I change the parameter value to TRUE, and I need to wrap the control in VB6 to change the parameter type to boolean.&nbsp;<img src="http://forum.codejock.com/smileys/smiley24.gif" border="0" alt="Ermm" title="Ermm" /></div><div><br></div><div>I believe that there isn't a real reason to define the "Cancel" parameter as a Variant, and it's just a programmer decision at the moment.</div><div><br></div><div>There are only a few cases in just a few CJ Controls (KeyBindings, TabControl, TabToolbar, PropertyGrid, ReportControl and TrackControl). In all other cases the parameter is properly defined as a boolean.</div><div><br></div><div>As I don't think I'm the only one (potentially) having problems with this, do you think it's possible to change it in the future?</div><div><br></div><div>Thank you</div>]]>
   </description>
   <pubDate>Wed, 16 Mar 2011 12:40:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18063&amp;PID=63353&amp;title=consistency-of-cancel-parameter-in-events#63353</guid>
  </item> 
 </channel>
</rss>