iLogic and System.Windows.Forms - allow to interact with Inventor GUI

iLogic and System.Windows.Forms - allow to interact with Inventor GUI

j.pavlicek
Collaborator Collaborator
1,009 Views
4 Replies
Message 1 of 5

iLogic and System.Windows.Forms - allow to interact with Inventor GUI

j.pavlicek
Collaborator
Collaborator

Hello,

is possible to let user interact with Inventor GUI when is System.Windows.Forms.Form displayed by iLogic? (By default, a form window is keeping focus in context of Inventor app.)

 

I think there is probably limitation - no GUI interaction with Inventor when iLogic is running, I'd like to be sure.

 

form-focus.gif

 

 



Inventor 2022, Windows 10 Pro
Sorry for bad English.
0 Likes
Accepted solutions (1)
1,010 Views
4 Replies
Replies (4)
Message 2 of 5

JelteDeJong
Mentor
Mentor
Accepted solution

How do you start the form? If i remember correct it can be done with Form.ShowDialog() that will block the thread but it can also be started with Form.Show() that will not bock the thread.

If that does not help you could start the form on a new thread.

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

Message 3 of 5

marcin_otręba
Advisor
Advisor

Set modal parameter to false :

marcin_otręba_2-1590387993249.png

 

 

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

Message 4 of 5

j.pavlicek
Collaborator
Collaborator

Thank you.

Form.Show()

 instead of

Form.ShowDialog()

does the trick! 



Inventor 2022, Windows 10 Pro
Sorry for bad English.
0 Likes
Message 5 of 5

j.pavlicek
Collaborator
Collaborator

Hi, thanks for reply.

Although your answer is not related to System.Windows.Forms, it's good to know it!



Inventor 2022, Windows 10 Pro
Sorry for bad English.
0 Likes