Re: Dynamically adding and removing widgets [message #46544 is a reply to message #46471] |
Thu, 24 November 2005 02:26  |
Peter Clinch
Messages: 98 Registered: April 1996
|
Member |
|
|
akkiraju wrote:
> I am trying to build a GUI using IDL widgets. I am new to IDL
> widgets and I am following the conventional way. I followed the
> folowing steps
>
> 1. I used GUI builder to create a GUI window creation
<snip>
Other folk have answered the technical query better than I could, but
having just trod a very similar path (including falling foul of /NO_COPY
wiping state variables while trying to create modal dialogs) I can
sympathise.
However, beyond sympathy I can pass on the following advice, which I
have had here, and from both RSI UK and RSI Central tech support: do not
use the GUI builder aside from your very first steps in Widget
programming because it makes code that is a horror show (yes, that
sentiment came from RSI's own tech support people).
Thanks to the good folk here and at RSI and a fair bit of RTFM my first
widget program is now pretty much done and dusted (with modal dialogs
too!), I /almost/ know just what's going on, and the code is a *lot*
more understandable than the mince that came out of the code generator!
Pete.
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
|
|
|