![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Hidden Carriage Returns in Layout DXL Column? Topic Summary: Imported data displayed too low in the column. Created On: 18-Jan-2008 11:27 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Cheers Peter, You're right! I wrongly assumed if the attr in the target module was empty it wouldn't bother displaying anything. Now I check for != "" and all work fine! Cheers, Rob | |
![]() |
|
Hi All,
I've got several Layout DXL columns which 'pull in' attributes from a linked module. Some of the columns display perfectly but others have one or two carriage returns (or some other hidden formatting) before the data is shown. There seems to be no correlation between the type of data pulled in (Text, Enum) nor if I convert them to Attribute DXL. I've tried trimming the imported data with "displayRich s[2:]" etc. but this just trims the valid data itself, i.e. it is still shown too low down. The data appears perfectly in the source module and I've tried removing the "" in the displayRich a "" b type statements but all to no avail. Any idea what could be causing this? I could clean them up in a VB macro but this would be treating the symptoms not the disease. ![]() Cheers, Rob |
|
![]() |
|
![]() |
|
Are you creating your output with a series of 'display' statements? In that case it might be possible that you pull a few empty string values from the linked module, which will create in empty lines. Just check whether the string is empty before you 'display' it.
Regards, Peter |
|
![]() |
|
![]() |
|
Cheers Peter,
You're right! I wrongly assumed if the attr in the target module was empty it wouldn't bother displaying anything. Now I check for != "" and all work fine! Cheers, Rob |
|
![]() |
|
![]() |
|
Yes, 'display' and 'displayRich' always dump an EOL at the end, even when nothing is otherwise displayed.
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Hidden Carriage Returns in Layout DXL Column?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.