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

Home » Public Forums » archive » Re: progressbar update problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: progressbar update problem [message #68379 is a reply to message #68373] Thu, 29 October 2009 05:40 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lbusett@yahoo.it writes:

> I'm using David Fanning's progressbar procedure to show the
> advancement of a time-consuming routine, but I have a problem. The
> progressbar works ok, but since each cycle of the operation that I'm
> conducting take a couple of minutes to complete I have some problems
> in the "updating" of the window. The window infact upates itself only
> at the end of each cycle, and if I open a window "over" the progress
> bar and then close it then the progress bar window appears "blank"
> until the start of the next cycle. Moreover, and this is the worst
> problem, the "cancel" button of the progress bar does not work. I
> believe this is because IDL is busy at making "other things", and the
> program isn't able to catch the button press events.
>
> Does anyone know if there is a way to overcome this problem ?

I wonder if the IDL Bridge would help in this situation?
(IDL_IDLBridge object). The idea would be to run the progress
bar in a separate IDL process. I really have no idea if you
could communicate with the ProgressBar object over the bridge
in this way. But since it would be running in a separate IDL
process, it might solve the "update" problem. On the other
hand, it might also cause a world of problems on its own, so...

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_button on a IDLgrWindow in WINDOWS / UNIX
Next Topic: writing large 3D data file fails

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

Current Time: Sat Oct 11 14:10:57 PDT 2025

Total time taken to generate the page: 0.24081 seconds