![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Listview question Topic Summary: Icons by user status Created On: 5-Aug-2008 11:52 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Douglas, Change the skip list so that it stores the user variable indexed by user name. Then check for the user's disabled property to determine which icon to use. | |
![]() |
|
I created a listview DB for the current DOORS user and i'm looking the way to specify the icons by user.
Example: if a user is disable i want the disable icon. If someone have a tip let me know. |
|
![]() |
|
![]() |
|
Check the DXL Reference manual for the standard Icons. If one you want isn't there, all the icons used by DOORS itself are in DOORSHOME\lib\icons. DOORSHOME being your DOORS install directory. You can manually load an Icon using
Icon i = load(string filename) ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Douglas,
Change the skip list so that it stores the user variable indexed by user name. Then check for the user's disabled property to determine which icon to use. ------------------------- Tony Goodman Smart DXL limited www.smartdxl.com |
|
![]() |
|
![]() |
|
Can you let me know what is the string key users. I know that users is the skip list but how this act in the script.
BTW Thank You very much this really help me a lot. i'm still a premie in this DXL stuff. |
|
![]() |
|
![]() |
|
The skip list called users contains the following
DATA = user KEY = name of the user When looping througha skip list, the loop variable is the DATA. You access the KEY of the current entry using "key <skip list>". The "string" is there to cast the key to a string (not sure if this is necessary, but I have always done it this way. // So loop through skip list. Sets u to each entry in the skip list in turn, ordered by the KEY value for u in users do { // get key of current entry uName = (string key users) } ------------------------- Tony Goodman Smart DXL limited www.smartdxl.com |
|
![]() |
|
![]() |
|
How can I refresh the same list to reflect the changes i've made?
Example: enabling a user. |
|
![]() |
|
![]() |
|
You'd have to either isolate the changes and then delete/readd each row or just empty the entire thing and then rebuild.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Listview question
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.