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

Home » Public Forums » archive » Setting odd/even numbers and decimal places in ENVI widgets
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
Setting odd/even numbers and decimal places in ENVI widgets [message #65625] Sat, 14 March 2009 15:11
a.l.j.ford is currently offline  a.l.j.ford
Messages: 7
Registered: March 2009
Junior Member
I'm currently using widget_slider (and widget_sslider), but I need to
constrain them to only odd numbers (so I can set the kernel size for
processing later in my User Function). How does one make sure that
such widgets only return (and display) either odd or even numbers?

In a similar fashion I'm using cw_fslider and need to return numbers
with just one or two decimal places. How can I make sure the widget
only displays (and returns) numbers with such few decimal places?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: HistoPlot Bug ?
Next Topic: Re: Setting odd/even numbers and decimal places in ENVI widgets

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

Current Time: Sat Oct 11 15:00:11 PDT 2025

Total time taken to generate the page: 1.44104 seconds