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

Home » Public Forums » archive » Re: Misc. Bugs & Problems
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: Misc. Bugs & Problems [message #14382 is a reply to message #14381] Thu, 25 February 1999 00:00 Go to previous message
menakkis is currently offline  menakkis
Messages: 37
Registered: June 1998
Member
"Steve Scheele" <sscheele@scitor.com> wrote:
> ;********************
> Bug: Resizing a draw widget, flips vertical sliders up side down.
>
> Workaround: Pass an initial value to the slider - this workaround is
> apparently machine/OS dependent. It didn't work for me.

I think I have a genuine workaround for NT. Using IDL 5.2 / WinNT, with a
widget that contains a menu, draw widget and vertical slider the full height
of the draw widget... I initially create the slider with:
sl=widget_slider(b0,min=0L,max=10000L,val=10000L,/suppress,u val=2,/vert) When
handling the main widget's resize call, I find I have to do:
widget_control,sl,set_slider_max=0L,set_slider_min=10000L The astute reader
will notice that the min and max are now the reverse of what was used in the
creation call, and that seems to balance out whatever happened to the poor
thing during the resize. (Well, on NT at least.) I think it keeps on
working too (i.e., for any further resizes).

Peter Mason

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Can I make entries in CW_PDMENU insensitive?
Next Topic: Scanning Probe Microscopy

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

Current Time: Sun Oct 12 12:18:21 PDT 2025

Total time taken to generate the page: 1.99804 seconds