Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Graphics--ProgressBar in GUIKit

  • To: mathgroup at
  • Subject: [mg66628] Re: Graphics--ProgressBar in GUIKit
  • From: "Ray Koopman" <koopman at>
  • Date: Wed, 24 May 2006 04:03:43 -0400 (EDT)
  • References: <e4tdq8$9n1$>
  • Sender: owner-wri-mathgroup at

photonub at wrote:
> Hi All,
> I have created a GUI which runs a rather time-consuming algorithm.  I have added a ProgressBar to my GUI, which should update at various points in the algorithm.  I am calling the ProgressBar from within the Script that runs the algorithm.
> While the algorithm is running, I am trying to update the ProgressBar 4 times (i.e. widgetName@SetPropertyValue[{"bar","value"}, 25];).
> The problem I am having is that the ProgressBar only displays the final "SetPropertyValue[]" in the script.  I have read that Script's are "HoldAllComplete".  Could this be what is causing the problem?
> If so (or if not), does anyone have any idea how I may solve this problem?
> Thanks,
> Bob
> Link to the forum page for this post:
> Posted through [[postId=10537]]

Why not use the system status line instead?

ShowStatus[s_String] := LinkWrite[$ParentLink, SetNotebookStatusLine[
                        FrontEnd`EvaluationNotebook[], s ]]

will display a long enough string to pass useful progress information.

  • Prev by Date: Re: How to write formatted number into a file
  • Next by Date: Re: Interval[{a,b}]-Interval[{a,b}] = 0?
  • Previous by thread: Graphics--ProgressBar in GUIKit
  • Next by thread: Re: Graphics--ProgressBar in GUIKit