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: color objects
Topic Summary:
Created On: 17-Sep-2004 19:03
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.
 17-Sep-2004 19:03
User is offline View Users Profile Print this message


SRINIVAS GANDHAM

Posts: 17
Joined: 2-Sep-2004

In a Formal Module how can I set the background color of a row based upon some object attribute (say color)?
Similary the object names need to be colored in the Left Hand TreeView of a formal module.

Also, the object background need to be colored in the graphic view of the formal module - by default the background is set to blue.

Thanks

Babu
Report this to a Moderator Report this to a Moderator
 22-Sep-2004 14:39
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Colorize rows:

You'll need an enumerated attribute ..err.. enumerated attribute TYPE defined such that each enumeration has its own specific "colors", and then have a single-enumerated attribute that uses that type. You don't need the attribute in the view. Go to the properties of a column in the view (such as the main column). At the bottom select Color By Attribute and select the colored attribute. That should colorize that column. if you want the whole row you'll need to adjust the properties of each column. Save the view.

Style note: light colors don't work so well for this purpose (e.g. yellow printing on white background doesn't show up so good).

Don't know about tree views nor graphics views, but suspect you cannot do it.

- Louie
Report this to a Moderator Report this to a Moderator
 31-Jan-2006 09:37
User is offline View Users Profile Print this message


Kristian Bøe

Posts: 29
Joined: 16-Jun-2003

This was just the thing I waas looking for. However, after experimenting a bit I found out a few things. If you make the attribute multi-valued the color is ignored even if there is just one value chosen. The strange thing then is taht you can still choose color by this attribute for the column! It would be great if you could use this with booleans. I guess Youjust have to make your own boolean enumerated type!

/K

-------------------------
Kristian Bøe
Extenda AB
Kristian.Boe@extenda.se
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.