hi,
I want to use NSStepper with NSTextField and want to set some initial value in the NSTextField (let say 3).
I implemented code for this and set min and max value for stepper to 1 and 100 and increment value to 1.
I have set the initial value of NSTextField to 3.
I have one issue with this:
1. When first time, I clicked on stepper it randomly increments the value and afterward it works fine (increments value properly).
2. When I didn't set any initial value for NSTextField, it takes zero default.
Can anybody know how can I set initial value for stepper, so that it works fine.
thanks,
Anni
I want to use NSStepper with NSTextField and want to set some initial value in the NSTextField (let say 3).
I implemented code for this and set min and max value for stepper to 1 and 100 and increment value to 1.
I have set the initial value of NSTextField to 3.
I have one issue with this:
1. When first time, I clicked on stepper it randomly increments the value and afterward it works fine (increments value properly).
2. When I didn't set any initial value for NSTextField, it takes zero default.
Can anybody know how can I set initial value for stepper, so that it works fine.
thanks,
Anni