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

Home » Public Forums » archive » Re: Problem with save and VM
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: Problem with save and VM [message #48631 is a reply to message #48630] Wed, 03 May 2006 06:07 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
MichaelT writes:

> I have come across a problem that I am not able to solve myself.
>
> I have programmed a GUI using widgets which runs fine under IDL 6.0. No
> problems. Then I exported it to a .sav file using "save, 'file.sav',
> /routines" after compiling and "resolve all", to distribute it to some
> other people.
> I tested the .sav and I always get the following error message:
> "The following error was encountered: WIDGET_CONTROL: Invalid widget
> identifier: 3.
>
> So obviously the program is not able to identify the widget that I try
> to use for drawing some initial figure. The same (with a different
> identifier) occurs with all other widgets.
>
> All that worked fine in a previous, less developed version of the
> program.
>
> What is going on? Can anybody help?

The most common reason widget programs fail in the VM is that
they rely on command line blocking instead of being written
as modal widgets. Thus, programs run through their blocks
and try to act with information that hasn't been collected
yet.

It is hard to tell if this is the problem here, but this
is where I would look first.

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL eps outpt converted to png for MS PowerPoint
Next Topic: Problem with save and VM

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

Current Time: Sun Oct 12 02:34:51 PDT 2025

Total time taken to generate the page: 1.28334 seconds