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: Shortcut keys for Addin menu options?
Topic Summary: How to get Shift+Ctrl+ and Ctrl+Alt+ shorcuts?
Created On: 21-Nov-2008 20:01
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.
 21-Nov-2008 20:01
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

The DXL Manual decribes how to add Ctrl+key shortcuts to your addin menu options, as described below. Is there a way to get Shift+Ctrl+key and Ctrl+Alt+key shortcuts. For example, in the module windows, there is a built-in short cut for the menu option "Link -> Make Link From Start", (Shift+Ctrl+F).

Can you use similar Shift+Ctrl+ and Ctrl+Alt+ shortcuts in addin menus, or are you limited to simple Ctrl+ possibilities.

Each subdirectory within the addins directory can contain a menu index file with the same name as the directory but with a .idx extension. Each line of the menu index file must contain:

. DXL file or directory name, without extension

. mnemonic (character used with ALT to access menu from keyboard)

. accelerator (character used with CTRL to access menu from keyboard); an underscore means no accelerator

. menu label

A line containing only hyphens (-) (as in line 3 of the following example), inserts a separator within the menu.

Example
This example is the first four lines of file $DOORSHOME/dxl/addins/acme/acme.idx:

comps C _ Component book
template T _ Templates
---------------------------
parsers I _ Input parsers
Report this to a Moderator Report this to a Moderator
 21-Nov-2008 20:21
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

No experience on this but if you want to study how it works, look at the createItem function in DXL Help or "createItem" in this forum. It allows you to specify modifiers to the Ctrl-key.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
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.