Inventor captures the input from the custom Form

Inventor captures the input from the custom Form

arsenii_yavtushenko
Contributor Contributor
521 Views
4 Replies
Message 1 of 5

Inventor captures the input from the custom Form

arsenii_yavtushenko
Contributor
Contributor

Hello,

 

The issue is that each time I get to create a form with TextBox in it, Inventor keeps capturing the space and enter buttons, thereby opening the identical copy of the already opened form. I looked everywhere but wasn't able to find a solution.

 

I am using Visual Studio 2012 Express and Inventor 2016, creating the form as an addin (with dll and addin files, not as a separate program).

 

I would appreciate any help, thank you!

0 Likes
Accepted solutions (1)
522 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

Hi,

 

I don't understand your question really:

 

  • The issue is that each time I get to create a form with TextBox in it.
    Are you creating a new empty windows form each time or are you creating a custom form from your add-in?

 

  • Inventor keeps capturing the space and enter buttons. What do you mean with this?
  • thereby opening the identical copy of the already opened form. What do you mean with this?

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 5

arsenii_yavtushenko
Contributor
Contributor

Thanks for the answer!

I recorded a video of what I mean. Each time I press Space, the new form pops up. I think it is because Inventor captures the input, and the Space button repeats the last command..

0 Likes
Message 4 of 5

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Are you using:

Xform.show()
or
Xform.showdialog()

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 5

arsenii_yavtushenko
Contributor
Contributor

I have used Show() to show the form, after I've changed it to ShowDialog(), it all started to work properly!

 

Thank you very much!

0 Likes