<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
<title>Minize or Dock VBA form</title>
<link>http://www.zwsoft.com/forum/viewthread.php?tid=2470</link>
<description>Is there any options available in ZWCAD to minimize or docking the VBA form?

Please respond as soon as possible.......</description>
<author>sathiyanathan</author>
<pubDate>2012-10-22 18:57:11</pubDate>
<item><link>http://www.zwsoft.com/forum/viewthread.php?tid=2470&amp;pid=16293</link>
<description>[b]Reply [url=http://www.zwsoft.com/forum/redirect.php?goto=findpost&amp;pid=16140&amp;ptid=2470]5#[/url] [i]sathiyanathan[/i] [/b]

Here's some VBA code that solves the problem. It was originally written for Excel but I have it working in ZWCAD 2011 &amp; 2012.The example form is modeless, sizeable and with or without a caption, icon, maximize, minimize and close buttons.
The Source I found at  [url=http://www.oaltd.co.uk/Excel/Default.htm]http://www.oaltd.co.uk/Excel/Default.htm[/url]  Under the heading &quot;VBA Programming&quot; and it is called FormFun.zip

Regards
Graham</description>
<author>GrahamM</author>
<pubDate>2012-11-20 21:40:20</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=2470&amp;pid=16140</link>
<description>Thanks Arphone....</description>
<author>sathiyanathan</author>
<pubDate>2012-10-24 19:27:35</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=2470&amp;pid=16138</link>
<description>[b]Reply [url=http://www.zwsoft.com/forum/redirect.php?goto=findpost&amp;pid=16135&amp;ptid=2470]3#[/url] [i]sathiyanathan[/i] [/b]


    Sub test()
      Dim form As New UserForm1
      form.Show False
    End Sub

And in the click event of the button on UserForm1:

Private Sub CommandButton1_Click()
    Me.Hide
    ThisDrawing.Utility.GetPoint
    Me.Show False
End Sub</description>
<author>pmf_zwcad</author>
<pubDate>2012-10-24 17:37:35</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=2470&amp;pid=16135</link>
<description>[i=s] Post Last Edit by sathiyanathan at 2012-10-24 12:01 [/i]

Dear Arphone
Thanks for your replay. But I am using ZWCAD 2010, So, I am not able to see source.Please send your code in text format.</description>
<author>sathiyanathan</author>
<pubDate>2012-10-24 12:00:09</pubDate>
</item><item><link>http://www.zwsoft.com/forum/viewthread.php?tid=2470&amp;pid=16131</link>
<description>VBA form can not be minimized or docked, but you can hide it when it is not needed at the moment. Please refer to following sample:
[attach]620[/attach]</description>
<author>pmf_zwcad</author>
<pubDate>2012-10-23 13:57:11</pubDate>
</item>  </channel>
</rss>