<?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 : MaxLength and SpinButton Bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : MaxLength and SpinButton Bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 17:25:16 +0000</pubDate>
  <lastBuildDate>Sun, 22 Jun 2008 13:14:46 +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=10512</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[MaxLength and SpinButton Bug : The following properties will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=37184&amp;title=maxlength-and-spinbutton-bug#37184</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 10512<br /><strong>Posted:</strong> 22 June 2008 at 1:14pm<br /><br /><DIV>The following properties will be added in the next version:</DIV><DIV>&nbsp; ReportInplaceButton.SpinButtonMin;<BR>&nbsp; ReportInplaceButton.SpinButtonMax;<BR>&nbsp; ReportInplaceButton.SpinButtonStep;<BR></DIV><DIV>&nbsp;</DIV><DIV>Also InplaceEditChanging event will be sent when spin button pressed to allow you create custom conditions (for example different min/max for different rows).</DIV><DIV>ValueChanging and ValueCahnged will be sent in the end of cell editing (no for each spin button&nbsp;click).</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 22 Jun 2008 13:14:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=37184&amp;title=maxlength-and-spinbutton-bug#37184</guid>
  </item> 
  <item>
   <title><![CDATA[MaxLength and SpinButton Bug :  SpinButton.Max  SpinButton.Min That&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=35902&amp;title=maxlength-and-spinbutton-bug#35902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3128">Bernie</a><br /><strong>Subject:</strong> 10512<br /><strong>Posted:</strong> 28 May 2008 at 3:23am<br /><br /><UL><LI><FONT face="Courier New">SpinButton.Max</FONT> <LI><FONT face="Courier New">SpinButton.Min</FONT></LI></UL><P><FONT face="Courier New">That's what I wanted to say.</P><DIV>but unfortunately, current reportcontrol can't do this and we still don't know if this feature will be added in 12.0.1?</DIV></FONT>]]>
   </description>
   <pubDate>Wed, 28 May 2008 03:23:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=35902&amp;title=maxlength-and-spinbutton-bug#35902</guid>
  </item> 
  <item>
   <title><![CDATA[MaxLength and SpinButton Bug : Amazing answer!, im agree with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=35863&amp;title=maxlength-and-spinbutton-bug#35863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3987">braian87b</a><br /><strong>Subject:</strong> 10512<br /><strong>Posted:</strong> 27 May 2008 at 10:20am<br /><br />Amazing answer!, im agree with you, but sometimes is better write a little more and have the things made in the correct way.]]>
   </description>
   <pubDate>Tue, 27 May 2008 10:20:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=35863&amp;title=maxlength-and-spinbutton-bug#35863</guid>
  </item> 
  <item>
   <title><![CDATA[MaxLength and SpinButton Bug : Hi,  The definition of MaxLength...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=35346&amp;title=maxlength-and-spinbutton-bug#35346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10512<br /><strong>Posted:</strong> 17 May 2008 at 3:03am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>The definition of MaxLength Property (in the help) </DIV><DIV><H4 =dxh4><FONT color=#666666>Description</FONT></H4><P><FONT color=#666666>Gets\sets the maximum number of characters that can be entered when editing an item.</FONT></P><!--DX end --><!--DXMETADATA start type="PropertyAccessDescription" format="<H4 =dxh4>$$Property_Type$$</H4><P>%%PropertyAccessDescription%%</P>" --><!--DX end --></DIV><DIV>So, you can not use this property for the spinbutton value. Now, what do we want? Oh yes, adding a spinbutton. Let's look up the AddSpinButton method.</DIV><DIV>&nbsp;</DIV><H4 =dxh4><FONT color=#666666>Remarks</FONT></H4><P><FONT color=#666666>A spin control with two buttons is displayed and you can use this button to change the cell numeric value.&nbsp; You can use the </FONT><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeReportC&#111;ntrol~ReportC&#111;ntrol~InplaceButt&#111;nDown_EV.html" target="_blank">InplaceButtonDown</A>&nbsp;<FONT color=#666666>and</FONT> <a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeReportC&#111;ntrol~ReportC&#111;ntrol~ValueChanging_EV.html" target="_blank"><FONT color=#810081>ValueChanging</FONT></A>&nbsp;<FONT color=#666666>events to determine the new value and compare it to the old value to determine which button was pressed (up or down arrow).</FONT></P><DIV>&nbsp;</DIV><DIV>Oh thats wonderfull, I can actually check the value myself. Lets add these events...</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_InplaceButtonDown(ByVal Button As XtremeReportControl.IReportInplaceButton)<BR>&nbsp;&nbsp;&nbsp; ''Me.Caption = "InplaceButtonDown " &amp; Button.Item.Value<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_ValueChanged(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem)<BR>&nbsp;&nbsp;&nbsp; MsgBox&nbsp;"ValueChanged " &amp; Item.Value<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_ValueChanging(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, NewValue As Variant, Cancel As Boolean)<BR>&nbsp;&nbsp;&nbsp; MsgBox&nbsp;"ValueChanging " &amp; NewValue </DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Huhhhh ??? This doesn't work. The ValueChanging event is fired (just before ValueChanged) when the item looses focus. So <strong>now</strong> I can check the old value with the new value??? Its a little late for that... </DIV><DIV>&nbsp;</DIV><DIV>In the Remark: <FONT color=#999999>You can use the </FONT><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeReportC&#111;ntrol~ReportC&#111;ntrol~InplaceButt&#111;nDown_EV.html" target="_blank"><FONT color=#999999>InplaceButtonDown</FONT></A><FONT color=#999999>&nbsp;and </FONT><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeReportC&#111;ntrol~ReportC&#111;ntrol~ValueChanging_EV.html" target="_blank"><FONT color=#999999>ValueChanging</FONT></A><FONT color=#999999>&nbsp;events to determine the new value and compare it to the old value to determine </FONT><strong><FONT color=#666666>which button was pressed</strong> </FONT><FONT color=#999999>(up or down arrow).</FONT></DIV><DIV><FONT color=#666666></FONT>&nbsp;</DIV><DIV><FONT color=#000000>haaaaahahaha, thats very funny (</FONT><FONT color=#666666><strong>which button was pressed). </strong></FONT><FONT color=#000000>The new value is higher then the old value, oh yeah the button UP was pressed...<img src="https://forum.codejock.com/smileys/smiley18.gif" border="0">&nbsp;I am lost here. Lots of events but no solution.</FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Ok, stop joking, lets get serious. Why can't we have&nbsp;properties like the PropertyGrid spinbutton:</DIV><DIV><UL><LI><FONT face="Courier New">SpinButton.Max</FONT></LI><LI><FONT face="Courier New">SpinButton.Min</FONT></LI></UL></DIV><DIV>&nbsp;</DIV><DIV>It would be so much easier <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thanks&nbsp;</DIV><P><FONT face="Courier New, Courier, mono"></FONT>&nbsp;</P><FONT color=#666666></FONT>]]>
   </description>
   <pubDate>Sat, 17 May 2008 03:03:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=35346&amp;title=maxlength-and-spinbutton-bug#35346</guid>
  </item> 
  <item>
   <title><![CDATA[MaxLength and SpinButton Bug : 1. Set MaxLength = 3 2. Add a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=34736&amp;title=maxlength-and-spinbutton-bug#34736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3128">Bernie</a><br /><strong>Subject:</strong> 10512<br /><strong>Posted:</strong> 05 May 2008 at 8:22pm<br /><br /><P>1. Set MaxLength = 3</P><DIV>2. Add a spinbutton for a cell</DIV><DIV>&nbsp;</DIV><DIV>3. Add up the number using the spinbutton (of course, Up arrow)</DIV><DIV>&nbsp;</DIV><DIV>4. The increasing number will be more than the max number it should be. In this case is 999</DIV>]]>
   </description>
   <pubDate>Mon, 05 May 2008 20:22:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10512&amp;PID=34736&amp;title=maxlength-and-spinbutton-bug#34736</guid>
  </item> 
 </channel>
</rss>