comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » updating a value in a window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
updating a value in a window [message #42080] Thu, 16 December 2004 08:25 Go to previous message
Francois L. is currently offline  Francois L.
Messages: 19
Registered: December 2004
Junior Member
Hello,

I have a loop in which computation is performed. I want to display the
progress.
------------------------------------------------------------ ---------------------
tlb = Widget_Base(Column=1, TLB_Frame_Attr=1,title='Work in progress...')
text1 = widget_text(tlb, value='...... Percent completed ......',xsize=40)
x = 25
x = string(x) +' %'
text2 = widget_text(tlb, value=x)
CenterTLB, tlb
Widget_Control, tlb, /Realize
------------------------------------------------------------ ---------------------

How can I update the x value in the text2 widget while keeping the same top
level base ?
I know I should not call widget_control all over the loop but...

Thank you,

Fran�ois.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: updating a value in a window
Next Topic: reading f77_unformatted and writing it as ascii file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:16:12 PDT 2025

Total time taken to generate the page: 0.15065 seconds