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

Home » Public Forums » archive » Re: Resizing object graphics on X
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: Resizing object graphics on X [message #22185 is a reply to message #22181] Wed, 25 October 2000 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dave Greenwood (greenwoodde@ornl.gov) writes:

> The solution came from one of those newsgroup-shy RSI folks (thanks JP).
> What I needed to do was to resize the draw *widget* instead of the draw
> *window*:
>
> drawid = widget_info(event.top, find_by_uname='drawwidget')
> widget_control, drawid, xsize = event.x, ysize = event.y
> info.oWindow->draw, info.oView

How come these newsgroup-shy folks don't fill me in?
They must take sadistic pleasure in watching the so-called
experts make fools of themselves. :-(

Anyway, I plan to spend the weekend updating all my programs
to work with IDL 5.4. I'll add this to the list of updates
that have to be made. (Anyone using IDLgrColorbar? That
doesn't work correctly anymore, either. RSI has updated
code if you need it.)

Cheers,

David

P.S. Anybody else discovering that writing platform-independent
code takes a LOT of work. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Double tickmark annotations
Next Topic: Double tickmark annotations

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

Current Time: Fri Oct 10 00:17:21 PDT 2025

Total time taken to generate the page: 1.04656 seconds