I am creating my first component and need a bit of help.
My component is essentially a ruler with the minimum value
(left most number) and maximum value (right most number) defined in
the component inspector. This way the same ruler component can be
used to display 0 through 20, and 5 through 600. There are two
buttons- one increments up the ruler, and the other increments
down. A text field displays the current value along the ruler, and
updates as the user clicks an increment or decrement button.
The problem is that no matter what the minimum value is set
to, it always starts at 0. If I set it to 1 in the component
inspector, it starts at 0. I can then click on the increment
button; it gets up to 1, and will then not allow it to decrement
What do I need to do to force the text field to its minimum
value right away?