Re: Newbie needs help or euthanasia [message #6075] |
Sun, 31 March 1996 00:00 |
rivers
Messages: 228 Registered: March 1991
|
Senior Member |
|
|
In article <4jkfpk$15h@dub-news-svc-5.compuserve.com>, 100342.2606@compuserve.com (Alan Peeling) writes:
> Hi
>
> I've just come to IDL from C++ and Delphi and I'm finding it weird.
> I've been using the Widget Builder, and it has some dialog boxes for
> loading files. I thought it would be time-efficient to incorporate one
> of these boxes into my application, but when I tried I found the code
> spread over several subroutines and they didn't seem to like being
> transplanted. I used a whole day failing to implement a dialog box.
>
> I can't be the only soul in this position. Can anyone direct me to a
> stock of reusable IDL components, or to some document that could guide
> me in my endeavours,
The standard IDL library has a file selection widget routine, pickfile().
You can use it from any application (widget or non-widget). You don't
need to copy anything, just make sure the standard IDL library directory is
in your IDL path. If there are some special routines in the Widget Builder
which are not library routines, you could copy those into other directories in
your IDL path.
____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
|
|
|