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

Home » Public Forums » archive » Re: Demo of Shadows
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: Demo of Shadows [message #23532] Thu, 01 February 2001 13:37
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
"Jason P. Meyers" wrote:
>
> Finally, I was not able to create a work around for the little problem I
> discovered with the resize not working on sun IDL version 5.3. However,
> I did manage to track down the root of the problem. I discovered that
> the SetProperty method for IDLgrWindow does not set the dimensions
> property when called. (i.e. myWindow->SetProperty, Dimensions=[newX,
> newY] does nothing!) I would report this behavior to RSI; however, the
> type of student license I have requires that submit bugs/tech support
> questions through my school's computer admin folks. The folks at my
> school have stated that they do not support IDL 5.3 (only 5.2 and 5.4
> when the get around to installing 5.4). Ok, enough whining for now!

Is it not that old lil' bug where you had to directly set Widget_draw
dimensions to those obtained from the window's Resize event, and nothing
else seemed to help? I think *that* worked. Try something like

if tag_names(event, /STRUCTURE_NAME) EQ 'WIDGET_BASE' then begin
; Here, Widget_draw is the first Child of Top base...
widget_control, widget_info(event.id, /child), $
draw_xsize=event.x, draw_ysize=event.y
Object -> setProperty, /draw ; Redraw
return
endif

This was fixed in 5.4 I think.
Cheers,
Pavel
[Message index]
 
Read Message
Previous Topic: Demo of Shadows
Next Topic: Re: Execute and Call_function of complex things

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

Current Time: Thu Oct 09 16:22:40 PDT 2025

Total time taken to generate the page: 0.32050 seconds