- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor 2018 and Dockable Windows
The improvements to the behavior of dockable windows in Inventor 2018 are mostly welcome. There is one rather big issue though. Dockable windows that contain a winform as the child control are severely hampered because they are no longer resizable by the user when the window is undocked. You can get temporary control by switching to a dockable window containing a user control (i.e iLogic) and resizing that window. You can then resize the winform based dockable window as long as you have no interaction with the form itself.
Converting to user control as the child solves the resizing issue. However, a user control means there are all kinds of issues with the user interface when compared to using a windows form, mostly involving a large amount of work to fix navigation and keyboard issues.
Dockable windows with a winform child control worked without issue in at least the last four Inventor versions. Can we get this fixed?
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@GeorgK: DockableWindows Object
@nmunro: I've been working on an add-in that contains a DockableWindow with a child UserForm that displays textboxes for "Live" iProperties inside Inventor 2017; are you saying it doesn't work inside Inventor 2018** then or simply that it doesn't behave "normally" once undocked? I'm asking because I've also been investigating using a UserControl with little success.
I know @Boorda has a working example with a UserControl here; I wonder if he has had a chance to test it inside the new release yet?
**during what little I have used 2018 so far, I noticed a small bug with the way the built-in DockableWindows behave when you snap/(stack?) them to/on the edge of a monitor, but have yet to properly document/log it; when I've finished my current tranche of project work I'll stick a Screencast together showing the issue.
Alex Fielder
Inventor Expert
https://github.com/alexfielder/
LinkedIn - Github Inventor Extension Server - Bonkers polygon iLogic thing
Top ten iLogic Tips - API Shortcut In Google Chrome - Assembly Extrusion Example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey @AlexFielder, thanks for the mention. I haven't had a chance to play around in 2018 yet, but I will do so soon.
I'll run my example dockable window add-in in 2018 and see how it acts. I'm also still working on the WPF Add-in template I promised.
@nmunro what kind of issues are you experiencing with navigation and keyboard when using the UserControl?
Automation is key!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an issue with the dockable window in an Inventor Add-in. I have created a WPF user control inside windows Form and that works fine in Inventor 2017. Now, In 2018, I'm unable to write directly in text boxes. I can copy, paste and delete, but not to insert text directly from the keyboard.
Anybody have a solution to this issue?
Thanks,
Jaime Pacheco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found this and it worked:
https://stackoverflow.com/questions/706358/net-how-to-convert-a-windows-form-to-a-windows-control
Just open the .Designer.vb file and change the inheritance from 'Form' to 'UserControl' and fix the few errors that show up (for me it was commenting out the 'FormBorderStyle', 'ShowInTaskBar', and 'ShowIcon'). Totally worked great.
HTH - Lanny
