SpinButton

H

hmartinez930

How would I add a spin button to a form. I want to have a button that will
increase and decrease numbers for a user. I don't see it in the controls
available, I added a custom control spinbutton but there is no way to add
anything in the properties.
 
G

Greg Collins

Did you add an ActiveX Control? Microsoft has several available, such as:
* Microsoft UpDown Control 6.0 (SP4)
* Microsoft Forms 2.0 SpinButton

Either of these work fine. When you add them, you specify a couple
parameters: Value and Enabled. Then you set the data type (I chose Whole
Number).

Add the control to your view, and then you will only see the double-arrow
control. Go to the data source, and drag the field it created into the view
in front of the arrow control.

Preview and you can click the buttons to incr/decr your value. Seems to only
work with values zero and up though.

If you need to change other parameters (like min/max values), extract your
form files to a folder and edit the XSL view. In there you will find <param>
tags for those other parameters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top