<?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: ColorDialog in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3057590#M60546</link>
    <description>&lt;P&gt;thank you, it works perfect&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2011 05:28:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-06-14T05:28:52Z</dc:date>
    <item>
      <title>ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3054054#M60537</link>
      <description>&lt;P&gt;when i use Autodesk.AutoCAD.Windows.ColorDialog from a modeless form, the colordialog doesn't get focus, so you have to click twice to pick the color (the first click only sets focus to the dialog)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i put the same code in a command and run it from commandline, it gets focus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        Dim cd As New Autodesk.AutoCAD.Windows.ColorDialog
        If cd.ShowDialog &amp;lt;&amp;gt; Windows.Forms.DialogResult.OK Then Exit Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2011 06:05:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3054054#M60537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-10T06:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3055304#M60538</link>
      <description>&lt;P&gt;Hi, which version of AutoCAD are you using? I cannot see this behavior on 2012/Win7&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2011 20:48:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3055304#M60538</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2011-06-10T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3055520#M60539</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;myPalette.KeepFocus = False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim cd As New Autodesk.AutoCAD.Windows.ColorDialog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim dr as DialogResult = cd.ShowDialog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyPalette.KeepFocus = True&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&amp;nbsp;dr &amp;lt;&amp;gt; Windows.Forms.DialogResult.OK Then Exit Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hav'nt done any palette programming lately, but last time I did, you needed to manage the focus yourself for the palette.&amp;nbsp;Should be plenty of examples, just search on the 'KeepFocus'.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HomeBoy Out&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2011 03:31:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3055520#M60539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-11T03:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3055576#M60540</link>
      <description>&lt;P&gt;I&lt;/P&gt;&lt;P&gt;&amp;nbsp;have the exact same problem.&amp;nbsp; I am running Autocad 2011&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2011 06:43:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3055576#M60540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-11T06:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056176#M60541</link>
      <description>&lt;P&gt;to augusto: I'm using AutoCAD 2011, i will try it in 2012, but i don't have it installed here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to HomeBoy: I'm not opening the ColorDialog from palette, but from the Windows.Form&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 05:16:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056176#M60541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-13T05:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056534#M60542</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could not repro this here...I tried with modeless form using Application.ShowModelessDialog and Form.ShowDialog, but the ColorDialog is always working fine....if you manage to have a sample uploaded, I can take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HomeBoy: I believe the issue you´re talking is related to combo boxes on palettes, not the case here. Or do you have something different?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Augusto Goncalves&lt;/P&gt;
&lt;P&gt;Autodesk Developer Network&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 14:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056534#M60542</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2011-06-13T14:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056546#M60543</link>
      <description>&lt;P&gt;Augusto, are you trying to reproduce it on AutoCAD 2011?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i will extract the code from my project, so i can upload it&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 14:55:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056546#M60543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-13T14:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056630#M60544</link>
      <description>&lt;P&gt;i found out, that it works fine, when i open the ColorDialog d\from button.click event, but wrong, when i open it from imagebox.click event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can test it from the attached project&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 15:34:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056630#M60544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-13T15:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056848#M60545</link>
      <description>&lt;P&gt;I can see it now...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently there is a limitation with PictureBox: it cannot receive focus. It seems that this is causing the problem we see here, so I would suggest you use a flat button with no border, which is visually equal a picturebox, but can receive focus and work in this case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How that sounds?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 17:43:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3056848#M60545</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2011-06-13T17:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3057590#M60546</link>
      <description>&lt;P&gt;thank you, it works perfect&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2011 05:28:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3057590#M60546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-14T05:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: ColorDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3057648#M60547</link>
      <description>&lt;P&gt;****,&lt;/P&gt;&lt;P&gt;That won't help me, as I have 450 picture boxes calling a color pallete.&lt;/P&gt;&lt;P&gt;Thanks as well any way for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:53:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/colordialog/m-p/3057648#M60547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-14T07:53:04Z</dc:date>
    </item>
  </channel>
</rss>

