• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help with a spinner

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A SWT spinner is giving me headaches
Users can manually edit the selected value, unfortunately this leads to a stupid situation where the selected value is larger than the maximum value of the spinner. In fact the value displayed does not correspond to the real value that is selected (which does not exceed the maximum). I have tried to manually set the real value or do a refresh but nothing seems to work.
If you have any clue how to solve this problem please let me know.
Thanks in advance!
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

manuela marginean wrote:A SWT spinner is giving me headaches
Users can manually edit the selected value, unfortunately this leads to a stupid situation where the selected value is larger than the maximum value of the spinner. In fact the value displayed does not correspond to the real value that is selected (which does not exceed the maximum). I have tried to manually set the real value or do a refresh but nothing seems to work.
If you have any clue how to solve this problem please let me know.
Thanks in advance!



You can define acceptable value (hardcore) or set range value of the spinner..
I hope this will help
 
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ramses, I think you missed the "SWT" part
 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Prime wrote:Ramses, I think you missed the "SWT" part



Hehehe... yups.. your right Rob... thanks for your correction.. I miss "SWT" part..
reply
    Bookmark Topic Watch Topic
  • New Topic