Re: Status Window [message #40518] |
Fri, 13 August 2004 17:45  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
Lloyd Watkin wrote:
> Hi all,
>
> For my phd I'm updating some old f60 code to idl. Something I've been
> looking about for information on is how I can have a window where I
> can post status messages.
>
> In other words I'd like to divert all my print statments from the
> output log window to a window. This is because I hope to distribute
> the code with the IDL VM to other users when it's complete/nearly
> complete to see what features people would like added/improved.
>
> Any ideas on how I'd go about this. Preferrably I'd like to have
> something where I could use commands similar to:
>
> statuswindow, "Calculations Starting", /newline
> statuswindow, /resetwindow
>
> etc, and obviously I'd need it to remain "on top". If anyone could
> pass on any advice or point me in the right direction I would be very
> grateful.
I wrote something alone these lines when porting a console only IDL
program to the VM. It is basically a drop in replacement for PRINT with
some object setup and cleanup that you need to handle at the beginning
and end of program execution.
This is the spot where I would put the link to it but I'm just finishing
up a big server migration and all of our user webpages are offline. If
you are interested I can send you the file directly.
-Rick
|
|
|