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: Indeterminate Progress Bar
Topic Summary: A working example, it's not perfect
Created On: 9-Dec-2008 17:16
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.
 9-Dec-2008 17:16
User is offline View Users Profile Print this message


Dennis Lockshine

Posts: 113
Joined: 7-Apr-2003

As a side project, I've been working on setting up an indeterminate progress bar (barber pole, running status, etc) that can be used when the extent of a task is unknown. I'm posting it here because I can't resolve two sticking points, and it would be beneficial to the DOORS user community in general if these can be overcome.


My criteria are as follows:

1. It should look and act like the standard progress bar, using the same message placement, progress bar width, cancel button, and color scheme.

2. The DXL syntax and usage should be identical to the standard progress bar, omitting all references to a limit or position.


The issues I can not resolve are:

1. A DXL script must be added to the startupItems folder. This limits the usefulness of the progress bar.

2. While the progress bar is displayed and a DXL script is running, the remainder of the DOORS interface is unresponsive. The cancel button can not be pushed and the window can not be moved.


Attached to this post is a .zip file with the code and instructions.

All of the built-in function calls used for the standard progress bar are duplicated for the running progress bar, except for progressRange. The functions have been renamed and include runningCancelled, runningMessage, runningStart, runningStep, and runningStop. Use these the same as you would a standard progress bar, except omit the limit or position variables from runningStart and runningStep.

Hopefully someone in the DXL community will have new ideas on how to make this work.

Thanks,
Dennis

RunBar.zip
RunBar.zip  (2 KB)

Report this to a Moderator Report this to a Moderator
 9-Dec-2008 18:28
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Dennis why not just use the built in progress bar? Just go from 0 to the limit and reset it once you get there for as long as your script runs. I have done this.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 9-Dec-2008 19:48
User is offline View Users Profile Print this message


Dennis Lockshine

Posts: 113
Joined: 7-Apr-2003

David, I've taken that approach as well, but it can also be misleading if the user actually expects the task to complete when the bar reaches the limit. Having a 'barber pole' type animation would just look better in this case.
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.