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

Home » Public Forums » archive » Re: get image from widget_draw
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: get image from widget_draw [message #54250 is a reply to message #54246] Fri, 01 June 2007 01:05 Go to previous messageGo to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
i saved image through TVRD function. Now i want output it to my
widget_draw. Use TVSCL (also try TV) procedure. My widget_draw become
full black color. in IDLDE i haven't any errors. so here is part of my
source code

PRO PIC_EVENT

WIDGET_CONTROL,pic,GET_VALUE=w_ID
WIDGET_CONTROL,event.id,GET_UVALUE=widget
WSET,w_ID
image=MAKE_ARRAY(3,600,400)
...

IF (widget EQ 'button_save') THEN BEGIN
image=TVRD(TRUE=1)
help,image
ENDIF

IF (widget EQ 'button_show') THEN BEGIN
TVSCL,image,TRUE=1
ENDIF
END
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget_text issue
Next Topic: auto-managed compound widgets

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

Current Time: Fri Oct 10 08:41:23 PDT 2025

Total time taken to generate the page: 0.16306 seconds