![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Dialog box to allow selection of modules and external file names Topic Summary: Created On: 17-Apr-2008 16:32 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
Hi all,
I have what I hope is a simple topic, but having read through the General programming strategies for building complex dialog boxes thread, I'm not so sure. https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=9008 What I need to do is present a dialog (similar to the opening DOORS Database dialog) that allows the user to navigate the DOORS database and select a module, and then navigate Windows folders to select a text file. The names and locations of these items would then be used in dxl to open the modules and process the text file. I've seen some samples that allow simple user input into a form, but I'm currently drawing a blank on how to proceed. Hopefully someone can point me in the right direction and that direction won't involve the thread noted above. Many thanks in advance, david ------------------------- You never know where you're going 'til you get there |
|||
![]() |
|||
![]() |
|||
To navigate the DOORS database simlar to the the explorer you can use the treeView DBE. To navigate windows use the fileName dbe.
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|||
![]() |
|||
![]() |
|||
To navigate the DOORS database simlar to the the explorer you can use the treeView DBE. To navigate windows use the fileName dbe.
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|||
![]() |
|||
![]() |
|||
To navigate the DOORS database simlar to the the explorer you can use the treeView DBE. To navigate windows use the fileName dbe.
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|||
![]() |
|||
![]() |
|||
Thank you much.
I'll head down those paths and see what I can do. ------------------------- You never know where you're going 'til you get there |
|||
![]() |
|||
![]() |
|||
Sorry for the triple posts. Our network was in the process of taking a dive when I submitted.....
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|||
![]() |
|||
![]() |
|||
OK, up and running with the filename DBE. But treeView is apparently something else. I suspect that there is more to be done than merely calling the treeView function, because there doesn't seem to be any means of giving it a default location. When I run my code, the dialog opens, but is empty.
One other small curiosity; Main has calls to both dialogs, but only the first one opens. Once it closes the code is apparently done. So to check out both dialogs, I have to reverse the order of call (or comment out the one I don't want). Obviously I'm missing something here too. Please educate the slow learner ![]() ------------------------- You never know where you're going 'til you get there |
|||
![]() |
|||
![]() |
|||
Download my Create Link Sets for Module script over at Baselines, Inc. It has a decent example of how to use the treeView DBE in the createDialog method.
http://www.baselinesinc.com/?p...showpost&filepost_id=9 ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com Edited: 17-Apr-2008 at 21:35 by Scott Boisvert |
|||
![]() |
|||
![]() |
|||
Wholly Owned and Operated! Have a few on me
![]() ![]() ![]() If I can't get this now, I have no business trying. Thanks immensely. david ------------------------- You never know where you're going 'til you get there |
|||
![]() |
|||
![]() |
|||
Here you go. Mini Explorer that just requires you to call the function and pass it basic info.
Your call to the function would be miniExplorer(DB yourdialogbox, MINI_EXP_FORMAL_MODS) That will show you the tree view for the whole database.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 30-May-2008 at 13:05 by David Pechacek |
|||
![]() |
|||
![]() |
|||
Thanks David. You and Scott have saved me countless hours of frustration. Looks like I need to spring for another round
![]() ![]() ![]() ------------------------- You never know where you're going 'til you get there |
|||
![]() |
|||
![]() |
|||
Hi David,
We are using version 8.2 and the .inc files appear to be encrypted - I cannot read them in Notepad. When I work with the code miniExplorer(DB mydialogbox, MINI_EXP_FORMAL_MODS) referring to the miniExplorer.inc file in the standard/miniExplorer/inc folder, I get an error. After copying the miniExplorer.inc file you posted to another location, the function works OK when I refer to that location. Is this file different from the .inc file supplied by Telelogic? I could not compare as I cannot read the miniExplorer.inc file from the Program Files folder. Thanks in advance for any suggestion. - Krishna |
|||
![]() |
|||
![]() |
|||
The file posted by David is different from the Telelogic file.
miniExplorer() is intended as a replacement for the Telelogic supplied fnMiniExplorer() and in my opinion is much better. The original code is available here http://www.smartdxl.com/miniexplorer.html ------------------------- Tony Goodman Smart DXL limited www.smartdxl.com |
|||
![]() |
|||
![]() |
|||
Thank you Tony. I had forgotten where I got it from. I have properly attributed the file to you now.
And to the other David, if you're ever in Charleston, I'll take that drink. ![]() ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 30-May-2008 at 13:04 by David Pechacek |
|||
![]() |
|||
![]() |
|||
Thanks, Tony, for the file and the clarification.
Coming back to the .inc files supplied by Telelogic, are these files encrypted? Is there anyway to look in what they contain? - Krishna |
|||
![]() |
|||
![]() |
|||
Yes, much of the DXL supplied by Telelogic is encrypted.
Telelogic encrypts these files for very good reasons. If they suplied all the code unencrypted they would have to assume that customers had seen the files and were using calls to functions within them. This would prevent Telelogic from making changes to these scripts without fear of breaking their customers DXL. They supply enough unencrypted code and examples that you can use for inspriration. Even if you could look inside these files, I guarantee that you would not find anything of tremendous interest. ------------------------- Tony Goodman Smart DXL limited www.smartdxl.com |
|||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.