Tip of the Month (August 2004) Creating Spin Controls A "spin" control allows a user to either enter a numeric value or use "+" and "-" buttons to increment/decrement the current value by one. Here's how you can build "spin" controls on your form. A "spin" control is actually three controls that are working together:
Normally, a spin control would have these buttons to the right of the edit control, each button being half as high as the edit control, with the "-" button right above the "+" button. But, if you did this, it might make the buttons hard to press with the stylus. Consider putting the "-" button to the left of the edit control and the "+" button to the right of the edit control. |