![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Thanks that is the answer I was looking for.
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.