<?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 : Retrieve ParentControl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Retrieve ParentControl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 18:07:30 +0000</pubDate>
  <lastBuildDate>Wed, 04 May 2011 05:06: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=18299</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[Retrieve ParentControl :                 Hi, gibra,thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18299&amp;PID=64181&amp;title=retrieve-parentcontrol#64181</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6709">synectic</a><br /><strong>Subject:</strong> 18299<br /><strong>Posted:</strong> 04 May 2011 at 5:06am<br /><br />         <div ="msg">   Hi, gibra,<br><br>thanks for your reply. <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br><br>In Parameter-property i store a 'parameter' which holds the id of an object to be accessed when the button is clicked. The parent is supposed to store the last selected 'subcontrol' for quick access.<br><br>So there has to be another way to get the 'Parent-Button'. <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><br><br>Thanks and greetings from Berlin to Italy<br>Andreas<br></div>]]>
   </description>
   <pubDate>Wed, 04 May 2011 05:06:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18299&amp;PID=64181&amp;title=retrieve-parentcontrol#64181</guid>
  </item> 
  <item>
   <title><![CDATA[Retrieve ParentControl : You can use Parameter property...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18299&amp;PID=64178&amp;title=retrieve-parentcontrol#64178</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18299<br /><strong>Posted:</strong> 04 May 2011 at 4:36am<br /><br />You can use <strong>Parameter</strong> property to store the parent button, while add each button to Commandbar.<DIV>&nbsp;</DIV><DIV><U>From the help</U>:</DIV><DIV><strong>Parameter</strong> </DIV><DIV>Gets/Sets the parameter of the control.&nbsp; This is the equivalent to the "Tag" property.&nbsp; You can store any extra data needed for your program.</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></TD></DIV>]]>
   </description>
   <pubDate>Wed, 04 May 2011 04:36:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18299&amp;PID=64178&amp;title=retrieve-parentcontrol#64178</guid>
  </item> 
  <item>
   <title><![CDATA[Retrieve ParentControl :  EDIT: see belowHi there,i build...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18299&amp;PID=64140&amp;title=retrieve-parentcontrol#64140</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6709">synectic</a><br /><strong>Subject:</strong> 18299<br /><strong>Posted:</strong> 02 May 2011 at 10:00am<br /><br />EDIT: see below<br><br>Hi there,<br><br>i build my commandbars <b>dynamically</b>, so i don't know the ids or anything else. There are simple buttons and&nbsp; <b>popupsplitbuttons</b>.<br><br>It looks like this:<br><br>Button 1<br>Button 2<br>&nbsp; SubButton 1<br>&nbsp; SubButton 2<br>&nbsp; ...<br>Button 3<br>Button 4<br>...<br><br>So, if 'SubButton 2' is clicked, how can i retrieve its parent 'Button 2' to change the caption from 'button 2' into 'something else'?<br>I know how to get the commandbar 'Button 2', but i don't know how to get it as a control to manipulate its properties.<br><br>Thanks<br>Andreas<br><br><b>Why does the moderator not moderate?<br>I posted this reply 36 hours ago:<br></b><br>Hi, gibra,<br><br>thanks for your reply. <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br><br>In Parameter-property i store a 'parameter' which holds the id of an object to be accessed when the button is clicked. The parent is supposed to store the last selected 'subcontrol' for quick access.<br><br>So there has to be another way to get the 'Parent-Button'. <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><br><br>Thanks and greetings from Berlin to Italy<br>Andreas<br><br>]]>
   </description>
   <pubDate>Mon, 02 May 2011 10:00:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18299&amp;PID=64140&amp;title=retrieve-parentcontrol#64140</guid>
  </item> 
 </channel>
</rss>