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: Use of differ?
Topic Summary: Anyone has an idea how to rewrite this code to display a column which shows the difference between 2 columns
Created On: 23-Nov-2006 09:59
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.
Answer This question was answered by Frank Löber, on Thursday, November 23, 2006 12:53 PM

Answer:
quote:

Originally posted by: Pekka Mäkinen
There's a undocumented Layout DXL function displayRichWithColor which allows you to display your rich text buffers with the defined colors displayed, it is used in a similar fashion as displayRich. As this is for Layout DXL, you can not use this in attribute DXL. For an example on building a column showing difference refer to the DXL Library script, which is (in DOORS 7.1 / 8.1) lib/dxl/example/histcol.dxl


Thanks Pekka, this works!! using a DXL Layout column shows the colors! excellent!
 23-Nov-2006 09:59
User is offline View Users Profile Print this message


Frank Löber

Posts: 4
Joined: 29-Mar-2006

Hi! I'm trying to rewrite this differ-example (see attached), to display the difference of 2 columns in another column; I have defined this display column as DXL, but now I need some assistance to rewrite the example... I managed to rewrite it that it shows the RichText differencee, but I would like to show the colors as well.... anyone?? thanks!

Cheers!
Rick
Report this to a Moderator Report this to a Moderator
 23-Nov-2006 10:06
User is offline View Users Profile Print this message


Frank Löber

Posts: 4
Joined: 29-Mar-2006

PS this is my current version of the Difference Column (DXL Attribute):

Report this to a Moderator Report this to a Moderator
 23-Nov-2006 12:08
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

There's a undocumented Layout DXL function displayRichWithColor which allows you to display your rich text buffers with the defined colors displayed, it is used in a similar fashion as displayRich. As this is for Layout DXL, you can not use this in attribute DXL.

For an example on building a column showing difference refer to the DXL Library script, which is (in DOORS 7.1 / 8.1) lib/dxl/example/histcol.dxl

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 23-Nov-2006 12:52
User is offline View Users Profile Print this message


Frank Löber

Posts: 4
Joined: 29-Mar-2006

Answer Answer
quote:

Originally posted by: Pekka Mäkinen
There's a undocumented Layout DXL function displayRichWithColor which allows you to display your rich text buffers with the defined colors displayed, it is used in a similar fashion as displayRich. As this is for Layout DXL, you can not use this in attribute DXL. For an example on building a column showing difference refer to the DXL Library script, which is (in DOORS 7.1 / 8.1) lib/dxl/example/histcol.dxl


Thanks Pekka, this works!! using a DXL Layout column shows the colors! excellent!
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.