<?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 : Can&#039;t set some properties in a user control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Can&#039;t set some properties in a user control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 01:08:40 +0000</pubDate>
  <lastBuildDate>Mon, 31 Mar 2008 01:54:12 +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=10002</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[Can&#039;t set some properties in a user control : Thanks Aaron.  I don&amp;#039;t want...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32841&amp;title=cant-set-some-properties-in-a-user-control#32841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3873">RedFin</a><br /><strong>Subject:</strong> 10002<br /><strong>Posted:</strong> 31 March 2008 at 1:54am<br /><br />Thanks Aaron.<br /><br />I don't want to change the style during the runtime of the app....what appears to be happening is that during <u>design time of the application</u>, the ActiveX component is actually in "runtime" and therefore, I can't change the style property that way - there are instances where I want the ActiveX control to display the constituent combo control using the different styles.<br /><br /><br />Cheers]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 01:54:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32841&amp;title=cant-set-some-properties-in-a-user-control#32841</guid>
  </item> 
  <item>
   <title><![CDATA[Can&#039;t set some properties in a user control : Rohan,   I think it&amp;#039;s not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32826&amp;title=cant-set-some-properties-in-a-user-control#32826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10002<br /><strong>Posted:</strong> 31 March 2008 at 12:40am<br /><br />Rohan, <DIV>&nbsp;</DIV><DIV>I think it's not possible to do this. Maybe the API gods will have mercy&nbsp;with you&nbsp;<img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;( I doubt that, I fell on my knees several times but no reponce on the other side)</DIV><DIV>&nbsp;</DIV><DIV>But why do you want to change the style during runtime?</DIV>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 00:40:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32826&amp;title=cant-set-some-properties-in-a-user-control#32826</guid>
  </item> 
  <item>
   <title><![CDATA[Can&#039;t set some properties in a user control : Hi Aaron,  Good call, you are...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32813&amp;title=cant-set-some-properties-in-a-user-control#32813</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3873">RedFin</a><br /><strong>Subject:</strong> 10002<br /><strong>Posted:</strong> 30 March 2008 at 5:00am<br /><br />Hi Aaron,<br /><br />Good call, you are exactly right.  If I place a combo box on a form and try to change its style property during runtime, I can't.<br /><br />So, this must mean that even in the IDE (VB6 by the way) for my application, the ActiveX control itself is in runtime and therefore my code above doesn't work.  Does anyone have any suggestions as to what I can do to get this to work?<br /><br /><br />Thanks,<br /><br />Rohan]]>
   </description>
   <pubDate>Sun, 30 Mar 2008 05:00:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32813&amp;title=cant-set-some-properties-in-a-user-control#32813</guid>
  </item> 
  <item>
   <title><![CDATA[Can&#039;t set some properties in a user control :  Hi,  Maybe they are ReadOnly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32812&amp;title=cant-set-some-properties-in-a-user-control#32812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10002<br /><strong>Posted:</strong> 30 March 2008 at 4:19am<br /><br /><DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Maybe they are <U><strong>ReadOnly</strong></U> properties and you cannot assign a value to it during runtime. Maybe CJ controls don't raise an error if you try to do this. If you try this with a MS control you will get an error: "Can't assign to a readonly property".</DIV><DIV>&nbsp;</DIV><DIV>This has nothing to do with, in your case, an activeX. Try to assign a value&nbsp;to the same property in a form and you will have the same problem.</DIV></DIV>]]>
   </description>
   <pubDate>Sun, 30 Mar 2008 04:19:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32812&amp;title=cant-set-some-properties-in-a-user-control#32812</guid>
  </item> 
  <item>
   <title><![CDATA[Can&#039;t set some properties in a user control : Hi,  I have created an ActiveX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32806&amp;title=cant-set-some-properties-in-a-user-control#32806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3873">RedFin</a><br /><strong>Subject:</strong> 10002<br /><strong>Posted:</strong> 29 March 2008 at 11:33pm<br /><br />Hi,<br /><br />I have created an ActiveX control for my application.  This ActiveX control has a CodeJock ComboBox and FlatEdit control on it.  I cannot change some of the properties of the ComboBox or FlatEdit controls.<br /><br />For example, my ActiveX control has the following property -<br /><br />Public Property Let ComboStyle(lComboStyle As ComboBoxStyle)<br />&nbsp;&nbsp;&nbsp;&nbsp;mlComboStyle = lComboStyle<br />&nbsp;&nbsp;&nbsp;&nbsp;Combo1.Style = mlComboStyle<br />&nbsp;&nbsp;&nbsp;&nbsp;PropertyChanged "ComboStyle"<br />End Property<br /><br />When I change the "ComboStyle" property in both design time or runtime, the ActiveX Control's property changes, but the Combo style does not.  If I put a break point on the "PropertyChanged" line, and then inspect the values of "Combo1.Style" and "mlComboStyle" I see that "Combo1.Style" is fixed on 2 (the default) and mlComboStyle is 0 (what I am trying to change it to).  <br /><br />I am having the same problem when changing the FlatEdit controls "MultiLine" property, using the same process.<br /><br />Does anyone have any ideas what I am doing wrong?  <br /><br /><br />Many thanks,<br /><br />Rohan]]>
   </description>
   <pubDate>Sat, 29 Mar 2008 23:33:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10002&amp;PID=32806&amp;title=cant-set-some-properties-in-a-user-control#32806</guid>
  </item> 
 </channel>
</rss>