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: Is it possible to add a button to run dxl in an object row?
Topic Summary:
Created On: 18-Feb-2004 04:23
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.
 18-Feb-2004 04:23
User is offline View Users Profile Print this message


Chris Snyder

Posts: 4
Joined: 29-Jan-2004

Hi All,

Is there a way to trigger dxl to run when a user performs an action in a object row (click on text, a button, anything)?

I want to run some dxl that will start an automation client to pass some current values to the automation server. I was trying to avoid the user having to go to a menu pick. My co-worker said he was in a demo where someone had such functionality working but I don't see how they could have done it. Maybe they embedded an ole object and he was mis-interpreting what he saw.

Any help is appreciated.

Thanks,
Chris
Report this to a Moderator Report this to a Moderator
 18-Feb-2004 14:31
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I'm sure I don't quite understand, but perhaps this helps: there is such a thing as an Object Sync trigger which fires when a new object is selected. I believe it actually fires when a new object becomes "current" which will happen when you scroll through the module.

There is NO Pre-Attr-Edit trigger that would fire when you START editing a value (such as clicking in the text), but there IS a Pre-Attr-Save trigger that fires after you modify an attribute and click somewhere else (this could be used to verify that the input is well-formed). IIRC, this trigger does NOT fire when using the Object Editor.

You could write a Menu Item and associate a hot-key to it. Deploy the DXL as per chapter "The DXL Library and Addins menus" in the DXL manual. In the associated *.idx file, the following line
MyDXL _ X AutoFireObjectEditor
will define "cntr-X" to run this DXL. So the user would click an object and type cntrl-X to run your DXL.

- Louie
Report this to a Moderator Report this to a Moderator
 19-Feb-2004 20:25
User is offline View Users Profile Print this message


Chris Snyder

Posts: 4
Joined: 29-Jan-2004

Thanks that is the answer I was looking for.
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.