|
Percentage generated by onchange event: 50% |
Change any of the property values below(readonly toggles), then click outside box to see the change |
|
Watch this space |
Change any of the property values below(readonly toggles), then click outside box to see the change |
Properties | Methods |
Events | ||||
Name | Description | Default |
Name | Description |
Name | Description |
| id | name of the object - required for onclick events | Required | spinup | onclick event handler for up button | onchange | if assigned, fired when value changes |
| div | id of the DIV tag in which the control will be placed | id + 'div' | spindn | onclick event handler for down button | onspinup | if assigned, fired when up button clicked |
| readonly | if true text entry will not be allowed | false | spinchange | onchange event handler for text if not readonly | onspindown | if assigned, fired when down button clicked |
| min | minimum value | 0 | draw | redraw the control | ||
| max | maximum value | 100 | show | show properties - if speditdiv exists then creates editable table | ||
| step | increment | 1 | normalize | makes sure values are consistent, then refreshes spin edit and show | ||
| STEP | big increment (if non-zero - hold ctrl key to use) | 5 | ||||
| value | current value | 50 | ||||
| width | text width in pixels (btn width if notext) | 50 | ||||
| height | text font size in pixels | 18 | ||||
| align | alignment in text box or notext | right | ||||
| position | position of buttons | right | ||||
| color | normal bg color | #FFFFFF | ||||
| rocolor | readonly bg color | #E0E0E0 | ||||