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

Home » Public Forums » archive » Re: Source Code: A min/max compound widget
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: Source Code: A min/max compound widget [message #12934] Thu, 24 September 1998 00:00 Go to previous message
Doug Larson is currently offline  Doug Larson
Messages: 10
Registered: September 1998
Junior Member
<HTML>
<FONT FACE="Courier New,Courier">David Fanning wrote:</FONT>
<BLOCKQUOTE TYPE=CITE><FONT FACE="Courier New,Courier">Rose (rmlongfield@my-dejanews.com)
writes:</FONT><FONT FACE="Courier New,Courier"></FONT>

<P><FONT FACE="Courier New,Courier">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I am re-visiting the construction of compound widgets, having had not</FONT>
<BR><FONT FACE="Courier New,Courier">> so much success a few months ago
when first starting widgets.&nbsp; I'll probably</FONT>
<BR><FONT FACE="Courier New,Courier">> be studying your program to hopefully
get some ideas, in particular, the use</FONT>
<BR><FONT FACE="Courier New,Courier">> of PRO_SET_VALUE and FUNC_GET_VALUE
which are not very well documented. (Nor</FONT>
<BR><FONT FACE="Courier New,Courier">> can I find their use anywhere on
DWF's web page :(&nbsp; Dave seems to prefer</FONT>
<BR><FONT FACE="Courier New,Courier">> using a NotifyID keyword to pass
events and change things.</FONT><FONT FACE="Courier New,Courier"></FONT>

<P><FONT FACE="Courier New,Courier">No, no, no. In fact, these days, ALL
of my compound widgets</FONT>
<BR><FONT FACE="Courier New,Courier">are written as objects. The purpose
of the FUNC_GET_VALUE</FONT>
<BR><FONT FACE="Courier New,Courier">for these objects is to return the
"self" object, which</FONT>
<BR><FONT FACE="Courier New,Courier">I can then control by means of methods.
This makes it</FONT>
<BR><FONT FACE="Courier New,Courier">incredibly easy to manipulate the
internal widgets of</FONT>
<BR><FONT FACE="Courier New,Courier">a compound widget.</FONT><FONT FACE="Courier New,Courier"></FONT>

<P><FONT FACE="Courier New,Courier">I've been meaning to write an example
of this, but most</FONT>
<BR><FONT FACE="Courier New,Courier">of my real programs are too complex
for instructional</FONT>
<BR><FONT FACE="Courier New,Courier">programs, and I haven't had the time
to write a simple,</FONT>
<BR><FONT FACE="Courier New,Courier">but meaningful, example. I promise
to do it, but I really</FONT>
<BR><FONT FACE="Courier New,Courier">can't say when. :-)</FONT><FONT FACE="Courier New,Courier"></FONT>

<P><FONT FACE="Courier New,Courier">Cheers,</FONT><FONT FACE="Courier New,Courier"></FONT>

<P><FONT FACE="Courier New,Courier">David</FONT></BLOCKQUOTE>
<FONT FACE="Courier New,Courier">&nbsp;Hi,</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp; 1) The students are back
so our network is *really* screwed(up)</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; so
double posts may result so apologies in advance.</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp; 2) After watching&nbsp;
"South Park" last night I realized that I</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should
have made the widget do both float and integer, I</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; guess
since SP is in Colorado and David lives in Colorado</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I made
the connection ... :)</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp; 3) The extremely thin
IDL volume on Objects &amp; Graphics led me</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to
believe that I would be spending far too much time learning</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object
Oriented Programming without a net and not getting any</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; work
done.&nbsp; David's statement about "programs are too complex"</FONT>
<BR><FONT FACE="Courier New,Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seems
to justify my delay into OOP.</FONT>
<BR><FONT FACE="Courier New,Courier">Doug</FONT>
<PRE>--&nbsp;
Douglas J. Larson&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp; e-mail: djl@loki.srl.caltech.edu
Space Radiation Lab&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
California Institute of Technology
Mail Code: 220-47
Pasadena, CA 91125</PRE>
&nbsp;</HTML>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I introduce a 'Interrupt button' into an IDL loop.
Next Topic: Re: Complementary set.

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

Current Time: Wed Oct 08 19:17:53 PDT 2025

Total time taken to generate the page: 0.00529 seconds