how to make dockable window align below main browser exactly?

how to make dockable window align below main browser exactly?

liminma8458
Collaborator Collaborator
2,361 Views
21 Replies
Message 1 of 22

how to make dockable window align below main browser exactly?

liminma8458
Collaborator
Collaborator

Hi, all,

I want to create a dockable window which locates below and align exactly with the main browser, as shown in the picture, how can I define it?

liminma8458_0-1626704634238.png

I used code below, but it does not locate the dockable window as expected.

Dim selection_Wnd As DockableWindow
selection_Wnd = ThisApplication.UserInterfaceManager.DockableWindows.Add(m_ClientID, "selection_dock_Wnd", "Selection")
selection_Wnd.DisabledDockingStates = DockingStateEnum.kDockBottom
 'Create propertyGrid control
 oPropertyGrid = New PropertyGrid()
 'Add propertyGrid to dockable window
 selection_Wnd.AddChild(oPropertyGrid.Handle)
 selection_Wnd.Visible = True

 

Anyone can help?

 

Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily

0 Likes
Accepted solutions (1)
2,362 Views
21 Replies
Replies (21)
Message 21 of 22

bradeneuropeArthur
Mentor
Mentor
Accepted solution

I think that is default/normal behavior.

All other dockable windows need to be put (for the) first (time) below the other dockable.

after that it will remember it with "DockingStateEnum.kDockLastKnown"

 

 

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 22 of 22

liminma8458
Collaborator
Collaborator

Great! That is a practical solution.

Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily