Problem with save and VM [message #48632] |
Wed, 03 May 2006 05:14  |
MichaelT
Messages: 52 Registered: May 2006
|
Member |
|
|
Hi,
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?
Michael
|
|
|
Re: Problem with save and VM [message #48690 is a reply to message #48632] |
Fri, 05 May 2006 09:16  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
MichaelT writes:
> Oh, is that all... :-))
>
> Wouldn't have thought that could be the problem. I had never read the
> xmanager command had to be the last one...
I should probably re-write that blocking widget vs modal
widget article. I could probably replace it with a single
sentence. :^)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|