<?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 : combox pulldown list index</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : combox pulldown list index]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 15:27:21 +0000</pubDate>
  <lastBuildDate>Mon, 18 Aug 2008 13:42:21 +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=11845</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[combox pulldown list index : Hi, Thanks again for your reply,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=40034&amp;title=combox-pulldown-list-index#40034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4444">axdoverm</a><br /><strong>Subject:</strong> 11845<br /><strong>Posted:</strong> 18 August 2008 at 1:42pm<br /><br /><P>Hi,</P><P>Thanks again for your reply, tonight i will give it another try .... i will keep you informed. I hope someone at the support can take a look at it .... and i hope someone can show my the right way..</P><DIV>Greeting Andre<img src="http://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 13:42:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=40034&amp;title=combox-pulldown-list-index#40034</guid>
  </item> 
  <item>
   <title><![CDATA[combox pulldown list index : Hi,  Seems that it&amp;#039;s the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=40009&amp;title=combox-pulldown-list-index#40009</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11845<br /><strong>Posted:</strong> 18 August 2008 at 9:13am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Seems that it's the only way to get index of constraint.&nbsp;I guess we need&nbsp;an event:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_Constraint<strong>Selected</strong>(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Constraint As XtremeReportControl.IReportRecordItemConstraint)<BR>&nbsp;&nbsp;&nbsp; msgbox&nbsp;Constraint.Index<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>or in ValueChanged event reference of selected constraint <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;I will add it to my list and maybe a support member can take a look at this.</DIV><DIV>But if you need this you could use the code (above).</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 09:13:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=40009&amp;title=combox-pulldown-list-index#40009</guid>
  </item> 
  <item>
   <title><![CDATA[combox pulldown list index : Hi,  I tried your first solution:  Private...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39992&amp;title=combox-pulldown-list-index#39992</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4444">axdoverm</a><br /><strong>Subject:</strong> 11845<br /><strong>Posted:</strong> 18 August 2008 at 6:17am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I tried your first solution:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ReportControl1_ConstraintSelecting(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Constraint As XtremeReportControl.IReportRecordItemConstraint)<BR>&nbsp;<strong>MsgBox Constraint.Index<BR></strong>End Sub</DIV><DIV>&nbsp;</DIV><DIV>and i get back the right index. The ReportControl1_ConstraintSelecting<strong> </strong>event only fires when i change the selection with my keyboard, but not when i use the mouse to select the item in the list??</DIV><DIV>&nbsp;</DIV><DIV>So i tried the second solution but i receive a error : object variable or with block variable not set : Runtime Error 91</DIV><DIV>&nbsp;</DIV><DIV>I think i'm missing something&nbsp; <img src="http://forum.codejock.com/smileys/smiley29.gif" border="0">&nbsp;......</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 06:17:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39992&amp;title=combox-pulldown-list-index#39992</guid>
  </item> 
  <item>
   <title><![CDATA[combox pulldown list index : Hi,   I don&amp;#039;t know if there&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39983&amp;title=combox-pulldown-list-index#39983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11845<br /><strong>Posted:</strong> 18 August 2008 at 4:09am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I don't know if there's another way but you could loop constraints of item like this in ValueChanged event:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim itemConstraint As ReportRecordItemConstraint<BR>&nbsp;&nbsp;&nbsp; If Item.EditOptions.Constraints.Count &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each itemConstraint In Item.EditOptions.Constraints<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If itemConstraint.Caption = Item.Caption Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox itemConstraint.Index<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next itemConstraint<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>If your issue has been&nbsp;solved, please add&nbsp;SOLVED in your Topic description&nbsp;and have a look at post <a href="http://forum.codejock.com/forum_posts.asp?TID=11225" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=11225</A><BR><BR></DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 04:09:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39983&amp;title=combox-pulldown-list-index#39983</guid>
  </item> 
  <item>
   <title><![CDATA[combox pulldown list index : Hi Aaron,  I just got your message...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39975&amp;title=combox-pulldown-list-index#39975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4444">axdoverm</a><br /><strong>Subject:</strong> 11845<br /><strong>Posted:</strong> 18 August 2008 at 3:21am<br /><br />Hi Aaron,<DIV>&nbsp;</DIV><DIV>I just got your message and i wil give it later today a try .... i will keep je informed.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advandce <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 03:21:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39975&amp;title=combox-pulldown-list-index#39975</guid>
  </item> 
  <item>
   <title><![CDATA[combox pulldown list index : Hey too all your guys out there....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39931&amp;title=combox-pulldown-list-index#39931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4444">axdoverm</a><br /><strong>Subject:</strong> 11845<br /><strong>Posted:</strong> 16 August 2008 at 4:57am<br /><br />Hey too all your guys out there. I just start using te reportcontrol, witch is by the way a supertool ...... but i have a simple question. In my reportcontrol i have a combobox wich contains values. I understand how the get the caption (value) from the selection that the user made. But i need to know the index of the selected value so i can match this with a value in a other control.<DIV>&nbsp;</DIV><DIV>I hope someone can help me with this, because i spent the last 2 days searching for a solution ..... and i start too pullout my hair <img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Sat, 16 Aug 2008 04:57:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11845&amp;PID=39931&amp;title=combox-pulldown-list-index#39931</guid>
  </item> 
 </channel>
</rss>