draw widgets and programming [message #4528] |
Mon, 12 June 1995 00:00 |
charles
Messages: 5 Registered: June 1995
|
Junior Member |
|
|
Hi,
I'm currently trying to write a widget program using the widget
builder. I had no problem actually getting the template of the widget
made. What I'm having trouble with is connecting the program to the
widgets. Specifically, having a "button press" event wset to a draw
widget and then plotting some data. The widget *.pro contains the
lines:
COMMON DRAW5_Comm, DRAW5_Id
WIDGET_CONTROL, DRAW5, GET_VALUE=DRAW5_Id
when the button event is pressed I tried to
wset, DRAW5_Id
etc...
but that didn't work at all. IDL said that the variable "DRAW5_Id"
was undefined.
Does anyone know what the problem is?
-Charles Bartels
p.s. Thanks to everyone who told me where to find the "irafrd"
procedure. I tried to e-mail everyone who answered my question but
some of the mail bounced.
--
-Charles Bartels
|
|
|