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: Clear Clip board contents
Topic Summary:
Created On: 6-Jul-2007 06:18
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.
 6-Jul-2007 06:18
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

How to clear clip board contents . I have tried using functions like clearClipboard()  , clipClear([bool force]) but clip board contents are not cleared..

Report this to a Moderator Report this to a Moderator
 6-Jul-2007 08:11
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

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
Report this to a Moderator Report this to a Moderator
 6-Jul-2007 09:32
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 10-Mar-2008 18:47
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.