Forms display different in visual studio and when I call in inventor

Forms display different in visual studio and when I call in inventor

edson_luiz86
Enthusiast Enthusiast
191 Views
4 Replies
Message 1 of 5

Forms display different in visual studio and when I call in inventor

edson_luiz86
Enthusiast
Enthusiast

Hello everyone,

Anyone have this issue with windows forms, when I run directly in visual studio the forms is showed right, but when I call by inventor document, the forms is show in other resolution.
Forms directly from Visual Studio
20250411 - form from visual studio.png

 

Forms directly from inventor document

20250411 - form from inventor document.png

Sometimes, textboxes is hidden in flowPanels

Best regards,
Edson Luiz Candido

0 Likes
192 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

Has to do with the 4k resolution. Possibly inventor is still not 4k ready completely.

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

edson_luiz86
Enthusiast
Enthusiast

I have two screens, one with 1920x1080 (zoom 125%), other is 1280x1024 (zoom 100%)
i think the error is because zoom monitor, but I do not know to force windows form to not zoom it.

Best regards,
Edson Luiz Candido.

0 Likes
Message 4 of 5

marcin_otręba
Advisor
Advisor

take a look at autoscalemode property for your form.

 

marcin_otrba_0-1745397175267.png

 

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 5 of 5

edson_luiz86
Enthusiast
Enthusiast

I try to change the autoscale property to Dpi or None, but when I call the dll with form the form is rendered with some scale and some inputs was hidden, I solved this recalculating the flow panel height by count controls inside it and resize on form load. But this is a annoyng, so for the next project I will use WPF.

0 Likes