21
VB and the development of wizards / Event Based Code
« on: June 05, 2006, 05:10:05 PM »
Hi
I'm writing a wizard to assist in calibrating the spindle. What I want to do is this :-
1) Have a 'start calibration' button that contains the main code
2) When you click this, the spindle starts and the spindle speed is incremented by an amount previously chosen by the user.
3) The user then measures the speed and enters it into a DRO.
4) The user then clicks a 'Next' button which stores the two values in an array, and then increments the spindle speed again
5) The procedure continues as above until the max speed is reached.
I've got some of it working. But I don't know how to implement the 'Next' button - any ideas greatly appreciated !
Cheers
Dave
I'm writing a wizard to assist in calibrating the spindle. What I want to do is this :-
1) Have a 'start calibration' button that contains the main code
2) When you click this, the spindle starts and the spindle speed is incremented by an amount previously chosen by the user.
3) The user then measures the speed and enters it into a DRO.
4) The user then clicks a 'Next' button which stores the two values in an array, and then increments the spindle speed again
5) The procedure continues as above until the max speed is reached.
I've got some of it working. But I don't know how to implement the 'Next' button - any ideas greatly appreciated !
Cheers
Dave