![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Clear Clip board contents Topic Summary: Created On: 6-Jul-2007 06:18 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
![]() |
|
![]() |
|
Is it possible that you are falling in the same trap as I did and are actually talking about the DXL output pane when you say clip board? If yes, the answer to your post is (or is not, as there actually is no way to programatically empty the output pane) here
Regards, Peter Edited: 6-Jul-2007 at 08:15 by Peter Albert |
|
![]() |
|
![]() |
|
There are three separate clipboards used by doors.
The hierarchy clipboard is used for items in the explorer. This clipboard can be cleared using clipClear(). The object clipboard is used for objects in a module. This clipboard can be cleared using clearClipboard(). The system (windows) clipboard is used for text and images. I don't know of a way to clear this. System call maybe? Hierarchy clipboard functions are clipClear, clipCopy, clipCut, clipLastOp, clipPaste, clipUndo. Object clipboard functions are cut, copyFlat, copyHier, pasteSame, pasteDown, clearClipboard, clipboardIsEmpty, clipboardIsTransient. DOORS formal module menu options use standard items clipCutItem, clipCopyFlatItem, clipCopyHierItem, clipPasteItem, clipPasteDownItem, clipClearItem. These automatically distinguish between and object operations and a text operations (i.e. you are editing some text) and perform the correct action. Don't bother trying to use callStdItem_(clipClearItem) to clear the system clipboard - it is not available. You can see this in the GUI. Unless there is an object on the clipboard, then Clear is greyed out. ------------------------- Tony Goodman http://www.smartdxl.com Edited: 6-Jul-2007 at 09:43 by Tony Goodman |
|
![]() |
|
![]() |
|
The system clipboard can be set by using:
setRichClip richText "" or copyToClipboard("") //for later versions of DOORS Edited: 11-Mar-2008 at 12:28 by ron lewis |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Clear Clip board contents
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.