ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythoncard
pythoncard
Re: [Pythoncard-users] Question about display
by Steve Holden other posts by this author
Jan 2 2003 10:53PM messages near this date
[Pythoncard-users] Question about display | RE: [Pythoncard-users] Question about display
Is it possible that "...process code..." takes such a short period of =
time that you don't see the text because it isn't displayed for long =
enough?

In that case a "fix" might be to include a time.sleep(5) before each =
setting of the text field's value :-)

regards
-----------------------------------------------------------------------
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Bring your musical instrument to PyCon!    http://www.python.org/pycon/
-----------------------------------------------------------------------
  ----- Original Message -----=20
  From: Jean-Marc Matline=20
  To: Pythoncard-Users@Lists. Sourceforge. Net=20
  Sent: Thursday, January 02, 2003 5:49 PM
  Subject: [Pythoncard-users] Question about display


  I want to display  a status message (textField1) to show the progress =
of my process.

  The process is initiated on runBtn_mouseClick

  =20

  class Unitest(model.Background):

  =20

      def on_openBackground(self, event):

          self.components.TextField1.text =3D 'Idle'

                 =20

      def on_runBtn_mouseClick(self, event):

          self.components.TextField1.text =3D 'Running'

         ..process code..

          self.components.TextField1.text =3D 'other status message'

         ..process code..

          self.components.TextField1.text =3D 'end of process'

  =20

  but only the last message is display 'end of process'

  How can display the intermediate messages ?

  =20

  Thanks for suggestions
Attachments:
unknown1

Thread:
Jean-Marc Matline
Steve Holden
Jean-Marc Matline
Kevin Altis
Kevin Altis

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved