![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Customizing Menues Topic Summary: Created On: 8-Feb-2005 14:27 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: The following extract from formal.dxl creates the word exporter icon on the tool bar and associates it with a callback function. createItem ( null, null, null, null, wordIcon, "Export to Microsoft Word", "Export to Microsoft Word.", "", doorsHome "/lib/dxl/standard/export/office/word.dxl") You can insert your own callback function as follows: createItem ( null, null, null, null, wordIcon, "Export to Microsoft Word", "Export to Microsoft Word.", "", doorsHome "/myScripts/myWord.dxl") You will probably want to replace the callback on the file menu as well: createItem(alwaysOn, "Word...", 'W', null, modKeyCtrl, null, null, "Export the module to Microsoft Word.", null, doorsHome "/lib/dxl/standard/export/office/word.dxl") | |
![]() |
|
We want to customize our DOORS menu structure to satisfy the needs of different user groups. |
|
![]() |
|
![]() |
|
You will not be able to remove dbExplorer menus without editing the file in which they are created, i.e. baseWindowMenu.inc files.
------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thanks, Tony. Now how do I disable/dim a toolbar icon? We want our users to use our Word exporter instead of the built-in one.
TIA,
Ayman
------------------------- Ayman |
|
![]() |
|
![]() |
|
The following extract from formal.dxl creates the word exporter icon on the tool bar and associates it with a callback function.
createItem ( null, null, null, null, wordIcon, "Export to Microsoft Word", "Export to Microsoft Word.", "", doorsHome "/lib/dxl/standard/export/office/word.dxl") You can insert your own callback function as follows: createItem ( null, null, null, null, wordIcon, "Export to Microsoft Word", "Export to Microsoft Word.", "", doorsHome "/myScripts/myWord.dxl") You will probably want to replace the callback on the file menu as well: createItem(alwaysOn, "Word...", 'W', null, modKeyCtrl, null, null, "Export the module to Microsoft Word.", null, doorsHome "/lib/dxl/standard/export/office/word.dxl") ------------------------- Tony Goodman http://www.smartdxl.com Edited: 4-Mar-2005 at 13:11 by Tony Goodman |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Customizing Menues
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.