<?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: inputbox with 3 buttion? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029310#M6178</link>
    <description>&lt;P&gt;Global forms seem like the way to go. I've never found a good enough reason not to just use the built in form/rule functionality. Although, people on here that know a lot more than me swear by add-ins.&lt;BR /&gt;&lt;BR /&gt;I had to add these two lines to attach the form to the above mentioned dockable window&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;
&lt;SPAN&gt;oDW&lt;/SPAN&gt;.&lt;SPAN&gt;AddChild&lt;/SPAN&gt;(&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Handle&lt;/SPAN&gt;.&lt;SPAN&gt;ToInt64&lt;/SPAN&gt;())&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 19:56:29 GMT</pubDate>
    <dc:creator>daltonNYAW9</dc:creator>
    <dc:date>2024-09-18T19:56:29Z</dc:date>
    <item>
      <title>inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13025584#M6172</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;myparam&lt;/SPAN&gt; = &lt;SPAN&gt;InputBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Prompt"&lt;/SPAN&gt;, &lt;SPAN&gt;"Title"&lt;/SPAN&gt;, &lt;SPAN&gt;"DD-MM-YYYY"&lt;/SPAN&gt;,&lt;SPAN&gt;MessageBoxDefaultButton&lt;/SPAN&gt;.&lt;SPAN&gt;Button1&lt;/SPAN&gt;)

&lt;SPAN&gt;oDate3&lt;/SPAN&gt; = &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;DateTime&lt;/SPAN&gt;(&lt;SPAN&gt;Right&lt;/SPAN&gt;(&lt;SPAN&gt;myparam&lt;/SPAN&gt;, 4), &lt;SPAN&gt;Mid&lt;/SPAN&gt;(&lt;SPAN&gt;myparam&lt;/SPAN&gt;, 4, 2), &lt;SPAN&gt;Left&lt;/SPAN&gt;(&lt;SPAN&gt;myparam&lt;/SPAN&gt;, 2), 0, 0, 1)	

&lt;/PRE&gt;&lt;P&gt;I have this code now&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would like to have make my code .. so I click ok&amp;nbsp; it will take the date enter in to inputbox like today 17-09-2024 (userinput)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if user click Cancel exis sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and a 3. buttom Call Full Review&amp;nbsp; then it should be like if the user have enter 01-01-2000 no matter what is in the inputbox&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;se this possible with Ilogic =&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:56:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13025584#M6172</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2024-09-17T10:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13025965#M6173</link>
      <description>you could create your own Inputbox with vb.net and than reference this .dll file to your i-logic code!</description>
      <pubDate>Tue, 17 Sep 2024 14:05:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13025965#M6173</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2024-09-17T14:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13026104#M6174</link>
      <description>&lt;P&gt;Heres an example&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'Imports System.Windows.Forms&lt;/SPAN&gt;
&lt;SPAN&gt;Class&lt;/SPAN&gt; &lt;SPAN&gt;UserSetsForm&lt;/SPAN&gt;
	&lt;SPAN&gt;Inherits&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Windows&lt;/SPAN&gt;.&lt;SPAN&gt;Forms&lt;/SPAN&gt;.&lt;SPAN&gt;Form&lt;/SPAN&gt;
	&lt;SPAN&gt;Private&lt;/SPAN&gt; &lt;SPAN&gt;WithEvents&lt;/SPAN&gt; &lt;SPAN&gt;oForm&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;Form&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Button1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;Button&lt;/SPAN&gt;()
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Button2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;Button&lt;/SPAN&gt;()
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Button3&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;Button&lt;/SPAN&gt;()
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;tb&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;TextBox&lt;/SPAN&gt;()
	&lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Main&lt;/SPAN&gt;
		&lt;SPAN&gt;oForm&lt;/SPAN&gt; = &lt;SPAN&gt;Me&lt;/SPAN&gt;
		&lt;SPAN&gt;With&lt;/SPAN&gt; &lt;SPAN&gt;oForm&lt;/SPAN&gt;
			&lt;SPAN&gt;' Set up form	&lt;/SPAN&gt;
			.&lt;SPAN&gt;FormBorderStyle&lt;/SPAN&gt; = &lt;SPAN&gt;FormBorderStyle&lt;/SPAN&gt;.&lt;SPAN&gt;FixedToolWindow&lt;/SPAN&gt;
			.&lt;SPAN&gt;StartPosition&lt;/SPAN&gt; = &lt;SPAN&gt;FormStartPosition&lt;/SPAN&gt;.&lt;SPAN&gt;CenterScreen&lt;/SPAN&gt;
			.&lt;SPAN&gt;Width&lt;/SPAN&gt; = 600
			.&lt;SPAN&gt;Height&lt;/SPAN&gt; = 200
			.&lt;SPAN&gt;TopMost&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
			.&lt;SPAN&gt;Text&lt;/SPAN&gt; = &lt;SPAN&gt;"Custom Form"&lt;/SPAN&gt;
			.&lt;SPAN&gt;Name&lt;/SPAN&gt; = &lt;SPAN&gt;"Custom Form"&lt;/SPAN&gt;
		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;With&lt;/SPAN&gt;

		&lt;SPAN&gt;With&lt;/SPAN&gt; &lt;SPAN&gt;Button1&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Font = myfnt&lt;/SPAN&gt;
			.&lt;SPAN&gt;Text&lt;/SPAN&gt; = &lt;SPAN&gt;"OK"&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Width = 100&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Height = 100&lt;/SPAN&gt;
			.&lt;SPAN&gt;Top&lt;/SPAN&gt; = 25
			.&lt;SPAN&gt;Left&lt;/SPAN&gt; = 25
			.&lt;SPAN&gt;Enabled&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;With&lt;/SPAN&gt;

		&lt;SPAN&gt;With&lt;/SPAN&gt; &lt;SPAN&gt;Button2&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Font = myfnt&lt;/SPAN&gt;
			.&lt;SPAN&gt;Text&lt;/SPAN&gt; = &lt;SPAN&gt;"Cancel"&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Width = 100&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Height = 100&lt;/SPAN&gt;
			.&lt;SPAN&gt;Top&lt;/SPAN&gt; = 25
			.&lt;SPAN&gt;Left&lt;/SPAN&gt; = 125
			.&lt;SPAN&gt;Enabled&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;With&lt;/SPAN&gt;

		&lt;SPAN&gt;With&lt;/SPAN&gt; &lt;SPAN&gt;Button3&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Font = myfnt&lt;/SPAN&gt;
			.&lt;SPAN&gt;Text&lt;/SPAN&gt; = &lt;SPAN&gt;"Button 3"&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Width = 100&lt;/SPAN&gt;
			&lt;SPAN&gt;'.Height = 100&lt;/SPAN&gt;
			.&lt;SPAN&gt;Top&lt;/SPAN&gt; = 25
			.&lt;SPAN&gt;Left&lt;/SPAN&gt; = 225
			.&lt;SPAN&gt;Enabled&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;With&lt;/SPAN&gt;

		
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;TextAlign&lt;/SPAN&gt; = &lt;SPAN&gt;HorizontalAlignment&lt;/SPAN&gt;.&lt;SPAN&gt;Right&lt;/SPAN&gt;
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;Height&lt;/SPAN&gt; = 20
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;Width&lt;/SPAN&gt; = 100
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;top&lt;/SPAN&gt; = 100
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;Left&lt;/SPAN&gt; = 100
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;Text&lt;/SPAN&gt; = &lt;SPAN&gt;"DD-MM-YYYY"&lt;/SPAN&gt;
		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Controls&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;tb&lt;/SPAN&gt;)

		&lt;SPAN&gt;'Add your Event handler&lt;/SPAN&gt;
		&lt;SPAN&gt;AddHandler&lt;/SPAN&gt; &lt;SPAN&gt;Button1&lt;/SPAN&gt;.&lt;SPAN&gt;Click&lt;/SPAN&gt;, &lt;SPAN&gt;AddressOf&lt;/SPAN&gt; &lt;SPAN&gt;Button1_Click&lt;/SPAN&gt;
		&lt;SPAN&gt;AddHandler&lt;/SPAN&gt; &lt;SPAN&gt;Button2&lt;/SPAN&gt;.&lt;SPAN&gt;Click&lt;/SPAN&gt;, &lt;SPAN&gt;AddressOf&lt;/SPAN&gt; &lt;SPAN&gt;Button2_Click&lt;/SPAN&gt;
		&lt;SPAN&gt;AddHandler&lt;/SPAN&gt; &lt;SPAN&gt;Button3&lt;/SPAN&gt;.&lt;SPAN&gt;Click&lt;/SPAN&gt;, &lt;SPAN&gt;AddressOf&lt;/SPAN&gt; &lt;SPAN&gt;Button3_Click&lt;/SPAN&gt;

		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Controls&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;Button1&lt;/SPAN&gt;)
		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Controls&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;Button2&lt;/SPAN&gt;)
		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Controls&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;Button3&lt;/SPAN&gt;)

		&lt;SPAN&gt;test&lt;/SPAN&gt; = &lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;ShowDialog&lt;/SPAN&gt;
		&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;test&lt;/SPAN&gt;.&lt;SPAN&gt;ToString&lt;/SPAN&gt;, &lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;text&lt;/SPAN&gt;)

	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;

	&lt;SPAN&gt;Private&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Button1_Click&lt;/SPAN&gt;(&lt;SPAN&gt;ByVal&lt;/SPAN&gt; &lt;SPAN&gt;sender&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Object&lt;/SPAN&gt;, &lt;SPAN&gt;ByVal&lt;/SPAN&gt; &lt;SPAN&gt;E&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;EventArgs&lt;/SPAN&gt;)
		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;dialogResult&lt;/SPAN&gt; = &lt;SPAN&gt;DialogResult&lt;/SPAN&gt;.&lt;SPAN&gt;OK&lt;/SPAN&gt;
		&lt;SPAN&gt;sender&lt;/SPAN&gt;.&lt;SPAN&gt;Parent&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;

	&lt;SPAN&gt;Private&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Button2_Click&lt;/SPAN&gt;(&lt;SPAN&gt;ByVal&lt;/SPAN&gt; &lt;SPAN&gt;sender&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Object&lt;/SPAN&gt;, &lt;SPAN&gt;ByVal&lt;/SPAN&gt; &lt;SPAN&gt;E&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;EventArgs&lt;/SPAN&gt;)
		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;dialogResult&lt;/SPAN&gt; = &lt;SPAN&gt;DialogResult&lt;/SPAN&gt;.&lt;SPAN&gt;Cancel&lt;/SPAN&gt;
		&lt;SPAN&gt;sender&lt;/SPAN&gt;.&lt;SPAN&gt;Parent&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;
	
	&lt;SPAN&gt;Private&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Button3_Click&lt;/SPAN&gt;(&lt;SPAN&gt;ByVal&lt;/SPAN&gt; &lt;SPAN&gt;sender&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Object&lt;/SPAN&gt;, &lt;SPAN&gt;ByVal&lt;/SPAN&gt; &lt;SPAN&gt;E&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;EventArgs&lt;/SPAN&gt;)
		&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;dialogResult&lt;/SPAN&gt; = &lt;SPAN&gt;DialogResult&lt;/SPAN&gt;.&lt;SPAN&gt;Cancel&lt;/SPAN&gt;
		&lt;SPAN&gt;sender&lt;/SPAN&gt;.&lt;SPAN&gt;Parent&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;
		&lt;SPAN&gt;tb&lt;/SPAN&gt;.&lt;SPAN&gt;Text&lt;/SPAN&gt; = &lt;SPAN&gt;"01-01-2000"&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;

&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Class&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Sep 2024 15:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13026104#M6174</guid>
      <dc:creator>daltonNYAW9</dc:creator>
      <dc:date>2024-09-17T15:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13027306#M6175</link>
      <description>&lt;P&gt;You clearly know some of this stuff .. maybe you could also help with this soo. I want to add some buttom that into this one ... each buttom run an ilogic code..&amp;nbsp; I have it as VBA today , but I would it it to this windows , because in the dock inside inventor&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; but have no idear how to add any buttom into it&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oUserInterfaceMgr As UserInterfaceManager
         oUserInterfaceMgr = ThisApplication.UserInterfaceManager

        ' Create a new dockable window
        Dim oWindow As DockableWindow
        oWindow = oUserInterfaceMgr.DockableWindows.Add("SampleClientId9", "TestWindowInternalName9", "Test Window9")

        ' Get the hwnd of the dialog to be added as a child
        ' CHANGE THIS VALUE!
        Dim hwnd As Long
        hwnd = 4851096

        ' Add the dialog as a child to the dockable window
        oWindow.AddChild(hwnd)' Her I would Like To add a UserControl Or Userfrom!!!!!

        ' Don't allow docking to top and bottom
        oWindow.DisabledDockingStates = DockingStateEnum.kDockTop And DockingStateEnum.kDockBottom

        ' Make the window visible
        oWindow.Visible = True&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 03:12:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13027306#M6175</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2024-09-18T03:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029010#M6176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5708980"&gt;@Darkforce_the_ilogic_guy&lt;/a&gt;.&amp;nbsp; I have used a trick to put various dialogs into a&amp;nbsp;DockableWindow before, but it is not usually a very good result.&amp;nbsp; There is a vb.net function that I include in my code that is used in the process to get the numerical handle of a dialog window by its 'caption'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal ClassName As String, ByVal WindowName As String) As Long&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That function separate from the 'Main' routine, and is called (used) within the 'Main' routing to get the handle of the dialog, by the caption of the dialog.&amp;nbsp; Then, once I have a reference to the DockableWindow I want to put it in, I specify that handle in the&amp;nbsp;AddChild method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used that trick to put simple internal or global iLogic forms into a DockableWindow, and have also put the parameters dialog into one.&amp;nbsp; Usually not the best way to go for any sort of long term solution, but simply shows what is possible.&amp;nbsp; The following is an example that shows a 'global' iLogic Form named "Basic Properties", then puts it into a DockableWindow.&amp;nbsp; I believe I posted this in another forum topic before, but lost the link to it.&amp;nbsp; It's not necessarily a 'new' process though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;'Imports System.Windows.Forms
Sub Main
	Dim sFormName As String = "Basic Properties"
	Dim sWindowInternalName As String = "Basic Properties" 'this MUST be unique
	Dim oDWs As Inventor.DockableWindows = ThisApplication.UserInterfaceManager.DockableWindows
	Dim iLogicClassIDString As String = "{3BDD8D79-2179-4B11-8A5A-257B1C0263AC}"
	Dim oDW As Inventor.DockableWindow = Nothing
	Try
		oDW = oDWs.Item(sFormName)
	Catch
		oDW = oDWs.Add(iLogicClassIDString, sFormName, sFormName)
		oDW.DisableCloseButton = False
		oDW.ShowVisibilityCheckBox = True
		'oDW.SetMinimumSize(100, 200)
		oDW.SetDockingState(DockingStateEnum.kDockLastKnown)
		oDW.Visible = True
	End Try
	Try : iLogicForm.CloseGlobal(sFormName) : Catch : End Try
	Dim oFRV As FormReturnValue = iLogicForm.ShowGlobal(sFormName, FormMode.NonModal)
	Dim oHandle As Long = FindWindow(vbNullString, sFormName)
	oDW.Clear 'remove previous form from window, if any
	oDW.AddChild(oHandle) 'add current form to the window
End Sub

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal ClassName As String, ByVal WindowName As String) As Long&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp; Found topic, adding link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-pin-open-form-window-to-the-interface/m-p/12259851/highlight/true#M158152" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-pin-open-form-window-to-the-interface/m-p/12259851/highlight/true#M158152&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several other discussions on this forum about pretty much the same thing though.&amp;nbsp; If you do a search on this forum, you will see several similar results, many of which have accepted solutions.&amp;nbsp; Not sure if any involve adding a VBA UserForm into an Inventor DockableWindow specifically though.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 17:38:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029010#M6176</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-09-18T17:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029044#M6177</link>
      <description>&lt;P&gt;"Buttons" in iLogic Global form:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iLogicGlobalForm-01.jpg" style="width: 225px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1410783i9278B3F34046869B/image-size/large?v=v2&amp;amp;px=999" role="button" title="iLogicGlobalForm-01.jpg" alt="iLogicGlobalForm-01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 17:41:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029044#M6177</guid>
      <dc:creator>Frederick_Law</dc:creator>
      <dc:date>2024-09-18T17:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029310#M6178</link>
      <description>&lt;P&gt;Global forms seem like the way to go. I've never found a good enough reason not to just use the built in form/rule functionality. Although, people on here that know a lot more than me swear by add-ins.&lt;BR /&gt;&lt;BR /&gt;I had to add these two lines to attach the form to the above mentioned dockable window&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;
&lt;SPAN&gt;oDW&lt;/SPAN&gt;.&lt;SPAN&gt;AddChild&lt;/SPAN&gt;(&lt;SPAN&gt;oForm&lt;/SPAN&gt;.&lt;SPAN&gt;Handle&lt;/SPAN&gt;.&lt;SPAN&gt;ToInt64&lt;/SPAN&gt;())&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 19:56:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13029310#M6178</guid>
      <dc:creator>daltonNYAW9</dc:creator>
      <dc:date>2024-09-18T19:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13038167#M6179</link>
      <description>&lt;P&gt;I don´t&amp;nbsp;&lt;SPAN&gt;Global forms&amp;nbsp; is the way to go unless it have been change sind the ealy version of inventor. or&amp;nbsp; there is a way to change how they work. Last time I try to use globol it Lock into the files the was active at the time I active the form ... the problem is that I want to keep the my form open and always run on the aktive document.. same time that I can work freely in inventor. I can do this with VBA but as far as I know&amp;nbsp; I can´t with globel form.&amp;nbsp; And I dont think globel form can dock in inventor(might be wrong it have been years sind i work with globol form). and I still need both&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 12:21:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13038167#M6179</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2024-09-23T12:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: inputbox with 3 buttion?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13038244#M6180</link>
      <description>&lt;P&gt;You are correct.&amp;nbsp; When we launch an iLogic global form, it will remain focused on the document that was 'active' when that form was first launched, even if you open other documents while it remains open.&amp;nbsp; So, if you 'need' to use a global iLogic form, but also 'need' it to shift its focus to another document, then you will need to close that global iLogic form, then show it again, while the document you want it to fucus on is currently the 'active' document in Inventor.&amp;nbsp; When using other types of forms, we have more control over them, and can force them to shift their focus from one document to another, when certain actions/events happen, while keeping the form open.&amp;nbsp; In the 2024 version of Inventor, we got the ability to 'Close' an iLogic Form that is currently open.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-949E4745-6FC2-43F5-99CE-DC7931D433BF" target="_blank" rel="noopener"&gt;iLogic Enhancements (What's New in 2024)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If we launched an iLogic Form to show with an iLogic rule, we can then also monitor for when, and how that form was closed, so that the same rule that launched it, can react appropriately to how the form was closed, if needed.&amp;nbsp; Most folks do not pay attention that the '&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=67522d3b-cdc7-b5cc-3375-eebf69a72a96" target="_blank" rel="noopener"&gt;iLogicForm.ShowGlobal&lt;/A&gt;' method is actually a Function, not just a Sub, so it actually returns something...a &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=4c1ce17b-4c4c-3a93-35c8-6c40a2f05cb8" target="_blank" rel="noopener"&gt;FormReturnValue&lt;/A&gt;.&amp;nbsp; That object has 2 properties...&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=a9e57cca-a972-4408-c8fa-66c624b4c81e" target="_blank" rel="noopener"&gt;Result&lt;/A&gt; &amp;amp; &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=6d181781-e229-2dfc-378c-33af72de4665" target="_blank" rel="noopener"&gt;RuleName&lt;/A&gt;.&amp;nbsp; The 'Result' property returns a &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=174b5395-73c1-2fca-679b-3ae437672f8e" target="_blank" rel="noopener"&gt;FormResult&lt;/A&gt;, which is a variation of an Enum which tells us how the form was closed.&amp;nbsp; The 'RuleName' property is a String, but only relevant when 'FormResult' was one of the two variations that involved an iLogic rule button getting clicked within the form, as the reason for the form closing, and tells us the name of the rule that got ran by the rule button involved.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 12:52:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inputbox-with-3-buttion/m-p/13038244#M6180</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-09-23T12:52:21Z</dc:date>
    </item>
  </channel>
</rss>

