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

Home » Public Forums » archive » Why Output Keywords Fail in cgWindow
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Why Output Keywords Fail in cgWindow [message #85416] Thu, 01 August 2013 08:30 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I had a question this morning that had to do with why output keywords
fail to produce the correct output when the command they are used with
is added to cgWindow. I've answered this question before, but I was
surprised to find I had never written an article about it. I have now.

The answer has to do with the way IDL commands are "played back" when
the graphics window is resized. I use CALL_PROCEDURE to replay the
commands that have been loaded into cgWindow. Unfortunately,
CALL_PROCEDURE does not have a mechanism for returning output keywords.

You can find a description of the problem and a simple workaround in
this article:

http://www.idlcoyote.com/cg_tips/outkeyword.php

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Persistent environment variables (in DLM example)
Next Topic: IDL_IDLBridge: No gain?

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

Current Time: Mon Oct 13 02:37:49 PDT 2025

Total time taken to generate the page: 0.17237 seconds