![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Configuring DBE size, position and color Topic Summary: Created On: 24-Sep-2003 18:38 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I managed to make a "TAB" work, but it was a nightmare. I probably did something wrong, but I had WAY too much code to put a DBE in a TAB and place it correctly. IIRC, I had 10 lines of code including calls to 2 custom functions, for each DBE. Then I had to deal with the Hide/Show buttons...
The "Constrained placement" section at the end of the DB chapter will do the job. However, this section should be about 4 times as big as it is since [1] LOTS of information is missing, and [2] DBEs do NOT relate to each other consistently. Yes, you can define a "left" command, but who knows what the results will be. Some realities I've discovered are: [] You can override the entire "simple" placement by use of all 4 left/right/bottom/top commands. [] Some DBEs such as "text" automatically attached to left and right borders of the DB. Their "size" is ignored. To place them well you may need to issue a <dbe ->"right" ->"unattached"> command. [] When positioning relative to another DBE, sometimes the base is the LEFT side of that DBE and sometimes its the RIGHT side. Thus, "beside" or "below" or "spaced" can make for very unpredictable results. This is for the same reason that hot dogs come in packs of 10 and buns in packs of 8. [] Sometimes the DBE "label" is next to the DBE; sometimes its above it. If memory serves a field's is before which screws up placement. These DBEs I tend to precede with a "label". [] DXL does NOT detect circular placement orders (such as when A is relative to B, B relative to C, and C relative to A), but rudely aborts run-time without telling you why. I get around this by conceptualizing and defining the DBEs left-to-right and top-to-bottom, and only define placement orders for a DBE relative to a preceeding DBE. [] I don't know the difference between "spaced" and "flush". [] Draw your DB on a scratch pad first. [] Sometimes you may need to define a label DBE with no text in it, just to help move OTHER DBEs around. [] Its even worse trying to debug someone elses placements. I don't think I have EVER "designed" a non-trivial DB that worked the first time; and since I've designed about 200 that's saying something. Trial and error seemed to be the rule. If anybody ever DOES do so the first time ... don't tell me. There isn't anything you can do about it. The best you can do with rotton lemons is rotton lemonade. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Configuring DBE size, position and color
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.