Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: dedicated help
Topic Summary:
Created On: 25-Feb-2008 13:31
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Tony Goodman, on Monday, February 25, 2008 2:11 PM

Answer:
Launching help is easy, just use the following command:

helpOnEx(db, helpFile, index)

where db is a dialog box or dbExplorer. helpFile is the name of the CHM file and index is the page number in the help file (zero gives contents).

e.g:

helpOnEx(dbExplorer, "c:/helpFiles/myHelp.chm", 0)

You need to put this call in a dxl file so you can launch it from a menu.
Suggest you search forums for examples of how to do this, but essentially you have two choices:

The addins route. This is where you put your dxl files in addins folder and the menus are created automatically. See "The DXL Library and Addins menus" in the online help.

Config folders. You write scripts here that create the menus. You will find an example here Creating Menus.
 25-Feb-2008 13:31
User is offline View Users Profile Print this message


Karl Breuer

Posts: 66
Joined: 11-Jul-2005

I have converted our own user manual into a chm-file.
Now I would like to add a menu item to open that file, only the dxl reference does not give a clue.
Can anybody help?
Thanks in advance.
Karl
Report this to a Moderator Report this to a Moderator
 25-Feb-2008 13:41
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer Answer
Launching help is easy, just use the following command:

helpOnEx(db, helpFile, index)

where db is a dialog box or dbExplorer. helpFile is the name of the CHM file and index is the page number in the help file (zero gives contents).

e.g:

helpOnEx(dbExplorer, "c:/helpFiles/myHelp.chm", 0)

You need to put this call in a dxl file so you can launch it from a menu.
Suggest you search forums for examples of how to do this, but essentially you have two choices:

The addins route. This is where you put your dxl files in addins folder and the menus are created automatically. See "The DXL Library and Addins menus" in the online help.

Config folders. You write scripts here that create the menus. You will find an example here Creating Menus.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 25-Feb-2008 14:12
User is offline View Users Profile Print this message


Karl Breuer

Posts: 66
Joined: 11-Jul-2005

Thanks, Tony, that was exactly what I wanted.
I only did not know that it was that easy.

Thanks again
Karl
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.