If tool of the program portion before the one i'm editing is lower than current tool number, allow user to change the tool number as low as same as the one of the portion before, or to 1 if there is no program portion before.
2 this portion can edit to 1
2
2
5 this can edit to 2
5
5
If tool of the program portion before the one i'm editing is lower than current tool number, allow user to change the tool number as low as same as the one of the portion before, or to 1 if there is no program portion before.
2 this portion can edit to 1
2
2
5 this can edit to 2
5
5
If tool of the program portion before the one i'm editing is lower than current tool number, allow user to change the tool number as low as same as the one of the portion before, or to 1 if there is no program portion before.
2 this portion can edit to 1
2
2
5 this can edit to 2
5
5