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

Home » Public Forums » archive » Re: Status 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
Re: Status Window [message #40527 is a reply to message #40518] Fri, 13 August 2004 07:35 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lloyd Watkin writes:

> 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.

Well, if you changed your ideal commands to these:

statuswindow -> Newline, 'Calculations Starting'
statuswindow -> Reset

You might have a chance of making some progress. :-)

I would write this status window thing as an object-widget.
(Another way of thinking of this is a compound widget,
written as an object.) Then you could write it once
and use it in any of your programs. I have such a
thing in my Catalyst Library, and it works great.

Probably won't be able to write this code in the
GUI Builder, though. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: IDL with SRTM/hgt data
Next Topic: Re: IDL with SRTM/hgt data

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

Current Time: Sat Oct 11 08:03:38 PDT 2025

Total time taken to generate the page: 1.20247 seconds