![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: oleInsert for attributes? Topic Summary: Need to insert OLE object into object attribute Created On: 21-Jun-2006 20:13 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi, all.
The documentation for oleInsert states that it only inserts into the "Object Text" attribute. Is there an equivalent that can insert into an attribute of my choosing?
I suppose I could go ahead and insert the OLE item temporarily into a throwaway object, retrieve it as rich text with OLE, and then set my desired attribute to that value, but I was hoping for something a little more direct.
My thanks in advance for any ideas you might have.
--Ian
|
|
![]() |
|
![]() |
|
I also needed such a function. Only solution I developed was:
if (exists(attribute(atrName))) //if given attribute found { oleInsert(o, file, true) //place file 'nameCase' into object o as OLE object (visible as icon) oleCut(o) //cut previously inserted object to clipboard o.atrName = richClip //insert clipboard data (with OLE objects) to specified attribute in the same object clipClear(true) //clear clipboard } else print "Attribute "atrName" not found in module "fullName(m)"!\n" //print info Works nice. Dawid |
|
![]() |
|
![]() |
|
Hi
I am trying to travel across an out-link, copy the OLE object from an attribute in another module and paste it in an attribute for the object in the current module. I have tried several ways (using your code as a guide and starting point) but cannot get this to work. Do you have any suggestions? Thanks! |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
oleInsert for attributes?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.