<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Picture Controls</title><link>https://www.infopathdev.com:443/forums/thread/25230.aspx</link><pubDate>Wed, 19 Dec 2007 21:12:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25230</guid><dc:creator>hillro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25230</wfw:commentRss><description>&lt;p&gt;It would definetly be possible for me to use external links, as for writing the code I am going to take a look and see what I can figure out but any other help is welcome.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Picture Controls</title><link>https://www.infopathdev.com:443/forums/thread/25229.aspx</link><pubDate>Wed, 19 Dec 2007 21:09:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25229</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25229</wfw:commentRss><description>&lt;p&gt;Hey Robert,&lt;/p&gt;
&lt;p&gt;it is definitely possible but it will require you to write some code. You will need to implement the OnContextChange() method and change your picture on-the-fly based on the currently selected field.&lt;/p&gt;
&lt;p&gt;There are two types of picture controls&amp;nbsp;- one bound to a binary data stored in the form and one bound to an external&amp;nbsp;link. Doing what you want is much easier with an external link, you just need to maintain a list of image links and set it accordingly depending on what the currently selected field is.&lt;/p&gt;
&lt;p&gt;Unfortunately, I cannot provide a code example at this time, maybe somebody else would :)&lt;/p&gt;
&lt;p&gt;Good luck,&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Picture Controls</title><link>https://www.infopathdev.com:443/forums/thread/25226.aspx</link><pubDate>Wed, 19 Dec 2007 20:42:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25226</guid><dc:creator>hillro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=25226</wfw:commentRss><description>&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Hey,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I was just wondering if it is possible to create a picture control that would change to a different picture depending on which control you have selected in the form. I just want to know if this is possible and if it is any help would be appreciated.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Thanks,&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;
&lt;p&gt;Robert&lt;/p&gt;</description></item></channel></rss>