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: placement of text box elements in dialog box
Topic Summary: the placement of dialog boxes seem to differ from ne normal palcement
Created On: 15-Sep-2005 09: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.
Answer This question was answered by Antonio Norkus, on Thursday, September 15, 2005 12:18 PM

Answer:
I think that a "splitter" DBE will do the job for you...here's the example of its use from the DXL reference manual that shows a list and a tree view side-by-side.

 15-Sep-2005 09:03
User is offline View Users Profile Print this message


Thomas Diedrich

Posts: 8
Joined: 28-Apr-2005

Hello,
I am trying to do a attribute comparison. For this I would like to load two attributes into richText elements that are placed side by side not beneath each other. I tried the different ways described in the dxl-Manual but could not find a solution for this problem. Has this something to do with the richtText elements??
Actually, what I really would like to have is a dialogbox with this two richText elements side by side having the same size and filling out the dialog box. And resizing should resize the elements in it, too. I think someone here has to be stumbled on something like this.

Hendrik Preiss
Report this to a Moderator Report this to a Moderator
 15-Sep-2005 11:44
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

Answer Answer
I think that a "splitter" DBE will do the job for you...here's the example of its use from the DXL reference manual that shows a list and a tree view side-by-side.

Report this to a Moderator Report this to a Moderator
 15-Sep-2005 13:18
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

A slightly different approach.

The attached creates 2 richText boxes, side-by-side on the dialog.
When the dialog is resized the boxes expand/contract evenly.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 15-Sep-2005 23:21
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Dialog Element placement is a nightmare partly because some elements behave differently. In this case Text Elements are automatically connected to the right hand side of the box. So you need something like this:

dbeTextLeft = text(db, yaddy, Height, Width)
dbeTextLeft ->right ->unattached // Detaches right side so the next one can connect to the right
beside db
dbeTextRight = text(db, yaddy, Height, WidthDoesn'tMatter)
left db

I've been doing this for years and still struggle over each and every line of DBE placement code. Other problems with placement are [1] some placement origins are the DBE sides while others originate with the DBE's label [2] some placement relates to the left side while other's relate to the right.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.