Re: Max value set for slider is not actual max value in use.

2002-03-13 Thread Rasmus Hahn
On Tue, Mar 12, 2002 at 01:43:35PM -0800, Christian Seberino wrote: Your suggestion makes perfect sense to me. It seems like that *must* be what is wrong. Yet I checked my code and can't see it #define INI_N_MASSES 1 #define MIN_N_MASSES 1 #define MAX_N_MASSES 2048 #define

Re: Max value set for slider is not actual max value in use.

2002-03-13 Thread Christian Seberino
Rasmus I made pagesize be zero like you suggested and it fixed problem with max value. Thank you very much. With zero pagesize I can still drag slider, but, I cannot make it *jump* by clicking to right or left of it anymore. I lost this feature when I zeroed the page size. Scrollbars are nice

Max value set for slider is not actual max value in use.

2002-03-12 Thread Christian Seberino
If I make a slider for a value that goes from 0 to 2000, then leftmost value is 0 *BUT*, rightmost value is 1999!!! Why do I lose the last number? Chris -- === | Dr. Christian Seberino || (619) 553-7940 (office) | | SPAWARSYSCEN 2363

Re: Max value set for slider is not actual max value in use.

2002-03-12 Thread Valdis . Kletnieks
On Tue, 12 Mar 2002 12:58:16 PST, Christian Seberino [EMAIL PROTECTED] said: If I make a slider for a value that goes from 0 to 2000, then leftmost value is 0 *BUT*, rightmost value is 1999!!! Why do I lose the last number? Sounds like a fencepost error to me. Is it min 0 max 2000, or