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

Home » Public Forums » archive » Problem with display of WIDGET_SLIDER max value
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem with display of WIDGET_SLIDER max value [message #25316] Mon, 28 May 2001 08:20
Richard Tyc is currently offline  Richard Tyc
Messages: 69
Registered: June 1999
Member
Has anyone else experienced this:

I use a slider widget originally set with the following properties:

wSliceSelSldr = WIDGET_SLIDER(wMBaseC2, VALUE=1, TITLE='Slice',$
UVALUE='wSliceSel',MAXIMUM=2,MINIMUM=1, $
/DRAG,XSIZE=256,FONT=fontid1)

Later in the code, as I add more slices to my draw widget, I need to update
the slider widget like:

WIDGET_CONTROL, (*pState).wSliceSelSldr, SET_SLIDER_MAX=3
WIDGET_CONTROL, (*pState).wSliceSelSldr, SET_VALUE=3

Minimum value stays at 1.

Problem is, as soon as I hit 10 for max value, the number displayed on the
screen is corrupted and you can hardly make it out.
It's as if the display size for the number was set originally based on max
value of 2, and now the widget does not allow the size of the number to
increase on the display ? Any workarounds

Rich
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: fit for gumble and weibull distributions
Next Topic: SPAWN command bug

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

Current Time: Wed Oct 08 16:49:39 PDT 2025

Total time taken to generate the page: 0.00491 seconds