ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
||||
|
||||
Dock a Custom GUI
Hi all,
A custom GUI can be docked like a dashboard or a perspective view by adding a tab window attribute node to it. The tab window number is 101 and a child node named OnDropWindow with the code given below have to be created inside tab window for docking. applicationcommand("dockwindow", i, c, eventcode); The attached is the sample model, which I tried. Please give your suggestions. Regards, Arun KR, CCS,India |
The Following 4 Users Say Thank You to arunkrmahadeva For This Useful Post: | ||
RalfGruber (08-03-2015) |
#2
|
|||
|
|||
Thank you! Arun KR
It works well. As a rookie, I still have some questions? 1. In your model, we can expand the object data of "Dashboard" and "Dashboard2" in a tree view. I can not expand the object data of any dashboard since Version7.0. I am so confused how did you make it? 2. How does the attribute "tab window" work? I have never see it in any GUI. Or why the OnDropWindow is under "tab window" instead of "eventfunctions". Any help would be appreciated. |
#3
|
||||
|
||||
Dear Jing,
Tha tab window attribute allows a window to combine with other tab windows. I don't know how the tab window attribute and OnDropWindow work internally. Regards, Arun KR, CCS, India |
The Following 2 Users Say Thank You to arunkrmahadeva For This Useful Post: | ||
Jörg Vogel (08-04-2015) |
#4
|
|||
|
|||
Dear Arun KR,
Thanks for your patience to explain, and I had found the tab window attribute in View:/active/MainPanel/BackPanel/SplitterXPane/QuickProperties and the number of it is 102 which allow Quick Properties can only be docked in another mode. In fact, I care more about the question 1. Could you give me a clue? |
#5
|
||||
|
||||
Dear Jing,
If you right click and explore the node structure you can see the child nodes. Regards, Arun KR |
The Following User Says Thank You to arunkrmahadeva For This Useful Post: | ||
Jing Chen (08-04-2015) |
Thread | Thread Starter | Forum | Replies | Last Post |
Custom GUI ? | Ang Frayd | Q&A | 0 | 05-13-2015 05:58 AM |
How to make a custom GUI | mearjun | Q&A | 8 | 07-29-2013 09:36 AM |
Why don't run the custom code | nie wuwei | Q&A | 6 | 09-01-2011 12:41 PM |
Does anyone have a dock crane? | Kenny Macleod | Q&A | 1 | 03-31-2011 07:35 PM |
Help getting started with a Cross-Dock!? | Sven Polz | Q&A | 2 | 09-15-2008 08:42 AM |