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

Home » Public Forums » archive » Scrolling in draw widgets - newbie's question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Scrolling in draw widgets - newbie's question [message #31678] Tue, 13 August 2002 07:22 Go to previous message
Evgeny Turchin is currently offline  Evgeny Turchin
Messages: 12
Registered: August 2002
Junior Member
Hello, All !
Here's the text of my program:

base = WIDGET_BASE(XSIZE=650, YSIZE=400)
draw1 = WIDGET_DRAW(base, XSIZE = 550, X_SCROLL_SIZE=200, YSIZE = 550,
Y_SCROLL_SIZE=200, XOFFSET=5, /APP_SCROLL)
WIDGET_CONTROL, /REALIZE, base
WIDGET_CONTROL, draw1, GET_VALUE = index
WSET, index
ImageIsRead=DIALOG_READ_IMAGE(FILE=FileName, FILTER_TYPE='.tif, .tiff', $
IMAGE=PhotoArray)
TVSCL, PhotoArray

The image is successfuly loaded in the viewport but the scrolling does not
work. Does anybody know
how to solve the problem and create the widget where scrolling is possible
in graphic viewport?
I'm using IDL 5.4 for Win32.

Regards, Evgeny Turchin.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: duplicate .pro filenames
Next Topic: Blind Vigilantes

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

Current Time: Wed Oct 08 15:54:00 PDT 2025

Total time taken to generate the page: 0.00379 seconds