bowei zhang, got it I understand now. It is working just as I need it too.
One thing I noticed with the spin box. I have the font set pretty big so I can see it easily. when I tap the spin box and start to change the value whether I use input from the keyboard or use the arrows to change the value as soon as the spin box gets focus the font size reverts back to a smaller font making it real hard to see. Is there a way to stop this so the font size stays big? I included some pictures of my screen so you can see what I mean.
Thank you
David