<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to convert a palette to  a usercontrol in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912331#M78656</link>
    <description>Thanks for the answer. So what's the purpose of Palette Collection? seems not much we can do with palette. Why Autocad expose this interface?</description>
    <pubDate>Mon, 12 Mar 2007 15:46:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-03-12T15:46:53Z</dc:date>
    <item>
      <title>How to convert a palette to  a usercontrol</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912329#M78654</link>
      <description>When creating a paletteset, I add a usercontrol  into paletteset like this:&lt;BR /&gt;
ps.add(myUserControl)&lt;BR /&gt;
&lt;BR /&gt;
then I want to change some setting of usercontrol after it's added, is there any way to reference the usercontrol like this:&lt;BR /&gt;
&lt;BR /&gt;
myUserControl=ctype(ps.item(0),myUserControl)</description>
      <pubDate>Mon, 12 Mar 2007 14:06:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912329#M78654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a palette to  a usercontrol</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912330#M78655</link>
      <description>no, but you can keep a reference to your&lt;BR /&gt;
user control somewhere and use it.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;HBHLM&gt; wrote in message news:5515285@discussion.autodesk.com...&lt;BR /&gt;
When creating a paletteset, I add a usercontrol  into paletteset like this:&lt;BR /&gt;
ps.add(myUserControl)&lt;BR /&gt;
&lt;BR /&gt;
then I want to change some setting of usercontrol after it's added, is there any way to reference the usercontrol like this:&lt;BR /&gt;
&lt;BR /&gt;
myUserControl=ctype(ps.item(0),myUserControl)&lt;/HBHLM&gt;</description>
      <pubDate>Mon, 12 Mar 2007 15:34:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912330#M78655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a palette to  a usercontrol</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912331#M78656</link>
      <description>Thanks for the answer. So what's the purpose of Palette Collection? seems not much we can do with palette. Why Autocad expose this interface?</description>
      <pubDate>Mon, 12 Mar 2007 15:46:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912331#M78656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a palette to  a usercontrol</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912332#M78657</link>
      <description>What's the purpose? &lt;BR /&gt;
&lt;BR /&gt;
To provide a way to reference palettes.&lt;BR /&gt;
&lt;BR /&gt;
All of the functionality is on the PaletteSet,&lt;BR /&gt;
not the Palette. &lt;BR /&gt;
&lt;BR /&gt;
If you need to associate palettes with the&lt;BR /&gt;
controls they host, that's easily done by&lt;BR /&gt;
just storing them in a hashtable.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;HBHLM&gt; wrote in message news:5515384@discussion.autodesk.com...&lt;BR /&gt;
Thanks for the answer. So what's the purpose of Palette Collection? seems not much we can do with palette. Why Autocad expose this interface?&lt;/HBHLM&gt;</description>
      <pubDate>Mon, 12 Mar 2007 16:49:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-convert-a-palette-to-a-usercontrol/m-p/1912332#M78657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-12T16:49:40Z</dc:date>
    </item>
  </channel>
</rss>

