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: Positioning cursor in Text Box
Topic Summary:
Created On: 8-Jan-2007 21:41
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.
 8-Jan-2007 21:41
User is offline View Users Profile Print this message


Frank Lipski

Posts: 42
Joined: 6-Nov-2002

How does one go about positioning the cursor/location within a text DBE?

I have a text DBE and when I load the data into it via set (dbeText,tempData)
if there is more data than can be shown, I will get the scroll bar, but it is at the top of the text, would prefer to be looking at the data at the bottom of the scroll bar by default.

Thanks in advance

Frank
Report this to a Moderator Report this to a Moderator
 18-Jan-2008 11:29
User is offline View Users Profile Print this message


Bastian Könings

Posts: 5
Joined: 7-Aug-2007

I have the same problem here...
Does anyone know how to solve this?
Report this to a Moderator Report this to a Moderator
 18-Jan-2008 14:42
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

It doesn't appear there is a way to do this. There is a way to set the cursor position to the top of the text box. But not the reverse of that.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 21-Feb-2008 14:46
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

I have made an interesting discovery.

I am setting the contents of a richText box to show the Object Text.
I am using richTextWithOle() because I want to include pictures etc.
The scroll bar is set to the top of the box as expected.

Now, I append a plain string to the richText and set the box.
This time the scroll bar appears at the bottom.

The attached code demonstrates this behaviour.
Click on "apply4 and the scroll bar moves to the bottom.
Click on apply3 and the scroll bar moves tothe top.
The only difference in the callbacks is the addition of a string in the set command.
Please excuse the auto-generated GUI code.

This also happens with richText() if you surround the call to richText with parentheses.

-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 21-Feb-2008 at 14:54 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 21-Feb-2008 15:24
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

Is this behavior the same what DXL Help tries to describe as:

"If the blinking cursor appears at the end of the text in the box when it is displayed, append "" to the end of the rich text string before passing it to the perm."

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/

Edited: 21-Feb-2008 at 15:24 by Pekka Mäkinen
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.