Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: SPINEDIT - how to limit range?  (Read 7985 times)
Bryce S.
Posts: 52


« on: February 10, 2009, 02:56:46 am »

Hi,

I've just tried to use a spinedit for the first time.
I wanted the numbers 1 through 7 or a blank be allowed.
Is there a way to set these limits for the spinedit widget?

I tried an include statement, but this is ignored until leaving the field.
If I make the field blank spinedit changes it to zero on leaving the field, which is then not an acceptable value.

If it was never meant for this I guess I can use a combo box - it's just not as pretty in this particular situation... (is an input array with up to 7 lines of these - user is to set which lines they want and in what order by setting a number in the field or leaving it blank).

Regards,
  Bryce Stenberg.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines